[PATCH v3] Input: pmic8xxx-pwrkey - Support shutdown

Dmitry Torokhov dmitry.torokhov at gmail.com
Fri Jul 17 15:36:48 PDT 2015


On Tue, Jul 14, 2015 at 01:18:52PM -0700, Bjorn Andersson wrote:
> On Tue 14 Jul 12:05 PDT 2015, Stephen Boyd wrote:
> 
> > On pm8xxx PMICs, shutdown and restart are signaled to the PMIC
> > via a pin called PS_HOLD. When this pin goes low, the PMIC
> > performs a configurable power sequence. Add a .shutdown hook so
> > that we can properly configure this power sequence for shutdown
> > or restart depending on the system state.
> > 
> > Cc: Bjorn Andersson <bjorn.andersson at sonymobile.com>
> > Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> > ---
> > 
> > Changes since v2:
> >  * s/ret/error/
> >  * Use of_device_get_match_data() and don't move match table
> >  * Fix whitespace errors
> > 
> 
> Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>
> 
> And thanks for finding of_device_get_match_data()

Thanks, I'll apply when I sync with mainline and pull in
of_device_get_match_data(). Shout if you do not see it in next in a
week.

Thanks.

-- 
Dmitry



More information about the linux-arm-kernel mailing list