Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-26 Thread Vaibhav Hiremath
On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write If pdata

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Vaibhav Hiremath
On Thursday 25 June 2015 08:16 PM, Lee Jones wrote: On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Lee Jones
On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: > On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: > >On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: > > > >>As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe > >>(page 0) controls the method of clearing interrupt > >>status of 88pm800 family of d

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Vaibhav Hiremath
On Thursday 25 June 2015 05:15 PM, Krzysztof Kozlowski wrote: 2015-06-25 20:19 GMT+09:00 Vaibhav Hiremath : On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: (...) diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h index 97cb283..94b3dcd 100644 --- a/include/linux/m

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Krzysztof Kozlowski
2015-06-25 20:19 GMT+09:00 Vaibhav Hiremath : > > > On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: (...) >>> diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h >>> index 97cb283..94b3dcd 100644 >>> --- a/include/linux/mfd/88pm80x.h >>> +++ b/include/linux/mfd/88pm80x.h >>

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Vaibhav Hiremath
On Thursday 25 June 2015 03:56 PM, Lee Jones wrote: On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write If pdata

Re: [PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Lee Jones
On Thu, 25 Jun 2015, Vaibhav Hiremath wrote: > As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe > (page 0) controls the method of clearing interrupt > status of 88pm800 family of devices; > > 0: clear on read > 1: clear on write > > If pdata is not coming from board file, then set the

[PATCH-v4 2/3] mfd: 88pm800: Set default interrupt clear method

2015-06-25 Thread Vaibhav Hiremath
As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write If pdata is not coming from board file, then set the default irq clear method to "irq clear on write" Also, as su