linux-stable/drivers/soc
Dmitry Osipenko eae813b755 soc/tegra: pmc: Use sys-off handler API to power off Nexus 7 properly
Nexus 7 Android tablet can be turned off using a special bootloader
command which is conveyed to bootloader by putting magic value into the
special scratch register and then rebooting normally. This power-off
method should be invoked if USB cable is connected. Bootloader then will
display battery status and power off the device. This behaviour is
borrowed from downstream kernel and matches user expectations, otherwise
it looks like device got hung during power-off and it may wake up on
USB disconnect.

Switch PMC driver to sys-off handler API, which provides drivers with
chained power-off callbacks functionality that is required for powering-off
devices properly. It also brings resource-managed API for the restart
handler registration that makes PMC driver code cleaner.

Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-05-19 19:30:31 +02:00
..
actions
amlogic soc: s4: Add support for power domains controller 2022-03-07 09:40:39 +01:00
apple soc: apple: apple-pmgr-pwrstate: Do not build as a module 2021-12-15 20:36:05 +09:00
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-08 09:52:59 +01:00
atmel ARM: at91: add support in soc driver for new SAMA5D29 2022-03-04 12:49:22 +01:00
bcm soc: bcm: brcmstb: Add of_node_put() in pm-mips 2021-11-15 09:57:14 -08:00
canaan riscv: canaan: remove useless select of non-existing config SYSCON 2022-01-20 09:35:11 -08:00
dove
fsl Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
gemini
imx soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang 2022-04-10 09:32:08 +08:00
ixp4xx soc: ixp4xx-npe: Access syscon regs using regmap 2022-02-12 18:20:03 +01:00
lantiq
litex drivers/soc/litex: remove 8-bit subregister option 2021-06-11 04:35:40 +09:00
mediatek ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
microchip ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
qcom soc: qcom: rpmpd: Add MSM8226 support 2022-02-24 14:12:34 -06:00
renesas soc: renesas: Kconfig: Introduce ARCH_RZG2L config option 2022-02-24 13:53:25 +01:00
rockchip dtpm/soc/rk3399: Add the ability to unload the module 2022-02-23 19:46:29 +01:00
samsung MAINTAINERS: update Krzysztof Kozlowski's email 2022-03-07 23:46:03 +01:00
sifive
sunxi soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource() 2021-09-13 09:04:05 +02:00
tegra soc/tegra: pmc: Use sys-off handler API to power off Nexus 7 properly 2022-05-19 19:30:31 +02:00
ti soc: ti: k3-socinfo: Add AM62x JTAG ID 2022-02-28 05:35:19 -06:00
ux500
versatile
xilinx Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
Kconfig soc: add microchip polarfire soc system controller 2022-02-25 12:50:59 +01:00
Makefile soc: add microchip polarfire soc system controller 2022-02-25 12:50:59 +01:00