linux/drivers/soc/ti
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
..
Kconfig soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support 2019-04-08 10:39:01 -07:00
knav_dma.c soc: ti: knav_dma: Use proper enum in pktdma_init_chan 2019-01-30 10:22:17 -08:00
knav_qmss_acc.c soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-02 11:22:09 -07:00
knav_qmss_queue.c soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-02 11:22:09 -07:00
knav_qmss.h soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-02 11:22:09 -07:00
Makefile soc: ti: Add pm33xx driver for basic suspend support 2018-02-27 08:53:46 -08:00
pm33xx.c soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support 2019-04-08 10:39:01 -07:00
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: Populate name for genpd 2017-08-18 11:59:53 +02:00
wkup_m3_ipc.c soc: ti: wkup_m3: Add PRCM int16 as the wake up source 2018-11-19 10:36:25 -08:00