linux/drivers/power/reset
Heiko Stübner bcd56fe1aa power: reset: gpio-restart: increase priority slightly
gpio-restart uses a priority of 128 and currently most soc-level restart
mechanisms use the same - with some exceptions even using 192.
But while the soc-level restarts are provided by the soc itself,
gpio-restarts will most of the time be board-specfic and be used
when some special board condition makes the soc-level restart
only a second choice.

The problem at hand manifested itself on the rk3288-veyron devices.
While the soc-level restart can sucessfully restart all other rockchip
boards I have, the veyron devices use an external restart mechanism that
seems to not only reset the soc but also some external needed components.

With both restart handlers having priority 128 in my tests the soc-specific
variant took precedent in all cases. While it could restart the soc
sucessfully in all cases, firmware then got an issue when talking to an
external component, resulting in the device being put into recovery mode.

So, give the board-specific restart handler a slight push and move it
to priority 129 to make it more important than the generic soc-specific
restart-handler.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2015-06-02 20:59:03 +02:00
..
arm-versatile-reboot.c power/reset: arm-versatile: Register with kernel restart handler 2015-01-25 22:12:45 +01:00
as3722-poweroff.c power: reset: drop owner assignment from platform_drivers 2014-10-20 16:21:28 +02:00
at91-poweroff.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
at91-reset.c power: at91-reset: Constify platform_device_id 2015-05-23 19:44:23 +02:00
axxia-reset.c power/reset: axxia: Register with kernel restart handler 2014-11-17 03:07:10 +01:00
brcmstb-reboot.c power/reset: brcmstb: Add support for old 65nm chips 2015-01-22 02:25:32 +01:00
gpio-poweroff.c power: reset: gpio-poweroff: let devm_gpiod_get set direction of gpio 2015-05-23 20:03:30 +02:00
gpio-restart.c power: reset: gpio-restart: increase priority slightly 2015-06-02 20:59:03 +02:00
hisi-reboot.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
imx-snvs-poweroff.c power: reset: imx-snvs-poweroff: add power off driver for i.mx6 2014-11-23 14:57:11 +08:00
Kconfig power: reset: Add MFD_SYSCON depends for brcmstb 2015-05-01 22:48:28 +02:00
keystone-reset.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
ltc2952-poweroff.c power: reset: ltc2952: use _optional variant of devm_gpiod_get 2015-05-23 20:03:42 +02:00
Makefile power: reset: Add generic SYSCON register mapped poweroff. 2015-04-06 18:49:48 +02:00
msm-poweroff.c power: reset: use restart_notifier mechanism for msm-poweroff 2014-09-26 19:54:33 +02:00
qnap-poweroff.c power: reset: drop owner assignment from platform_drivers 2014-10-20 16:21:28 +02:00
restart-poweroff.c power/reset: restart-poweroff: Remove arm dependencies 2015-01-25 22:13:18 +01:00
rmobile-reset.c power: reset: Add reset driver for R-Mobile platforms 2015-01-21 16:32:05 +01:00
st-poweroff.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
syscon-poweroff.c power: reset: Add generic SYSCON register mapped poweroff. 2015-04-06 18:49:48 +02:00
syscon-reboot.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
vexpress-poweroff.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00
xgene-reboot.c power: constify of_device_id array 2015-03-20 13:23:06 +01:00