[PATCH v4 2/2] test: gpio: Add tests for the managed API

Simon Glass sjg at chromium.org
Wed Sep 9 01:56:08 CEST 2020


On Mon, 7 Sep 2020 at 23:40, 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>
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>
> ---
>  arch/sandbox/dts/test.dts |  10 ++++
>  test/dm/bus.c             |   2 +-
>  test/dm/gpio.c            | 102 ++++++++++++++++++++++++++++++++++++++
>  test/dm/test-fdt.c        |   6 +--
>  4 files changed, 116 insertions(+), 4 deletions(-)

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

Although I don't see a change log, so this is a bit blind.


More information about the U-Boot mailing list