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

Bjorn Andersson bjorn.andersson at sonymobile.com
Mon Jul 13 16:37:50 PDT 2015


On Mon 13 Jul 16:30 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>
> ---
>  drivers/input/misc/pmic8xxx-pwrkey.c | 284 ++++++++++++++++++++++++++++++++++-
>  1 file changed, 277 insertions(+), 7 deletions(-)
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>

Regards,
Bjorn



More information about the linux-arm-kernel mailing list