[PATCHv3 02/10] gpio: mxc_gpio: add support to read status of output gpios

2020-08-21 Thread Sebastian Reichel
This is supported by the hardware when the pinmux is configured correctly. Usually it is not, so this adds explicit code for this. This fixes all GPIO regulators being shown as disabled. Signed-off-by: Sebastian Reichel --- drivers/gpio/mxc_gpio.c | 10 +- 1 file changed, 9 insertions(+)

Re: [PATCHv3 02/10] gpio: mxc_gpio: add support to read status of output gpios

2020-08-23 Thread Fabio Estevam
Hi Sebastian, On Fri, Aug 21, 2020 at 1:16 PM Sebastian Reichel wrote: > > This is supported by the hardware when the pinmux is configured I assume you are referring to the SION bit. > correctly. Usually it is not, so this adds explicit code for this. > This fixes all GPIO regulators being show