[U-Boot] [PATCH v5 4/4] dm: test: Add GPIO open drain tests

Simon Glass sjg at chromium.org
Thu May 26 01:17:09 CEST 2016


On 25 May 2016 at 07:15, Mario Six <mario.six at gdsys.cc> wrote:
>
> Add some tests for the new open drain setting feature of the GPIO
> uclass, and extend the capabilities of the sandbox GPIO driver
> accordingly.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
> ---
>
> v5:
> - Use 'sandbox_gpio_*' functions in tests
> - Add 'sandbox_gpio_{get,set}_open_drain' prototypes to
>   arch/sandbox/include/asm/gpio.h
>
> v4:
> Patch added
>
> ---
>  arch/sandbox/include/asm/gpio.h | 20 ++++++++++++++++++++
>  drivers/gpio/sandbox.c          | 35 +++++++++++++++++++++++++++++++++++
>  test/dm/gpio.c                  |  7 +++++++
>  3 files changed, 62 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list