linux/drivers/pinctrl/qcom
Josh Cartwright cf1fc18762 pinctrl: qcom: use restart_notifier mechanism for ps_hold
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.

Since this mechanism may be one of several mechanisms registered, change
the post-ps_hold write timeout to be a more reasonable 1 second instead
of 10 seconds.

Choose priority 128, as according to documentation, this mechanism "is
sufficient to restart the entire system".

Tested-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-09-26 10:36:30 +02:00
..
Kconfig pinctrl: qcom: Add APQ8084 pinctrl support 2014-09-04 18:14:59 +02:00
Makefile pinctrl: qcom: Add APQ8084 pinctrl support 2014-09-04 18:14:59 +02:00
pinctrl-apq8064.c pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00
pinctrl-apq8084.c pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00
pinctrl-ipq8064.c pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00
pinctrl-msm8x74.c pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00
pinctrl-msm8960.c pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00
pinctrl-msm.c pinctrl: qcom: use restart_notifier mechanism for ps_hold 2014-09-26 10:36:30 +02:00
pinctrl-msm.h pinctrl: qcom: Make the target processor value configurable 2014-09-04 18:19:31 +02:00