Re: [PATCH 4/4] gpio: mpc8xxx: Preserve pre-init state of outputs

2024-12-19 Thread Sinan Akman
On 2024-12-19 08:06, J. Neuschäfer wrote: On Wed, Dec 18, 2024 at 02:20:21PM -0500, Sinan Akman wrote: Hi On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" The mpc8xxx_gpio driver contains a workaround for certain chips where the previously written state of outputs

Re: [PATCH 4/4] gpio: mpc8xxx: Preserve pre-init state of outputs

2024-12-19 Thread J . Neuschäfer
On Wed, Dec 18, 2024 at 02:20:21PM -0500, Sinan Akman wrote: > Hi > > On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: > > From: "J. Neuschäfer" > > > > The mpc8xxx_gpio driver contains a workaround for certain chips > > where the previously written state of outputs cannot be read back > >

Re: [PATCH 4/4] gpio: mpc8xxx: Preserve pre-init state of outputs

2024-12-18 Thread Sinan Akman
Hi On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" The mpc8xxx_gpio driver contains a workaround for certain chips where the previously written state of outputs cannot be read back from the GPIO data (GPDAT) register (MPC8572/MPC8536). This workaround consists of tr

[PATCH 4/4] gpio: mpc8xxx: Preserve pre-init state of outputs

2024-12-15 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The mpc8xxx_gpio driver contains a workaround for certain chips where the previously written state of outputs cannot be read back from the GPIO data (GPDAT) register (MPC8572/MPC8536). This workaround consists of tracking the state of GPDAT in a "shadow register" (i.e. a sof