Michal Smulski 19b60f8410 gpio: mpc8xxx: latch GPIOs state on module load when configured as output
Qoriq and related devices allow reading out state of GPIO set as output.
However, currently on driver's init, all outputs are configured as driven
low. So, any changes to GPIO confiuration will drive all pins (configured
as output) as output-low.
This patch latches state of output GPIOs before any GPIO configuration
takes place. This preserves any output settings done prior to loading
the driver (for example, by u-boot).

Signed-off-by: Michal Smulski <michal.smulski@ooma.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-06-16 11:11:27 +02:00
..
2023-04-25 17:18:18 -07:00
2021-04-14 10:19:22 +01:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-21 18:01:11 +03:00
2023-03-06 12:33:02 +02:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2023-02-22 11:01:17 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2019-12-09 10:40:18 +01:00
2023-01-30 15:55:31 +01:00
2023-04-25 17:18:18 -07:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-10-24 12:30:26 +03:00
2023-06-16 11:08:32 +02:00
2023-06-16 11:08:32 +02:00