Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-20 Thread Sebastian Reichel
Hi, On Thu, Jun 15, 2017 at 04:38:34PM -0500, Rob Herring wrote: > On Thu, Jun 15, 2017 at 1:33 PM, Bjorn Andersson > wrote: > > On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > > > >> Hi, > >> > >> On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-20 Thread Sebastian Reichel
Hi, On Thu, Jun 15, 2017 at 04:38:34PM -0500, Rob Herring wrote: > On Thu, Jun 15, 2017 at 1:33 PM, Bjorn Andersson > wrote: > > On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > > > >> Hi, > >> > >> On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: > > [..] > >> > As such

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Rob Herring
On Thu, Jun 15, 2017 at 1:33 PM, Bjorn Andersson wrote: > On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > >> Hi, >> >> On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: > [..] >> > As such if we split the non-input related handling into another

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Rob Herring
On Thu, Jun 15, 2017 at 1:33 PM, Bjorn Andersson wrote: > On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > >> Hi, >> >> On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: > [..] >> > As such if we split the non-input related handling into another driver >> > we would need to

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Bjorn Andersson
On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > Hi, > > On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: [..] > > As such if we split the non-input related handling into another driver > > we would need to make the input driver create a subdevice during probe - > > or

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Bjorn Andersson
On Thu 15 Jun 09:26 PDT 2017, Sebastian Reichel wrote: > Hi, > > On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: [..] > > As such if we split the non-input related handling into another driver > > we would need to make the input driver create a subdevice during probe - > > or

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Sebastian Reichel
Hi, On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: > On Thu 08 Jun 09:32 PDT 2017, Sebastian Reichel wrote: > > > Hi, > > > > On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > > > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > > > > > On Fri, May

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-15 Thread Sebastian Reichel
Hi, On Mon, Jun 12, 2017 at 04:32:03PM -0700, Bjorn Andersson wrote: > On Thu 08 Jun 09:32 PDT 2017, Sebastian Reichel wrote: > > > Hi, > > > > On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > > > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > > > > > On Fri, May

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-12 Thread Bjorn Andersson
On Thu 08 Jun 09:32 PDT 2017, Sebastian Reichel wrote: > Hi, > > On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > > > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > > > In some Qualcomm

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-12 Thread Bjorn Andersson
On Thu 08 Jun 09:32 PDT 2017, Sebastian Reichel wrote: > Hi, > > On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > > > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > > > In some Qualcomm

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-08 Thread Sebastian Reichel
Hi, On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > > In some Qualcomm platforms the magic for informing LK which mode to > > > reboot into is stored

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-06-08 Thread Sebastian Reichel
Hi, On Mon, May 29, 2017 at 09:47:11PM -0700, Bjorn Andersson wrote: > On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > > > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > > In some Qualcomm platforms the magic for informing LK which mode to > > > reboot into is stored

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-29 Thread Bjorn Andersson
On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > In some Qualcomm platforms the magic for informing LK which mode to > > reboot into is stored in the PON_SOFT_RB_SPARE register. Register with > > the reboot mode helpers to

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-29 Thread Bjorn Andersson
On Mon 29 May 19:53 PDT 2017, Dmitry Torokhov wrote: > On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > > In some Qualcomm platforms the magic for informing LK which mode to > > reboot into is stored in the PON_SOFT_RB_SPARE register. Register with > > the reboot mode helpers to

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-29 Thread Dmitry Torokhov
On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > In some Qualcomm platforms the magic for informing LK which mode to > reboot into is stored in the PON_SOFT_RB_SPARE register. Register with > the reboot mode helpers to expose this to the user. Hmm, is the power key driver the

Re: [PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-29 Thread Dmitry Torokhov
On Fri, May 26, 2017 at 11:51:30PM -0700, Bjorn Andersson wrote: > In some Qualcomm platforms the magic for informing LK which mode to > reboot into is stored in the PON_SOFT_RB_SPARE register. Register with > the reboot mode helpers to expose this to the user. Hmm, is the power key driver the

[PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-27 Thread Bjorn Andersson
In some Qualcomm platforms the magic for informing LK which mode to reboot into is stored in the PON_SOFT_RB_SPARE register. Register with the reboot mode helpers to expose this to the user. Signed-off-by: Bjorn Andersson --- drivers/input/misc/Kconfig | 1 +

[PATCH 2/2] Input: pm8941-pwrkey: Introduce reboot mode support

2017-05-27 Thread Bjorn Andersson
In some Qualcomm platforms the magic for informing LK which mode to reboot into is stored in the PON_SOFT_RB_SPARE register. Register with the reboot mode helpers to expose this to the user. Signed-off-by: Bjorn Andersson --- drivers/input/misc/Kconfig | 1 +