Files
u-boot-tk1-som/include
Simon Glass 96495d90fe dm: Add GPIO support and tests
Add driver model support for GPIOs. Since existing GPIO drivers do not use
driver model, this feature must be enabled by CONFIG_DM_GPIO. After all
GPO drivers are converted over we can perhaps remove this config.

Tests are provided for the sandbox implementation, and are a sufficient
sanity check for basic operation.

The GPIO uclass understands the concept of named banks of GPIOs, with each
GPIO device providing a single bank. Within each bank the GPIOs are numbered
using an offset from 0 to n-1. For example a bank named 'b' with 20
offsets will provide GPIOs named b0 to b19.

Anonymous GPIO banks are also supported, and are just numbered without any
prefix.

Each time a GPIO driver is added to the uclass, the GPIOs are renumbered
accordinging, so there is always a global GPIO numbering order.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Viktor Křivák <viktor.krivak@gmail.com>
Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
2014-03-04 12:15:30 -05:00
..
2013-04-01 16:33:52 -04:00
2014-03-04 12:15:29 -05:00
2013-04-01 16:33:52 -04:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2014-03-04 12:15:29 -05:00
2013-06-26 10:07:11 -04:00
2014-02-19 09:47:34 -05:00
2014-02-19 09:47:34 -05:00
2014-02-03 09:46:45 -07:00
2014-02-20 06:48:23 +01:00
2013-09-24 09:10:33 -04:00
2014-02-19 11:10:04 -05:00
2013-04-01 16:33:52 -04:00
2013-09-20 10:30:54 -04:00
2013-11-09 17:21:01 +01:00
2013-11-09 17:21:01 +01:00
2014-02-19 10:47:43 -05:00
2013-12-04 08:11:28 -05:00
2013-08-28 11:44:59 -04:00