[PATCH v3 4/4] gpio: sandbox: Add GPIOD_IS_AF for gpio configured in alternate function

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Aug 30 14:24:48 CEST 2022


Hi Patrice,

On 8/30/22 14:09, Patrice Chotard wrote:
> This allows to test if a pin's label if displayed using gpio_get_status()
> when this pin is configured in alternate function.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> (no changes since v1)
>
>   drivers/gpio/sandbox.c                  |  5 +++++
>   include/asm-generic/gpio.h              |  1 +
>   include/dt-bindings/gpio/sandbox-gpio.h |  3 +++
>   test/dm/gpio.c                          | 30 +++++++++++++++++++++++++
>   4 files changed, 39 insertions(+)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick





More information about the U-Boot mailing list