Re: [PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-17 Thread Nick Dyer
On Sat, Mar 17, 2018 at 10:42:40AM -0700, Dmitry Torokhov wrote: > On Fri, Mar 16, 2018 at 08:40:02PM +, Nick Dyer wrote: > > On Thu, Mar 15, 2018 at 04:56:21PM -0700, Dmitry Torokhov wrote: > > > Ah, OK, I see. I would really like to drop this > > > pdata->suspend_mode stuff and I do not want

Re: [PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-17 Thread Dmitry Torokhov
On Fri, Mar 16, 2018 at 08:40:02PM +, Nick Dyer wrote: > On Thu, Mar 15, 2018 at 04:56:21PM -0700, Dmitry Torokhov wrote: > > On Wed, Mar 14, 2018 at 08:51:24PM +, Nick Dyer wrote: > > > On Mon, Mar 12, 2018 at 12:08:54PM -0700, Dmitry Torokhov wrote: > > > > The way we are supposed to put

Re: [PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-16 Thread Nick Dyer
On Thu, Mar 15, 2018 at 04:56:21PM -0700, Dmitry Torokhov wrote: > On Wed, Mar 14, 2018 at 08:51:24PM +, Nick Dyer wrote: > > On Mon, Mar 12, 2018 at 12:08:54PM -0700, Dmitry Torokhov wrote: > > > The way we are supposed to put controller to sleep and wake it up does not > > > depend on the pla

Re: [PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-15 Thread Dmitry Torokhov
On Wed, Mar 14, 2018 at 08:51:24PM +, Nick Dyer wrote: > Hi Dmitry- > > Thanks for sending these patches! > > On Mon, Mar 12, 2018 at 12:08:54PM -0700, Dmitry Torokhov wrote: > > The way we are supposed to put controller to sleep and wake it up does not > > depend on the platform, but rather

Re: [PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-14 Thread Nick Dyer
Hi Dmitry- Thanks for sending these patches! On Mon, Mar 12, 2018 at 12:08:54PM -0700, Dmitry Torokhov wrote: > The way we are supposed to put controller to sleep and wake it up does not > depend on the platform, but rather on controller itself. Controllers using > T9 require manipulating T9 cont

[PATCH 01/14] Input: atmel_mxt_ts - do not pass suspend mode in platform data

2018-03-12 Thread Dmitry Torokhov
The way we are supposed to put controller to sleep and wake it up does not depend on the platform, but rather on controller itself. Controllers using T9 require manipulating T9 control register, while others, using newer T100, should be put to sleep by adjusting T7 power config. We'll keep pdata->