Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Lee Jones
On Tue, 19 Dec 2017, Nicolas Ferre wrote: > On 18/12/2017 at 21:19, Alexandre Belloni wrote: > > On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: > >> The controller used by a flexcom module is configured at boot, and left > >> alone after this. In the suspend mode called "backup with

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Lee Jones
On Tue, 19 Dec 2017, Nicolas Ferre wrote: > On 18/12/2017 at 21:19, Alexandre Belloni wrote: > > On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: > >> The controller used by a flexcom module is configured at boot, and left > >> alone after this. In the suspend mode called "backup with

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Nicolas Ferre
On 18/12/2017 at 21:19, Alexandre Belloni wrote: > On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: >> The controller used by a flexcom module is configured at boot, and left >> alone after this. In the suspend mode called "backup with self-refresh" >> available on SAMA5D2, the chip will

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Nicolas Ferre
On 18/12/2017 at 21:19, Alexandre Belloni wrote: > On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: >> The controller used by a flexcom module is configured at boot, and left >> alone after this. In the suspend mode called "backup with self-refresh" >> available on SAMA5D2, the chip will

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Lee Jones
On Tue, 12 Dec 2017, Romain Izard wrote: > The controller used by a flexcom module is configured at boot, and left > alone after this. In the suspend mode called "backup with self-refresh" > available on SAMA5D2, the chip will resume with most of its registers > reset. In this case, we need to

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-19 Thread Lee Jones
On Tue, 12 Dec 2017, Romain Izard wrote: > The controller used by a flexcom module is configured at boot, and left > alone after this. In the suspend mode called "backup with self-refresh" > available on SAMA5D2, the chip will resume with most of its registers > reset. In this case, we need to

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-18 Thread Alexandre Belloni
On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: > The controller used by a flexcom module is configured at boot, and left > alone after this. In the suspend mode called "backup with self-refresh" > available on SAMA5D2, the chip will resume with most of its registers > reset. In this case, we

Re: [PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-18 Thread Alexandre Belloni
On 12/12/2017 at 17:21:19 +0100, Romain Izard wrote: > The controller used by a flexcom module is configured at boot, and left > alone after this. In the suspend mode called "backup with self-refresh" > available on SAMA5D2, the chip will resume with most of its registers > reset. In this case, we

[PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-12 Thread Romain Izard
The controller used by a flexcom module is configured at boot, and left alone after this. In the suspend mode called "backup with self-refresh" available on SAMA5D2, the chip will resume with most of its registers reset. In this case, we need to restore the state of the flexcom driver on resume.

[PATCH v6] atmel_flexcom: Support resuming after a chip reset

2017-12-12 Thread Romain Izard
The controller used by a flexcom module is configured at boot, and left alone after this. In the suspend mode called "backup with self-refresh" available on SAMA5D2, the chip will resume with most of its registers reset. In this case, we need to restore the state of the flexcom driver on resume.