diff options
author | Olof Johansson <olof@lixom.net> | 2019-06-17 08:17:10 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-06-17 08:17:10 -0400 |
commit | 24cb4bc8f0c9ee346826f33e6dcbdbc533cc6ad8 (patch) | |
tree | 972f5f17852aa394ce0a4a3e61c5ffb9ec090570 | |
parent | b41e48a82bcf056cbb9f4194a5f21504d24f0139 (diff) | |
parent | 45450f36e569e5162957df488b0174c9a952e1b0 (diff) |
Merge tag 'omap-for-v5.3/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/soc
ti-sysc soc changes for v5.3
Just two changes to make few platform data functions static, and to
call dev_info() if am437x is suspending to RTC-only mode. We want to
see this in case of issues as it depends on the board wiring for things
like DDR memory.
* tag 'omap-for-v5.3/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh
ARM: OMAP2+: Make some variables static
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 8 | ||||
-rw-r--r-- | drivers/soc/ti/pm33xx.c | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c index 4c3543bae562..adb6271f819b 100644 --- a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | |||
@@ -529,7 +529,7 @@ static struct omap_hwmod_class_sysconfig am33xx_gpio_sysc = { | |||
529 | .sysc_fields = &omap_hwmod_sysc_type1, | 529 | .sysc_fields = &omap_hwmod_sysc_type1, |
530 | }; | 530 | }; |
531 | 531 | ||
532 | struct omap_hwmod_class am33xx_gpio_hwmod_class = { | 532 | static struct omap_hwmod_class am33xx_gpio_hwmod_class = { |
533 | .name = "gpio", | 533 | .name = "gpio", |
534 | .sysc = &am33xx_gpio_sysc, | 534 | .sysc = &am33xx_gpio_sysc, |
535 | }; | 535 | }; |
@@ -539,7 +539,7 @@ static struct omap_hwmod_opt_clk gpio1_opt_clks[] = { | |||
539 | { .role = "dbclk", .clk = "gpio1_dbclk" }, | 539 | { .role = "dbclk", .clk = "gpio1_dbclk" }, |
540 | }; | 540 | }; |
541 | 541 | ||
542 | struct omap_hwmod am33xx_gpio1_hwmod = { | 542 | static struct omap_hwmod am33xx_gpio1_hwmod = { |
543 | .name = "gpio2", | 543 | .name = "gpio2", |
544 | .class = &am33xx_gpio_hwmod_class, | 544 | .class = &am33xx_gpio_hwmod_class, |
545 | .clkdm_name = "l4ls_clkdm", | 545 | .clkdm_name = "l4ls_clkdm", |
@@ -559,7 +559,7 @@ static struct omap_hwmod_opt_clk gpio2_opt_clks[] = { | |||
559 | { .role = "dbclk", .clk = "gpio2_dbclk" }, | 559 | { .role = "dbclk", .clk = "gpio2_dbclk" }, |
560 | }; | 560 | }; |
561 | 561 | ||
562 | struct omap_hwmod am33xx_gpio2_hwmod = { | 562 | static struct omap_hwmod am33xx_gpio2_hwmod = { |
563 | .name = "gpio3", | 563 | .name = "gpio3", |
564 | .class = &am33xx_gpio_hwmod_class, | 564 | .class = &am33xx_gpio_hwmod_class, |
565 | .clkdm_name = "l4ls_clkdm", | 565 | .clkdm_name = "l4ls_clkdm", |
@@ -579,7 +579,7 @@ static struct omap_hwmod_opt_clk gpio3_opt_clks[] = { | |||
579 | { .role = "dbclk", .clk = "gpio3_dbclk" }, | 579 | { .role = "dbclk", .clk = "gpio3_dbclk" }, |
580 | }; | 580 | }; |
581 | 581 | ||
582 | struct omap_hwmod am33xx_gpio3_hwmod = { | 582 | static struct omap_hwmod am33xx_gpio3_hwmod = { |
583 | .name = "gpio4", | 583 | .name = "gpio4", |
584 | .class = &am33xx_gpio_hwmod_class, | 584 | .class = &am33xx_gpio_hwmod_class, |
585 | .clkdm_name = "l4ls_clkdm", | 585 | .clkdm_name = "l4ls_clkdm", |
diff --git a/drivers/soc/ti/pm33xx.c b/drivers/soc/ti/pm33xx.c index fc5802ccb1c0..bb77c220b6f8 100644 --- a/drivers/soc/ti/pm33xx.c +++ b/drivers/soc/ti/pm33xx.c | |||
@@ -178,6 +178,7 @@ static int am33xx_pm_suspend(suspend_state_t suspend_state) | |||
178 | suspend_wfi_flags); | 178 | suspend_wfi_flags); |
179 | 179 | ||
180 | suspend_wfi_flags &= ~WFI_FLAG_RTC_ONLY; | 180 | suspend_wfi_flags &= ~WFI_FLAG_RTC_ONLY; |
181 | dev_info(pm33xx_dev, "Entering RTC Only mode with DDR in self-refresh\n"); | ||
181 | 182 | ||
182 | if (!ret) { | 183 | if (!ret) { |
183 | clk_restore_context(); | 184 | clk_restore_context(); |