Re: [PATCH 1/2] gpio: gpiolib: Expand sleep tolerance to include controller reset

2017-10-29 Thread Andrew Jeffery
On Thu, 2017-10-26 at 10:03 +0100, Charles Keepax wrote: > On Thu, Oct 26, 2017 at 11:10:53AM +1030, Andrew Jeffery wrote: > > On Wed, 2017-10-25 at 09:32 +0100, Charles Keepax wrote: > > > On Wed, Oct 25, 2017 at 03:34:16PM +1030, Andrew Jeffery wrote: > > > This means that if we have a set_config

Re: [PATCH 1/2] gpio: gpiolib: Expand sleep tolerance to include controller reset

2017-10-26 Thread Charles Keepax
On Thu, Oct 26, 2017 at 11:10:53AM +1030, Andrew Jeffery wrote: > On Wed, 2017-10-25 at 09:32 +0100, Charles Keepax wrote: > > On Wed, Oct 25, 2017 at 03:34:16PM +1030, Andrew Jeffery wrote: > > This means that if we have a set_config we are directly > > equating PERSISTENT to RESET_TOLERANT, which

Re: [PATCH 1/2] gpio: gpiolib: Expand sleep tolerance to include controller reset

2017-10-25 Thread Andrew Jeffery
On Wed, 2017-10-25 at 09:32 +0100, Charles Keepax wrote: > On Wed, Oct 25, 2017 at 03:34:16PM +1030, Andrew Jeffery wrote: > Reset tolerance is added to gpiolib with the introduction of a new > pinconf parameter propagating the request to hardware. The existing > persistence support for sleep is au

Re: [PATCH 1/2] gpio: gpiolib: Expand sleep tolerance to include controller reset

2017-10-25 Thread Charles Keepax
On Wed, Oct 25, 2017 at 03:34:16PM +1030, Andrew Jeffery wrote: > Reset tolerance is added to gpiolib with the introduction of a new > pinconf parameter propagating the request to hardware. The existing > persistence support for sleep is augmented to include reset tolerance > if the GPIO driver pro

[PATCH 1/2] gpio: gpiolib: Expand sleep tolerance to include controller reset

2017-10-24 Thread Andrew Jeffery
Reset tolerance is added to gpiolib with the introduction of a new pinconf parameter propagating the request to hardware. The existing persistence support for sleep is augmented to include reset tolerance if the GPIO driver provides it. Persistence continues to be enabled by default; in-kernel cons