From: Neil Armstrong Date: Mon, 11 May 2020 15:09:34 +0200 Subject: [PATCH v2 0/2] gpio: add gpio open-drain & open-source emulation In-Reply-To: <20200505084318.15307-1-narmstrong@baylibre.com> References: <20200505084318.15307-1-narmstrong@baylibre.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/05/2020 10:43, Neil Armstrong wrote: > When a line is in open-drain or open-source mode, U-Boot doesn't handle it > directly. > > Let's add gpio open-drain & open-source emulation in gpio u-class to make > it transparent to driver using a gpio line from DT. > > Changes since v1: > - fixed all open-drain/open source cases > - updated dm gpio test > > Neil Armstrong (2): > gpio: emulate open drain & open source in dm_gpio_set_value() > test: dm: update test for open-drain/open-source emulation in > gpio-uclass > > arch/sandbox/dts/test.dts | 4 +- > drivers/gpio/gpio-uclass.c | 15 +++++++ > test/dm/gpio.c | 89 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 107 insertions(+), 1 deletion(-) > Applying to u-boot-amlogic Thanks for reviewing. Neil