Patrick Delaunay
d2c07e56ab
gpio: add ops to get dir flags
...
Add the ops for GPIO driver get_dir_flags(), allows to get dynamically
the current gpio configuration; it is used by the API function
dm_gpio_get_dir_flags().
When these optional ops are absent, the gpio uclass continues to use
the mandatory ops (direction_output, direction_input, get_value) and
value of desc->flags to manage only the main dir flags:
- GPIOD_IS_IN
- GPIOD_IS_OUT
- GPIOD_IS_OUT_ACTIVE
- GPIOD_ACTIVE_LOW
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2020-04-16 23:06:54 -04:00
..
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-02-25 16:07:36 +01:00
2020-02-05 19:33:46 -07: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
2019-04-12 17:32:51 +02:00
2020-02-07 14:01:21 -05:00
2020-02-05 19:33:46 -07:00
2019-12-15 08:52:29 +08:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-05-07 05:41:32 +02:00
2020-04-16 23:06:54 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-31 07:49:47 +03:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-02-04 12:54:55 +08:00
2018-05-07 09:34:12 -04:00
2020-03-31 10:06:52 -04: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-03-31 10:06:52 -04: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-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-11-18 16:02:22 +01:00
2018-05-07 09:34:12 -04: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-01-14 22:53:59 +01:00
2020-02-05 19:33:46 -07:00
2019-12-15 08:52:29 +08:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04: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
2019-10-08 13:57:39 +08:00
2019-05-01 00:00:05 +02:00
2018-05-07 09:34:12 -04:00
2020-04-16 23:06:54 -04:00
2020-02-05 19:33:46 -07:00
2019-10-18 09:04:01 +08:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-12-15 08:52:29 +08:00
2018-01-19 15:49:29 -05:00
2018-05-07 09:34:12 -04:00
2018-11-14 09:16:28 -08:00
2018-11-14 09:16:28 -08:00
2018-05-07 09:34:12 -04:00
2018-08-07 11:03:43 +02:00
2019-10-24 13:37:01 +02:00