
30 Apr
2020
30 Apr
'20
2:27 p.m.
On 29/04/2020 20:04, Simon Glass wrote:
Hi Neil,
On Wed, 29 Apr 2020 at 02:06, Neil Armstrong narmstrong@baylibre.com wrote:
Handle the GPIOD_OPEN_DRAIN & GPIOD_OPEN_SOURCE flags to emulate open drain and open source by setting the GPIO line as input depending on the requested value.
The behaviour is taken from the Linux gpiolib.
It notably permits enabling a GPIO regulator used as Open Drain on the Amlogic G12A/g12B/SM1 platforms for HDMI output feature.
Signed-off-by: Neil Armstrong narmstrong@baylibre.com
drivers/gpio/gpio-uclass.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Can you update the GPIO test please?
Regards, Simon
Sure,
Thanks, Neil