Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Mon, 11 Jul 2016, Lee Jones wrote: > On Tue, 05 Jul 2016, Olof Johansson wrote: > > > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > > wrote: > > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Mon, 11 Jul 2016, Lee Jones wrote: > On Tue, 05 Jul 2016, Olof Johansson wrote: > > > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > > wrote: > > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > > >>> On Fri, Jul 1,

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Tue, 05 Jul 2016, Olof Johansson wrote: > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > wrote: > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > >>> On Fri, Jul

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-11 Thread Lee Jones
On Tue, 05 Jul 2016, Olof Johansson wrote: > On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov > wrote: > > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: > >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > >>> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra > >>> wrote: >

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov wrote: > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: >>> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra >>>

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Tue, Jul 5, 2016 at 2:00 PM, Dmitry Torokhov wrote: > On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: >>On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: >>> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra >>> wrote: From: Vic Yang Newer revisions of the

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Dmitry Torokhov
On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: >On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: >> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra >> wrote: >>> From: Vic Yang >>> >>> Newer

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Dmitry Torokhov
On July 5, 2016 1:55:44 PM PDT, Olof Johansson wrote: >On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: >> On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra >> wrote: >>> From: Vic Yang >>> >>> Newer revisions of the ChromeOS EC add more events besides the >keyboard >>> ones. So

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra > wrote: >> From: Vic Yang >> >> Newer revisions of the ChromeOS EC add more events besides the keyboard >> ones.

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Tue, Jul 5, 2016 at 1:54 PM, Olof Johansson wrote: > On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra > wrote: >> From: Vic Yang >> >> Newer revisions of the ChromeOS EC add more events besides the keyboard >> ones. So handle interrupts in the MFD driver and let consumers register >>

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra wrote: > From: Vic Yang > > Newer revisions of the ChromeOS EC add more events besides the keyboard > ones. So handle interrupts in the MFD driver and let consumers register > for

Re: [PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-05 Thread Olof Johansson
On Fri, Jul 1, 2016 at 2:07 AM, Enric Balletbo i Serra wrote: > From: Vic Yang > > Newer revisions of the ChromeOS EC add more events besides the keyboard > ones. So handle interrupts in the MFD driver and let consumers register > for notifications for the events they might care. > > To keep

[PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-01 Thread Enric Balletbo i Serra
From: Vic Yang Newer revisions of the ChromeOS EC add more events besides the keyboard ones. So handle interrupts in the MFD driver and let consumers register for notifications for the events they might care. To keep backward compatibility, if the EC doesn't support MKBP

[PATCH 1/2] mfd: cros_ec: Add MKBP event support

2016-07-01 Thread Enric Balletbo i Serra
From: Vic Yang Newer revisions of the ChromeOS EC add more events besides the keyboard ones. So handle interrupts in the MFD driver and let consumers register for notifications for the events they might care. To keep backward compatibility, if the EC doesn't support MKBP event, we fall back to