[PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

Kumar Gala galak at codeaurora.org
Thu Sep 18 15:47:20 PDT 2014


On Sep 18, 2014, at 3:32 PM, Josh Cartwright <joshc at codeaurora.org> wrote:

> By converting to the restart_notifier mechanism for restart, we allow
> for other mechanisms, like the watchdog, to be used for restart in the
> case where PS_HOLD has failed to reset the chip.
> 
> Choose priority 128, as according to documentation, this mechanism "is
> sufficient to restart the entire system”.

Will we use a higher priority for watchdog?  or how would we fail over to watchdog?

> 
> Cc: Pramod Gurav <pramod.gurav at smartplayin.com>
> Cc: Guenter Roeck <linux at roeck-us.net>
> Signed-off-by: Josh Cartwright <joshc at codeaurora.org>
> ---
> drivers/pinctrl/qcom/pinctrl-msm.c | 38 ++++++++++++++++++++++++++------------
> 1 file changed, 26 insertions(+), 12 deletions(-)
> 

- k

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation




More information about the linux-arm-kernel mailing list