Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Ludovic Desroches
On Tue, Jul 18, 2017 at 10:37:13AM +0100, Lee Jones wrote: > On Tue, 18 Jul 2017, Nicolas Ferre wrote: > > > On 18/07/2017 at 11:12, Lee Jones wrote: > > > On Tue, 18 Jul 2017, Lee Jones wrote: > > > > > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: > > >> > > >>> For HSMC controller, the

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Ludovic Desroches
On Tue, Jul 18, 2017 at 10:37:13AM +0100, Lee Jones wrote: > On Tue, 18 Jul 2017, Nicolas Ferre wrote: > > > On 18/07/2017 at 11:12, Lee Jones wrote: > > > On Tue, 18 Jul 2017, Lee Jones wrote: > > > > > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: > > >> > > >>> For HSMC controller, the

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 18 Jul 2017, Nicolas Ferre wrote: > On 18/07/2017 at 11:12, Lee Jones wrote: > > On Tue, 18 Jul 2017, Lee Jones wrote: > > > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: > >> > >>> For HSMC controller, the register layout depends on the device i.e. the > >>> offset of setup, pulse,

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 18 Jul 2017, Nicolas Ferre wrote: > On 18/07/2017 at 11:12, Lee Jones wrote: > > On Tue, 18 Jul 2017, Lee Jones wrote: > > > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: > >> > >>> For HSMC controller, the register layout depends on the device i.e. the > >>> offset of setup, pulse,

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Alexandre Belloni
On 11/07/2017 at 09:40:14 +0200, Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Alexandre Belloni
On 11/07/2017 at 09:40:14 +0200, Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Nicolas Ferre
On 18/07/2017 at 11:12, Lee Jones wrote: > On Tue, 18 Jul 2017, Lee Jones wrote: > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: >> >>> For HSMC controller, the register layout depends on the device i.e. the >>> offset of setup, pulse, cycle, mode and timings registers is not the >>> same. An

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Nicolas Ferre
On 18/07/2017 at 11:12, Lee Jones wrote: > On Tue, 18 Jul 2017, Lee Jones wrote: > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: >> >>> For HSMC controller, the register layout depends on the device i.e. the >>> offset of setup, pulse, cycle, mode and timings registers is not the >>> same. An

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 18 Jul 2017, Lee Jones wrote: > On Tue, 11 Jul 2017, Ludovic Desroches wrote: > > > For HSMC controller, the register layout depends on the device i.e. the > > offset of setup, pulse, cycle, mode and timings registers is not the > > same. An helper is added to provide the correct

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 18 Jul 2017, Lee Jones wrote: > On Tue, 11 Jul 2017, Ludovic Desroches wrote: > > > For HSMC controller, the register layout depends on the device i.e. the > > offset of setup, pulse, cycle, mode and timings registers is not the > > same. An helper is added to provide the correct

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 11 Jul 2017, Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3 ("mfd: syscon:

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Lee Jones
On Tue, 11 Jul 2017, Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3 ("mfd: syscon:

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-11 Thread Boris Brezillon
On Tue, 11 Jul 2017 09:40:14 +0200 Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-11 Thread Boris Brezillon
On Tue, 11 Jul 2017 09:40:14 +0200 Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3

[PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-11 Thread Ludovic Desroches
For HSMC controller, the register layout depends on the device i.e. the offset of setup, pulse, cycle, mode and timings registers is not the same. An helper is added to provide the correct register layout. Fixes: fe9d7cb22ef3 ("mfd: syscon: atmel-smc: Add new helpers to ease SMC regs

[PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-11 Thread Ludovic Desroches
For HSMC controller, the register layout depends on the device i.e. the offset of setup, pulse, cycle, mode and timings registers is not the same. An helper is added to provide the correct register layout. Fixes: fe9d7cb22ef3 ("mfd: syscon: atmel-smc: Add new helpers to ease SMC regs