openwrt/target/linux/realtek/files-5.4/drivers/gpio
Paul Fertser 3810e89729 realtek: ensure output drivers are enabled in RTL8231
The bootloader can leave the GPIO expander in a state which doesn't have
output drivers enabled so GPIOs will properly work for input but output
operations will have no effect.

To avoid disrupting the boot in case the bootloader left direction and
data registers in an inconsistent state (e.g. pulling SoC's reset to 0)
reconfigure everything as input.

Reviewed-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2021-10-02 21:26:12 +02:00
..
gpio-rtl838x.c realtek: Fix self assignment 2020-12-11 13:48:24 +01:00
gpio-rtl8231.c realtek: ensure output drivers are enabled in RTL8231 2021-10-02 21:26:12 +02:00