linux/drivers/soc
Keerthy 5a99ae0092 soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support
During RTC-only suspend, power is lost to the wkup domain, so we need to
save and restore the state of that domain. We also need to store some
information within the RTC registers so that u-boot can do the right thing
at powerup.

The state is entered by getting the RTC to bring the pmic_power_en line low
which will instruct the PMIC to disable the appropriate power rails after
putting DDR into self-refresh mode. To bring pmic_power_en low, we need to
get an ALARM2 event. Since we are running from SRAM at that point, it means
calculating what the next second is (via ASM) and programming that into the
RTC. This patch also adds support for wake up source detection.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2019-04-08 10:39:01 -07:00
..
actions soc: actions: sps: Add S900 power domains 2018-09-30 16:48:10 +02:00
amlogic soc: amlogic: clk-measure: add axg and g12a support 2019-02-07 16:50:36 -08:00
atmel ARM: at91: add support in soc driver for new SAM9X60 2018-12-12 11:55:20 +01:00
bcm soc: bcm: bcm2835-pm: Make local symbol static 2019-01-31 21:05:58 -08:00
dove soc: Convert to using %pOFn instead of device_node.name 2018-10-04 14:16:01 -05:00
fsl ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
gemini soc: Add SoC driver for Gemini 2018-01-04 17:01:53 +01:00
imx soc: imx: Break dependency on SOC_IMX8MQ for GPCv2 2019-01-14 09:42:22 +08:00
lantiq MIPS: lantiq: Remove separate GPHY Firmware loader 2019-02-25 14:17:10 -08:00
mediatek soc: mediatek: Add Mediatek CMDQ helper 2018-12-02 20:46:10 +01:00
qcom soc: qcom: llcc-slice: Fix typos 2019-02-15 16:30:34 -06:00
renesas soc: renesas: r8a774c0-sysc: Fix initialization order of 3DG-{A,B} 2019-01-07 14:51:51 +01:00
rockchip soc: rockchip: power-domain: add rk3066 powerdomains 2018-11-06 14:13:32 +01:00
samsung soc: samsung: pm_domains: Deprecate support for clocks 2018-04-17 17:25:42 +02:00
sunxi soc: sunxi: sram: Add support for the H5 SoC system control 2018-12-05 11:55:36 +01:00
tegra ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
ti soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support 2019-04-08 10:39:01 -07:00
ux500
versatile soc: versatile: remove unnecessary static in realview_soc_probe() 2017-08-16 22:28:27 +02:00
xilinx drivers: soc: xilinx: Add ZynqMP power domain driver 2019-02-12 13:38:16 +01:00
zte soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST 2017-07-27 13:12:34 +02:00
Kconfig soc: xilinx: Create folder structure for soc specific drivers 2018-01-08 13:42:39 +01:00
Makefile drivers: soc: Allow building the amlogic drivers without ARCH_MESON 2018-11-15 12:25:20 -08:00