Skip to content

gpio: add gpio open-drain & open-source emulation

Neil Armstrong u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 2 patches 0 repliesNew
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] gpio: add gpio open-drain & open-source emulation
Quoted 15 lines · Neil Armstrong

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

Quoted 5 lines
 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