Jean-Jacques Hiblot
d4b722e3a8
drivers: gpio: Add a managed API to get a GPIO from the device-tree
...
Add managed functions to get a gpio from the devce-tree, based on a
property name (minus the '-gpios' suffix) and optionally an index.
When the device is unbound, the GPIO is automatically released and the
data structure is freed.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
2020-09-30 11:55:22 -04:00
..
2020-02-05 19:33:46 -07:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-08-22 08:51:44 -06:00
2020-07-25 14:46:57 -06:00
2018-05-07 09:34:12 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2019-12-15 08:52:29 +08:00
2017-02-08 16:24:29 -05:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-07-25 14:46:57 -06:00
2020-09-30 11:55:22 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-08-22 08:53:37 -06:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:18 -04:00
2020-07-29 10:37:11 -04:00
2020-08-20 09:46:55 +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-08-03 21:11:41 +02:00
2020-04-16 23:06:54 -04:00
2020-02-05 19:33:46 -07:00
2020-03-31 10:06:52 -04:00
2020-05-18 21:19:23 -04:00
2020-07-29 08:43:40 -04:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06: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-08-04 11:11:02 -04:00
2020-07-28 19:30:39 -06:00
2020-07-29 08:43:40 -04:00
2020-08-03 21:11:41 +02:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-02-05 19:33:46 -07:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-07-09 18:57:22 -06:00
2020-07-25 14:46:57 -06:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:23 -04:00
2020-07-25 14:46:57 -06:00
2020-02-05 19:33:46 -07:00
2020-07-07 16:01:23 +02:00
2020-07-25 14:46:57 -06:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2018-11-14 09:16:28 -08:00
2020-05-18 21:19:18 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00