Re: [PATCH 1/2] watchdog: aspeed: Sanitize control register values

2021-07-19 Thread Cédric Le Goater
On 7/9/21 7:31 AM, Andrew Jeffery wrote: > While some of the critical fields remain the same, there is variation in > the definition of the control register across the SoC generations. > Reserved regions are adjusted, while in other cases the mutability or > behaviour of fields change. > >

[PATCH 1/2] watchdog: aspeed: Sanitize control register values

2021-07-08 Thread Andrew Jeffery
While some of the critical fields remain the same, there is variation in the definition of the control register across the SoC generations. Reserved regions are adjusted, while in other cases the mutability or behaviour of fields change. Introduce a callback to sanitize the value on writes to