Re: [PATCH] mfd: stm32-timers: avoid clearing auto reload register

2021-03-23 Thread Lee Jones
On Wed, 03 Mar 2021, Fabrice Gasnier wrote: > The ARR register is cleared unconditionally upon probing, after the maximum > value has been read. This initial condition is rather not intuitive, when > considering the counter child driver. It rather expects the maximum value > by default: > - The co

Re: [PATCH] mfd: stm32-timers: avoid clearing auto reload register

2021-03-22 Thread Lee Jones
On Mon, 22 Mar 2021, Fabrice Gasnier wrote: > On 3/3/21 6:51 PM, Fabrice Gasnier wrote: > > The ARR register is cleared unconditionally upon probing, after the maximum > > value has been read. This initial condition is rather not intuitive, when > > considering the counter child driver. It rather

Re: [PATCH] mfd: stm32-timers: avoid clearing auto reload register

2021-03-22 Thread Fabrice Gasnier
On 3/3/21 6:51 PM, Fabrice Gasnier wrote: > The ARR register is cleared unconditionally upon probing, after the maximum > value has been read. This initial condition is rather not intuitive, when > considering the counter child driver. It rather expects the maximum value > by default: > - The count

Re: [PATCH] mfd: stm32-timers: avoid clearing auto reload register

2021-03-03 Thread William Breathitt Gray
On Wed, Mar 03, 2021 at 06:51:35PM +0100, Fabrice Gasnier wrote: > The ARR register is cleared unconditionally upon probing, after the maximum > value has been read. This initial condition is rather not intuitive, when > considering the counter child driver. It rather expects the maximum value > by

[PATCH] mfd: stm32-timers: avoid clearing auto reload register

2021-03-03 Thread Fabrice Gasnier
The ARR register is cleared unconditionally upon probing, after the maximum value has been read. This initial condition is rather not intuitive, when considering the counter child driver. It rather expects the maximum value by default: - The counter interface shows a zero value by default for 'ceil