From mboxrd@z Thu Jan 1 00:00:00 1970
From: Pratyush Yadav
Date: Wed, 9 Sep 2020 09:23:39 +0530
Subject: [PATCH v4 2/2] test: gpio: Add tests for the managed API
In-Reply-To:
References: <20200908054011.18125-1-p.yadav@ti.com>
<20200908054011.18125-3-p.yadav@ti.com>
Message-ID: <20200909035337.2q6ktgnfxtpsiked@ti.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
On 08/09/20 05:56PM, Simon Glass wrote:
> On Mon, 7 Sep 2020 at 23:40, Pratyush Yadav wrote:
> >
> > From: Jean-Jacques Hiblot
> >
> > 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
> > Signed-off-by: Pratyush Yadav
> > ---
> > 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
Thanks.
> Although I don't see a change log, so this is a bit blind.
The changelog is in the cover letter [0]. Copy-pasing the parts relevant
to this patch:
- Move "another-test" node down the order to make sure
dm_test_fdt_uclass_seq() continues to work.
- Bump num_devices to 9 in dm_test_bus_children(), dm_test_fdt(), and
dm_test_uclass_foreach() to fix broken tests.
- s/DM_TESTF/UT_TESTF/g
[0] I haven't figured out a workflow that lets me easily record the
changelog on a per-patch basis. Maybe I can write some scripts around
git-notes for that? Dunno.
--
Regards,
Pratyush Yadav
Texas Instruments India