RE: [PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-02 Thread Adrian Schmutzler
ct: Re: [PATCH v3] realtek: ensure output drivers are enabled in > RTL8231 > > Hello Adrian, > > Thank you for taking care about this. One note below. > > On Sat, Oct 02, 2021 at 06:37:22PM +0200, Adrian Schmutzler wrote: > > > The bootloader can leave the GPIO exp

Re: [PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-02 Thread Paul Fertser
Hello Adrian, Thank you for taking care about this. One note below. On Sat, Oct 02, 2021 at 06:37:22PM +0200, Adrian Schmutzler wrote: > > 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 > > opera

RE: [PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-02 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Paul Fertser > Sent: Freitag, 1. Oktober 2021 11:37 > To: openwrt-devel@lists.openwrt.org > Cc: Sander Vanheule ; Paul Fertser > > Subject: [PATCH v3] realte

[PATCH v3] realtek: ensure output drivers are enabled in RTL8231

2021-10-01 Thread Paul Fertser
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. pull