Searched hist:"4 fcd504edbf7c793325511c2df8dcd083958e28a" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/power/reset/ |
H A D | reboot-mode.c | 4fcd504edbf7c793325511c2df8dcd083958e28a Wed Jul 06 15:27:26 CEST 2016 Andy Yan <andy.yan@rock-chips.com> power: reset: add reboot mode driver
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the write interfae to store the boot mode in some place like special register or sram, which can be read by the bootloader after system reboot, then the bootloader can take different action according to the mode stored.
This is commonly used on Android based devices, in order to reboot the device into fastboot or recovery mode.
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> Tested-by: John Stultz <john.stultz@linaro.org> Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
|
H A D | syscon-reboot-mode.c | 4fcd504edbf7c793325511c2df8dcd083958e28a Wed Jul 06 15:27:26 CEST 2016 Andy Yan <andy.yan@rock-chips.com> power: reset: add reboot mode driver
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the write interfae to store the boot mode in some place like special register or sram, which can be read by the bootloader after system reboot, then the bootloader can take different action according to the mode stored.
This is commonly used on Android based devices, in order to reboot the device into fastboot or recovery mode.
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> Tested-by: John Stultz <john.stultz@linaro.org> Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
|
H A D | Makefile | diff 4fcd504edbf7c793325511c2df8dcd083958e28a Wed Jul 06 15:27:26 CEST 2016 Andy Yan <andy.yan@rock-chips.com> power: reset: add reboot mode driver
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the write interfae to store the boot mode in some place like special register or sram, which can be read by the bootloader after system reboot, then the bootloader can take different action according to the mode stored.
This is commonly used on Android based devices, in order to reboot the device into fastboot or recovery mode.
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> Tested-by: John Stultz <john.stultz@linaro.org> Acked-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
|