
11 May
2020
11 May
'20
3:09 p.m.
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