commit | 695e5fd5469ab052126c4cb30c4d26e6058de067 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Mon Jan 13 11:35:06 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 16 23:06:54 2020 -0400 |
tree | 85acc875b91122d3580f81cacda829b9c21e9907 | |
parent | 9360bb06f1db4597b7d08ea95b48a17025a97618 [diff] |
gpio: update dir_flags management Update the flag management in GPIO uclass: the desc->flags is always combined with the requested flags and the GPIO descriptor is updated for further call. Add a function dm_gpio_get_dir_flags to get dynamically the current dir_flags (configuration and value). This patch prepare introduction of the dir flags support with new ops. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>