[PATCH v3 12/21] gpio: update dir_flags management

Tom Rini trini at konsulko.com
Fri Apr 17 23:06:52 CEST 2020


On Mon, Jan 13, 2020 at 11:35:06AM +0100, Patrick Delaunay wrote:

> 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 at st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200417/fe58755f/attachment.sig>


More information about the U-Boot mailing list