Heiko Schocher
2bd261dd17
gpio: search for gpio label if gpio is not found through bank name
...
dm_gpio_lookup_name() searches for a gpio through
the bank name. But we have also gpio labels, and it
makes sense to search for a gpio also in the labels
we have defined, if no gpio is found through the
bank name definition.
This is useful for example if you have a wp pin on
different gpios on different board versions.
If dm_gpio_lookup_name() searches also for the gpio labels,
you can give the gpio an unique label name and search
for this label, and do not need to differ between
board revisions.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Don't enable by default]
Signed-off-by: Tom Rini <trini@konsulko.com>
2020-07-07 18:23:37 -04:00
..
2020-05-19 14:01:47 -04:00
2019-07-12 21:07:58 -04:00
2018-12-13 16:32:49 -07:00
2020-05-19 14:01:47 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-09-03 09:31:03 +08:00
2019-08-22 00:10:09 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2019-10-13 23:34:43 +02:00
2020-06-11 20:52:11 -06:00
2020-04-16 08:07:58 -06:00
2018-09-29 11:49:35 -06:00
2020-07-07 18:23:37 -04:00
2018-12-06 23:26:32 -05:00
2020-05-19 14:01:47 -04:00
2018-12-13 16:32:49 -07:00
2020-02-07 22:46:32 +08:00
2020-07-01 15:01:21 +08:00
2015-05-21 09:16:17 -04:00
2018-08-10 10:27:32 -04:00
2020-02-05 19:33:46 -07:00
2020-07-01 15:01:21 +08:00
2019-07-18 16:37:13 -05:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2020-05-18 17:33:33 -04:00
2019-07-05 14:19:41 +02:00
2020-05-18 21:19:18 -04:00
2020-04-16 23:06:54 -04:00
2020-05-19 14:01:47 -04:00
2019-12-15 11:44:11 +08:00
2018-10-09 04:40:27 -06:00
2019-02-20 15:27:08 +08:00
2019-07-11 10:05:15 -04:00
2019-10-08 13:57:43 +08:00
2020-05-18 21:19:18 -04:00
2019-12-15 11:44:11 +08:00
2018-05-18 08:27:26 +02:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-19 14:01:47 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-01 17:55:24 +05:30
2020-07-01 15:01:21 +08:00
2018-07-19 17:03:28 -04:00
2020-02-05 19:33:46 -07:00
2020-06-29 13:34:43 -04:00
2020-02-05 19:33:46 -07:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2018-12-05 06:01:34 -07:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-11 20:52:11 -06:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-06-11 20:52:11 -06:00
2020-05-18 21:19:18 -04:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00