The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladisl
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Seb
too. Let me know
>> if that doesn't help you.
>
> OK great, thanks for the update. I'll test again tomorrow and will
> whine again if I'm seeing issues :)
This fixes nfs boot for me on dra7-evm.
Regards,
Keerthy
>
> Regards,
>
> Tony
> --
> To uns
On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote:
>
>
> On 02.01.2018 12:09, Keerthy wrote:
>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>>
>> Signed-off-by: Keerthy <j-keer...@ti.com>
>> Tested-by: Ladislav Michl <la
On 1/8/2018 8:17 PM, Claudiu Beznea wrote:
On 08.01.2018 16:44, Neil Armstrong wrote:
On 08/01/2018 15:33, Keerthy wrote:
On Monday 08 January 2018 02:14 PM, Claudiu Beznea wrote:
On 02.01.2018 12:09, Keerthy wrote:
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks
On 1/13/2018 2:47 AM, Grygorii Strashko wrote:
On 01/12/2018 03:08 PM, Tony Lindgren wrote:
* Grygorii Strashko [180112 20:36]:
Hi
On 01/10/2018 10:54 PM, Qi Hou wrote:
When more than one GP timers are used as kernel system timers and the
corresponding nodes in
On Tuesday 13 February 2018 08:39 PM, Tony Lindgren wrote:
> * Suman Anna <s-a...@ti.com> [180213 02:07]:
>> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>>> The header file is currently under plat-omap directory
>>> under arch/omap. Move this out to an acc
On Tuesday 13 February 2018 07:36 AM, Suman Anna wrote:
> Hi Keerthy,
>
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> The header file is currently under plat-omap directory
>> under arch/omap. Move this out to an accessible place.
>>
>> No Code changes done to
On Tuesday 13 February 2018 07:54 AM, Suman Anna wrote:
> Hi Keerthy,
>
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> Move the dmtimer driver out of plat-omap to clocksource.
>> So that non-omap devices also could use this.
>
> What non-omap devices do you
On Tuesday 13 February 2018 08:16 AM, Suman Anna wrote:
> On 01/09/2018 12:23 AM, J, KEERTHY wrote:
>> Add timer ops to the platform data structure
>>
>> Signed-off-by: Keerthy <j-keer...@ti.com>
>> Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora
Remove unused timer pdata.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/mach-omap2/pdata-quirks.c | 32
1 file cha
Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
This patch also inlines omap_dm_timer_get_fclk function
for non OMAP1 Config.
Signed-off-by: Keerthy <j-keer...@ti.com>
Tested-by: Ladislav Michl <la...@linux-mips.org>
Reviewed-by: Sebastian Reichel <sebastian.reic...@
in header file under OMAP2PLUS
* Added a new of helper function to fetch plat_data from of node.
Keerthy (9):
clocksource: dmtimer: Remove all the exports
arm: omap: timer: Wrap the inline functions under OMAP2PLUS define
arm: omap: Move dmtimer.h out of plat-omap
clocksource: timer-ti-dm
The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file and renamed to timer-ti-dm.h.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.u
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-ti-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Seb
Remove all the unwanted exports from the driver
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/plat-omap/dmtimer.c | 27 ---
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy <j-keer...@ti.com>
Acked-by: Neil Armstrong <narmstr...@baylibre.com>
Reviewed-by: Claudiu Beznea <claudiu.bez...@microchip.com>
---
drivers/pwm/pwm-o
From: Ladislav Michl <la...@linux-mips.org>
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
Signed-off-by
Add timer ops to the platform data structure
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
include/linux/platform_data/dmtimer-omap.h | 38
Add the timer ops to the platform data
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/clocksource/timer-ti-dm.c | 25 +
1 file chan
Replace architecture specific guard with clocksource guard.
Signed-off-by: Keerthy <j-keer...@ti.com>
Replace architecture specific defines with clocksource
---
include/clocksource/timer-ti-dm.h | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/include/clocksource
e wrong regulator ID. This causes LDO1 to fail to
> suspend in tps65218_pmic_set_suspend_disable due to not having anything
> probes for its strobe value. Fix the order in the enum so the probe
> function works as the update intended.
Reviewed-by: Keerthy <j-keer...@ti.com>
>
> Fixes: 2dc494
On Friday 23 February 2018 12:15 AM, Tony Lindgren wrote:
> * Ladislav Michl <la...@linux-mips.org> [180222 10:58]:
>> On Thu, Feb 15, 2018 at 11:31:45AM +0530, Keerthy wrote:
>>> Replace architecture specific guard with clocksource guard.
>>>
>>>
Changes from v3:
* Reverted to v2 approach of using dev_get_platdata to fetch dmtimer ops.
Changes from V2:
* Wrapped the inline functions in header file under OMAP2PLUS
* Added a new of helper function to fetch plat_data from of node.
Keerthy (8):
clocksource: dmtimer: Remove all
Wrap the inline functions under OMAP2PLUS/OMAP1 defines.
Signed-off-by: Keerthy <j-keer...@ti.com>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/plat-
Add timer ops to the platform data structure
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
include/linux/platform_data/dmtimer-omap.h | 38
From: Ladislav Michl <la...@linux-mips.org>
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl <la...@linux-mips.org>
Signed-off-by
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy <j-keer...@ti.com>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/pwm/pwm-omap-dmtimer.c | 39 ++-
1 file changed, 22 insertions(+), 17 deleti
Remove unused timer pdata.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/mach-omap2/pdata-quirks.c | 32
1 file cha
Move the dmtimer driver out of plat-omap to clocksource.
So that non-omap devices also could use this.
No Code changes done to the driver file only renamed to timer-dm.c.
Also removed the config dependencies for OMAP_DM_TIMER.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Seb
Remove all the unwanted exports from the driver
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
arch/arm/plat-omap/dmtimer.c | 27 ---
From: Ladislav Michl
Invalid prescaler value is silently ignored. Fix that
by returning -EINVAL in such case. As invalid value
disabled use of the prescaler, use -1 explicitely for
that purpose.
Signed-off-by: Ladislav Michl
---
The header file is currently under plat-omap directory
under arch/omap. Move this out to an accessible place.
No Code changes done to the header file.
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladisl
Add the timer ops to the platform data
Signed-off-by: Keerthy <j-keer...@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
Tested-by: Ladislav Michl <la...@linux-mips.org>
---
drivers/clocksource/timer-dm.c | 25 +
1 file chan
From: Russ Dill
SoCs like AM43XX lose clock registers context during RTC-only
suspend. Hence add functions to save/restore the clock registers
context.
Signed-off-by: Keerthy
Signed-off-by: Russ Dill
---
drivers/clk/ti/clock.h| 2 +
drivers/clk/ti/divider.c | 36
-by: Keerthy
---
drivers/clk/clk.c| 19 +++
include/linux/clk-provider.h | 2 ++
2 files changed, 21 insertions(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 7347e06..c201b8b 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -910,6 +910,25 @@ static
From: Russ Dill
Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.
Signed-off-by: Keerthy
Signed-off-by: Russ Dill
---
drivers
Save/restore clk context based on enable_off_mode setting.
The context needs to be saved at the very end of suspend path
and restored at the beginning of resume path.
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/pm33xx-core.c| 15 +++
drivers/soc/ti/pm33xx.c | 13
Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.
Tested for DS0 on am437x-gp-evm
Based on top of linux-next
Keerthy (2):
clk
On Wednesday 25 July 2018 07:57 PM, Bartlomiej Zolnierkiewicz wrote:
> On Wednesday, July 11, 2018 07:49:41 AM J, KEERTHY wrote:
>>
>> On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote:
>>> .report_temperature is not set in dra752_data which
>>> results
the CLOCK_SOURCE_SUSPEND_NONSTOP flag.
Suggested-by: Grygorii Strashko
Signed-off-by: Keerthy
---
drivers/clocksource/timer-ti-32k.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clocksource/timer-ti-32k.c
b/drivers/clocksource/timer-ti-32k.c
index 880a861..7368e8e
On Wednesday 08 August 2018 02:36 PM, Tony Lindgren wrote:
> * Keerthy [180725 05:59]:
>> RTC alarm2 is connected to pmic_en line and hence can be used to control
>> the pmic enabling/disabling. Hence add the system-power-controller for rtc
>> node.
>>
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
over try again.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 25 +++--
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index 44ff4cc
Use of_device_is_system_power_controller instead of manually reading
the system-power-controller property from the device tree node.
Reviewed-by: Johan Hovold
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc
On Wednesday 25 July 2018 03:00 PM, Alexandre Belloni wrote:
> Hi,
>
> On 25/07/2018 11:21:22+0530, Keerthy wrote:
>> Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
>> over try again.
>>
>> Signed-off-by: Keerthy
>> ---
>>
&g
On Tuesday 14 August 2018 02:53 PM, Johan Hovold wrote:
> On Wed, Jul 25, 2018 at 11:21:22AM +0530, Keerthy wrote:
>> Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
>> over try again.
>>
>> Signed-off-by: Keerthy
>> ---
>>
>>
The 32k clocksource is NONSTOP for non-am43 SoCs. Hence
add the flag for all the other SoCs.
Reported-by: Tony Lindgren
Signed-off-by: Keerthy
---
drivers/clocksource/timer-ti-32k.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/clocksource/timer-ti-32k.c
b/drivers
The 32k clocksource is NONSTOP for non-am43 SoCs. Hence
add the flag for all the other SoCs.
Reported-by: Tony Lindgren
Signed-off-by: Keerthy
Acked-by: Tony Lindgren
---
Changes in v2:
* Changed am43 compatible to more generic ti,am43 to cover epos boards.
* Added Tony's Ack.
drivers
Enable DS0 for only those platforms on which it is functional
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/pm33xx-core.c| 5 +
drivers/soc/ti/pm33xx.c | 9 +
include/linux/platform_data/pm33xx.h | 2 ++
3 files changed, 16 insertions(+)
diff --git a/arch/arm/mach
On Thursday 19 July 2018 06:16 PM, Keerthy wrote:
>
>
> On Thursday 19 July 2018 06:06 PM, Johan Hovold wrote:
>> On Thu, Jul 19, 2018 at 05:52:17PM +0530, Keerthy wrote:
>>> On Thursday 19 July 2018 05:23 PM, Keerthy wrote:
>>>> On Thursday 19 Ju
ith the process here, does
>>>> this require anything on my end? And would that require the
>>>> accompanying patch to be reverted: "ata: ahci: rpm_put port on
>>>> port_stop to match rpm_get in port_start"? There shouldn't be any
>>>> problem leaving that one in, but I just want to know before submitting
>>>> my next patch set.
>>>
>>> Well usually the maintainer just reverts the regression causing
>>> patch in the related branch and that's it.
>>>
>>> Stephen, can you please revert in next until we hear back from
>>> Tejun?
>>
>> OK, I have reverted that commit from today. Please let me know when the
>> problem is fixed in the libata tree ...
Hi Stephen,
Thanks for the revert.
commit 1dcbe5f2c615337cb7d4e13fab198ab716180733
Author: Stephen Rothwell
Date: Tue Jul 17 19:02:59 2018 +1000
With the above top commit i confirm that BEAGLE-X15, AM572X-IDK,
AM574X-IDK, DRA7, DRA72 TI platforms booted to prompt.
Regards,
Keerthy
>
> Thanks!
>
> Tony
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
over try again.
Signed-off-by: Keerthy
---
Changes in v5:
* Added an additional check to see if ALARM2 status is not set
before retrying.
* Cleaned up comments
* Also reduced mdelay to 1S lesser as per this commit
Use of_device_is_system_power_controller instead of manually reading
the system-power-controller property from the device tree node.
Reviewed-by: Johan Hovold
Signed-off-by: Keerthy
---
Changes in v5:
* Added Johan's Reviewed-by
drivers/rtc/rtc-omap.c | 3 +--
1 file changed, 1 insertion
RTC alarm2 is connected to pmic_en line and hence can be used to control
the pmic enabling/disabling. Hence add the system-power-controller for rtc
node.
Signed-off-by: Keerthy
---
arch/arm/boot/dts/am4372.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b
On Thursday 19 July 2018 05:23 PM, Keerthy wrote:
>
>
> On Thursday 19 July 2018 03:32 PM, Johan Hovold wrote:
>> On Thu, Jul 12, 2018 at 10:37:37AM +0530, Keerthy wrote:
>>> Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
>>> over try agai
On Thursday 19 July 2018 06:06 PM, Johan Hovold wrote:
> On Thu, Jul 19, 2018 at 05:52:17PM +0530, Keerthy wrote:
>> On Thursday 19 July 2018 05:23 PM, Keerthy wrote:
>>> On Thursday 19 July 2018 03:32 PM, Johan Hovold wrote:
>>>> On Thu, Jul 12, 2018 at 1
On Thursday 19 July 2018 03:32 PM, Johan Hovold wrote:
> On Thu, Jul 12, 2018 at 10:37:37AM +0530, Keerthy wrote:
>> Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
>> over try again.
>>
>> Signed-off-by: Keerthy
>> ---
>>
>>
On Sunday 09 September 2018 01:11 AM, Grygorii Strashko wrote:
>
>
> On 09/06/2018 09:16 AM, Keerthy wrote:
>>
>>
>> On Wednesday 05 September 2018 04:07 PM, Linus Walleij wrote:
>>> On Mon, Sep 3, 2018 at 7:40 AM Keerthy wrote:
>>>> On Satu
On Wednesday 05 September 2018 04:07 PM, Linus Walleij wrote:
> On Mon, Sep 3, 2018 at 7:40 AM Keerthy wrote:
>> On Saturday 01 September 2018 12:43 AM, Andrew F. Davis wrote:
>>> Use dev_name to get a unique label and use -1 for a base to get our
>>> selection au
On Wednesday 04 July 2018 01:11 PM, Alexandre Belloni wrote:
> Hi,
>
> On 04/07/2018 12:03:45+0530, Keerthy wrote:
>> Prepare rtc driver for rtc-only mode. This involes splitting the power-off
>> function so that an external driver can initiate the programming of
>
Add support for RTC mode to low level suspend code. This includes
providing the rtc base address for the assembly code to configuring the
PMIC_PWR_EN line late in suspend to enter RTC+DDR mode.
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/pm-asm-offsets.c | 2
context,
put the memory into self refresh and disable the EMIF, and/or invoke
the wkup_m3 when entering into WFI.
Signed-off-by: Dave Gerlach
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
---
arch/arm/mach-omap2/pm33xx-core.c| 10 ---
arch/arm/mach-omap2/sleep33xx.S | 44
Prepare rtc driver for rtc-only mode. This involes splitting the power-off
function so that an external driver can initiate the programming of
setting the power_off to be triggered in the next second.
Signed-off-by: Keerthy
---
drivers/rtc/interface.c | 12
drivers/rtc/rtc-omap.c | 164
Prepare rtc driver for rtc-only with DDR in self-refresh mode.
The patch series is based on top of Johan Hovald's series:
https://lkml.kernel.org/r/20180704090558.16647-1-jo...@kernel.org
Tested for suspend/resume and poweroff on am437x-gp-evm.
Keerthy (4):
rtc: omap: Cut down the shutdown
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
over try again.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index 323ff55..14f2241 100644
the OMAP_RTC_PMIC_REG for any external wake ups for PMIC like
the pushbutton and shuts off the PMIC.
Hence the split in omap_rtc_power_off.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 58 +-
1 file changed, 43 insertions(+), 15 deletions(-)
diff
Use of_device_is_system_power_controller instead of manually reading
the system-power-controller property from the device tree node.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc
Add an interface function to set up the rtc for a power_off
mode.
Signed-off-by: Keerthy
---
Alexandre,
If you feel power_off_program will be very use case specific then
I can name this as custom_rtc_program so that even other rtc
drivers if need be can use this for a custom programming
Prepare rtc driver for rtc-only with DDR in self-refresh mode.
The patch series is based on top of Johan Hovald's series:
https://lkml.kernel.org/r/20180704090558.16647-1-jo...@kernel.org
Tested for suspend/resume and poweroff on am437x-gp-evm.
Keerthy (4):
rtc: omap: Cut down the shutdown
Add an interface function to set up the rtc for a power_off
mode.
Signed-off-by: Keerthy
---
drivers/rtc/interface.c | 12
drivers/rtc/rtc-omap.c | 1 +
include/linux/rtc.h | 2 ++
3 files changed, 15 insertions(+)
diff --git a/drivers/rtc/interface.c b/drivers/rtc
Use of_device_is_system_power_controller instead of manually reading
the system-power-controller property from the device tree node.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc
the OMAP_RTC_PMIC_REG for any external wake ups for PMIC like
the pushbutton and shuts off the PMIC.
Hence the split in omap_rtc_power_off.
Signed-off-by: Keerthy
---
drivers/rtc/rtc-omap.c | 53 --
1 file changed, 38 insertions(+), 15 deletions(-)
diff
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll
over try again.
Signed-off-by: Keerthy
---
Changes in v4:
* Fixed a compilation issue.
* Extended the roll over check post interrupt programming.
drivers/rtc/rtc-omap.c | 13 +++--
1 file changed, 11 insertions
On Monday 09 July 2018 02:59 PM, Alexandre Belloni wrote:
> On 09/07/2018 09:55:53+0200, Johan Hovold wrote:
>> On Mon, Jul 09, 2018 at 11:41:49AM +0530, Keerthy wrote:
>>> Prepare rtc driver for rtc-only with DDR in self-refresh mode.
>>> omap_rtc_power_off now s
and am43xx_emif_sram_table
Signed-off-by: Dave Gerlach
Signed-off-by: Keerthy
---
Changes in v2:
* Swapped the bit definitons from patch 2 to 1
arch/arm/mach-omap2/pm-asm-offsets.c | 2 ++
arch/arm/mach-omap2/pm33xx-core.c| 10 +++
arch/arm/mach-omap2/sleep33xx.S | 5 ++--
arch/arm/mach-omap2
the OMAP_RTC_PMIC_REG for any external wake ups for PMIC like
the pushbutton and shuts off the PMIC.
Hence the split in omap_rtc_power_off.
Signed-off-by: Keerthy
---
Changes in v2:
* Add details in the commit log.
* Use of_device_is_system_power_controller to check if rtc node is
indeed
On Monday 09 July 2018 01:25 PM, Johan Hovold wrote:
> On Mon, Jul 09, 2018 at 11:41:49AM +0530, Keerthy wrote:
>> Prepare rtc driver for rtc-only with DDR in self-refresh mode.
>> omap_rtc_power_off now should cater to two features:
>>
>> 1) RTC plus DDR in self-ref
context,
put the memory into self refresh and disable the EMIF, and/or invoke
the wkup_m3 when entering into WFI.
Signed-off-by: Dave Gerlach
Signed-off-by: Tero Kristo
Signed-off-by: Keerthy
---
Changes in v2:
* Swapped the bit definitons from patch 2 to 1.
arch/arm/mach-omap2/pm33xx
On Wednesday 24 January 2018 10:56 AM, Keerthy wrote:
>
>
> On Monday 22 January 2018 04:23 PM, Ladislav Michl wrote:
>> Dear Claudiu,
>>
>> On Mon, Jan 22, 2018 at 11:17:08AM +0200, Claudiu Beznea wrote:
>>> On 17.01.2018 23:47, Ladislav Michl wrote:
&
ous suggestions found here:
> https://patchwork.kernel.org/patch/10140209/
> I'd say this fix belongs to patch which introduces of_node_put() in the error
> path. I'll then rebase this patches on top of the fix.
Agreed. I missed the success path as i assumed only error paths needed
te of_node_put(). I will post v8 of this patch alone as other patches
can be left untouched. Hope that is okay.
Regards,
Keerthy
>
> Thank you,
> ladis
>
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy <j-keer...@ti.com>
Acked-by: Neil Armstrong <narmstr...@baylibre.com>
Reviewed-by: Claudiu Beznea <claudiu.bez...@microchip.com>
---
Changes in v8:
* Added of_node_put call in suc
On Wednesday 24 January 2018 12:54 PM, Ladislav Michl wrote:
> Keerthy,
>
> On Wed, Jan 24, 2018 at 11:14:40AM +0530, Keerthy wrote:
>> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>>
>> Signed-off-by: Keerthy <j-keer...@ti.com>
>
On Wednesday 24 January 2018 04:49 PM, Keerthy wrote:
> Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
>
> Signed-off-by: Keerthy <j-keer...@ti.com>
> Acked-by: Neil Armstrong <narmstr...@baylibre.com>
> Reviewed-by: Claudiu Beznea &l
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy <j-keer...@ti.com>
Acked-by: Neil Armstrong <narmstr...@baylibre.com>
Reviewed-by: Claudiu Beznea <claudiu.bez...@microchip.com>
---
Changes in v9:
* Reorganized the place where of_n
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks.
Signed-off-by: Keerthy <j-keer...@ti.com>
Acked-by: Neil Armstrong <narmstr...@baylibre.com>
Reviewed-by: Claudiu Beznea <claudiu.bez...@microchip.com>
---
Changes in v10:
* Corrected a return variab
states
are supported.
Signed-off-by: Keerthy
---
.../devicetree/bindings/power/power-states.txt | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/power-states.txt
diff --git a/Documentation/devicetree/bindings/power/power
On Thursday 12 April 2018 07:46 PM, Tony Lindgren wrote:
> Hi,
>
> * Keerthy <j-keer...@ti.com> [180412 03:56]:
>> From: Russ Dill <russ.d...@gmail.com>
>>
>> This adds a pair of context save/restore functions to save/restore the
>> state of a s
From: Russ Dill <russ.d...@ti.com>
This is used to support suspend modes like RTC-only and hibernate where
the state of the registers controlling clockdomains is lost.
Signed-off-by: Russ Dill <russ.d...@ti.com>
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-b
From: Tero Kristo <t-kri...@ti.com>
These registers are part of the wkup domain and are lost during RTC only
suspend and also hibernation, so storing/restoring their state is
necessary.
Signed-off-by: Tero Kristo <t-kri...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
Keerthy (1):
OMAP: CLK: CLKSRC: Add suspend resume hooks
Russ Dill (7):
ARM: OMAP2: Add functions to save and restore clockdomain context
en-masse.
ARM: OMAP2: Add functions to save and restore omap hwmod context
en-masse.
ARM: OMAP2: Add functions to save and restore powerdomain
still face the issue described above. This can be prevented by
calling _reidle on all hwmods that need it for any module that is being
disabled to return to it's previous state.
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-by: Russ Dill <russ.d...@ti.com>
Signed-off-b
l stop working from DeepSleep
after resuming.
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
arch/arm/mach-omap2/prm.h | 2 ++
arch/arm/mach-omap2/prm44xx.c | 29 +
2 files changed, 31 insertions(+)
diff --g
atever context this is
called the proper IRQ configuration is maintained.
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
arch/arm/mach-omap2/omap_hwmod_reset.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/a
From: Russ Dill <russ.d...@ti.com>
It isn't much of a win, and with hibernation, everything loses context.
So Drop the concept of certain power domains not being able to lose
context.
Signed-off-by: Russ Dill <russ.d...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
a
From: Russ Dill <russ.d...@ti.com>
These registers are part of the wkup domain and are lost during RTC only
suspend and also hibernation, so storing/restoring their state is
necessary.
Signed-off-by: Russ Dill <russ.d...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
a
ensure the flag is not misconfigured
during non off-mode operation.
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
drivers/gpio/gpio-omap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
i
de can perform the necessary
save/restore.
This will also be necessary for hibernation and RTC only sleep, as all
pinctrl registers all lost.
Signed-off-by: Russ Dill <russ.d...@gmail.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
drivers/pinctrl/core.c | 1 +
driv
From: Russ Dill <russ.d...@ti.com>
It isn't much of a win, and with hibernation, everything loses context.
Signed-off-by: Russ Dill <russ.d...@ti.com>
Signed-off-by: Keerthy <j-keer...@ti.com>
---
drivers/gpio/gpio-omap.c| 38 --
Add the save and restore for clksrc as part of suspend and resume
so that it saves the counter value and restores. This is needed in
modes like rtc+ddr in self-refresh not doing this stalls the time.
Signed-off-by: Keerthy <j-keer...@ti.com>
---
arch/arm/mach-omap2/timer.
change,
perhaps we only need to change memory retention states, so make
sure the restored state is different from the current state before we wait
for a transition.
Signed-off-by: Keerthy <j-keer...@ti.com>
Signed-off-by: Dave Gerlach <d-gerl...@ti.com>
Signed-off-by: Russ Dill
801 - 900 of 2181 matches
Mail list logo