diff mbox series

soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh

Message ID 20190429044435.19315-1-j-keerthy@ti.com (mailing list archive)
State New, archived
Headers show
Series soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh | expand

Commit Message

J, KEERTHY April 29, 2019, 4:44 a.m. UTC
Currently there is no way to distinguish if the SoC entered DS0
mode or the RTC only mode. Hence add a print before entering
the RTC only mode.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 drivers/soc/ti/pm33xx.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Santosh Shilimkar April 29, 2019, 6:39 p.m. UTC | #1
On 4/28/19 9:44 PM, Keerthy wrote:
> Currently there is no way to distinguish if the SoC entered DS0
> mode or the RTC only mode. Hence add a print before entering
> the RTC only mode.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>

Tony, Am assuming you will queue this up ?
Tony Lindgren April 29, 2019, 6:42 p.m. UTC | #2
* santosh.shilimkar@oracle.com <santosh.shilimkar@oracle.com> [190429 18:40]:
> On 4/28/19 9:44 PM, Keerthy wrote:
> > Currently there is no way to distinguish if the SoC entered DS0
> > mode or the RTC only mode. Hence add a print before entering
> > the RTC only mode.
> > 
> > Signed-off-by: Keerthy <j-keerthy@ti.com>
> > ---
> Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
> 
> Tony, Am assuming you will queue this up ?

OK yeah I'll queue it.

Thanks,

Tony
Tony Lindgren June 10, 2019, 12:20 p.m. UTC | #3
* Tony Lindgren <tony@atomide.com> [190429 18:43]:
> * santosh.shilimkar@oracle.com <santosh.shilimkar@oracle.com> [190429 18:40]:
> > On 4/28/19 9:44 PM, Keerthy wrote:
> > > Currently there is no way to distinguish if the SoC entered DS0
> > > mode or the RTC only mode. Hence add a print before entering
> > > the RTC only mode.
> > > 
> > > Signed-off-by: Keerthy <j-keerthy@ti.com>
> > > ---
> > Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
> > 
> > Tony, Am assuming you will queue this up ?
> 
> OK yeah I'll queue it.

Just found this still sitting in my inbox, applying into omap-for-v5.3/soc.
Sorry for the delay.

Regards,

Tony
diff mbox series

Patch

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)
 					  suspend_wfi_flags);
 
 		suspend_wfi_flags &= ~WFI_FLAG_RTC_ONLY;
+		dev_info(pm33xx_dev, "Entering RTC Only mode with DDR in self-refresh\n");
 
 		if (!ret) {
 			clk_restore_context();