[PATCH v4 07/16] gpio: sandbox: Use a separate flag for the value

Tom Rini trini at konsulko.com
Thu Mar 4 19:14:22 CET 2021


On Thu, Feb 04, 2021 at 09:22:00PM -0700, Simon Glass wrote:

> At present with the sandbox GPIO driver it is not possible to change the
> value of GPIOD_IS_OUT_ACTIVE unless the GPIO is an output. This makes it
> hard to test changing the flags since we need to be aware of the internal
> workings of the driver.
> 
> The feature is designed to aid testing.
> 
> Split this feature out into a separate sandbox-specific flag, so that the
> flags can change unimpeded. This will make it easier to allow updating the
> flags in a future patch.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210304/955afc0a/attachment.sig>


More information about the U-Boot mailing list