Simon Glass
e5901c94e3
dm: gpio: Add a function to read an ID from a list of GPIOs
...
For board IDs a common approach is to set aside several GPIOs for use in
determining the board ID. This can provide information about board features
and the revision.
Add a function that turns a list of GPIOs into an integer by assigning
each GPIO to a single bit.
Signed-off-by: Simon Glass <sjg@chromium.org>
2014-11-21 07:24:11 +01:00
..
2013-11-04 16:50:46 +08:00
2013-07-24 09:44:38 -04:00
2014-05-27 00:10:45 +02:00
2014-10-23 19:30:51 -06:00
2013-07-24 09:44:38 -04:00
2012-09-01 14:58:19 +02:00
2014-11-21 07:24:11 +01:00
2014-10-23 19:45:28 -06:00
2014-10-23 21:43:09 -06:00
2014-02-22 19:30:27 +01:00
2014-10-25 07:02:01 -04:00
2014-07-28 10:12:45 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2014-10-23 19:30:51 -06:00
2013-11-13 10:09:09 +01:00
2014-10-23 19:30:50 -06:00
2013-08-16 13:45:15 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2014-10-23 19:30:51 -06:00
2014-10-23 19:29:52 -06:00
2012-08-08 10:24:41 +09:00
2014-07-04 21:37:29 +02:00
2014-11-05 13:09:58 +01:00
2013-11-08 09:39:13 -05:00
2013-07-30 09:21:42 -04:00
2014-10-23 19:29:53 -06:00
2013-07-24 09:44:38 -04:00