[PATCH v2 2/2] test: gpio: Add tests for the managed API
Simon Glass
sjg at chromium.org
Wed Jun 17 05:11:39 CEST 2020
On Fri, 29 May 2020 at 15:38, Pratyush Yadav <p.yadav at ti.com> wrote:
>
> From: Jean-Jacques Hiblot <jjhiblot at ti.com>
>
> Add a test to verify that GPIOs can be acquired/released using the managed
> API. Also check that the GPIOs are released when the consumer device is
> removed.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
> arch/sandbox/dts/test.dts | 10 ++++
> test/dm/gpio.c | 102 ++++++++++++++++++++++++++++++++++++++
> 2 files changed, 112 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list