[PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-01-08 Thread Keerthy
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

[PATCH v7 4/9] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-01-08 Thread Keerthy
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

Re: NFSroot regression in next with handle inode->i_version

2018-01-10 Thread Keerthy
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

Re: [PATCH v6 08/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-08 Thread Keerthy
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

Re: [PATCH v6 08/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-08 Thread Keerthy
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

Re: [PATCH, v3] arm: omap2: timer: fix a kmemleak caused in omap_get_timer_dt

2018-01-12 Thread Keerthy
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

Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-02-13 Thread Keerthy
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

Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-02-13 Thread Keerthy
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

Re: [PATCH v7 4/9] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-02-13 Thread Keerthy
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

Re: [PATCH v7 5/9] dmtimer: Add timer ops to the platform data structure

2018-02-13 Thread Keerthy
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

[PATCH v11 10/10] arm: omap: pdata-quirks: Remove unused timer pdata

2018-02-14 Thread Keerthy
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

[PATCH v11 02/10] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2018-02-14 Thread Keerthy
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...@

[PATCH v11 00/10] omap: dmtimer: Move driver out of plat-omap

2018-02-14 Thread Keerthy
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

[PATCH v11 03/10] arm: omap: Move dmtimer.h out of plat-omap

2018-02-14 Thread Keerthy
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

[PATCH v11 05/10] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-02-14 Thread Keerthy
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

[PATCH v11 01/10] clocksource: dmtimer: Remove all the exports

2018-02-14 Thread Keerthy
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 ---

[PATCH v11 09/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-02-14 Thread Keerthy
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

[PATCH v11 08/10] clocksource: timer-ti-dm: Hook device platform data if not already assigned

2018-02-14 Thread Keerthy
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

[PATCH v11 06/10] timer-ti-dm: Add timer ops to the platform data structure

2018-02-14 Thread Keerthy
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

[PATCH v11 07/10] clocksource: timer-ti-dm: Populate the timer ops to the pdata

2018-02-14 Thread Keerthy
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

[PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-14 Thread Keerthy
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

Re: [PATCH] mfd: tps65218: Reorder tps65218_regulator_id enum

2018-02-15 Thread Keerthy
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

Re: [PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-22 Thread Keerthy
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. >>> >>>

[PATCH v6 00/10] omap: dmtimer: Move driver out of plat-omap

2018-01-02 Thread Keerthy
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

[PATCH v6 02/10] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2018-01-02 Thread Keerthy
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-

[PATCH v6 05/10] dmtimer: Add timer ops to the platform data structure

2018-01-02 Thread Keerthy
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

[PATCH v6 07/10] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-02 Thread Keerthy
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

[PATCH v6 08/10] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-02 Thread Keerthy
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

[PATCH v6 09/10] arm: omap: pdata-quirks: Remove unused timer pdata

2018-01-02 Thread Keerthy
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

[PATCH v6 04/10] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2018-01-02 Thread Keerthy
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

[PATCH v6 01/10] clocksource: dmtimer: Remove all the exports

2018-01-02 Thread Keerthy
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 ---

[PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-02 Thread Keerthy
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 ---

[PATCH v6 03/10] arm: omap: Move dmtimer.h out of plat-omap

2018-01-02 Thread Keerthy
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

[PATCH v6 06/10] clocksource: dmtimer: Populate the timer ops to the pdata

2018-01-02 Thread Keerthy
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

[PATCH 3/4] clk: ti: Add functions to save/restore clk context

2018-06-18 Thread Keerthy
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

[PATCH 2/4] clk: clk: Add clk_dflt_restore

2018-06-18 Thread Keerthy
-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

[PATCH 1/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-18 Thread Keerthy
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

[PATCH 4/4] soc: ti: pm33xx: Save/restore clk context based on enable_off_mode setting

2018-06-18 Thread Keerthy
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

[PATCH 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-18 Thread Keerthy
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

Re: [PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-07-26 Thread Keerthy
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

[PATCH] clocksource: ti-32k: Remove CLOCK_SOURCE_SUSPEND_NONSTOP flag

2018-08-02 Thread Keerthy
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

Re: [PATCH] arm: dts: am4372: setup rtc as system-power-controller

2018-08-08 Thread Keerthy
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. >>

[PATCH v6 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-15 Thread Keerthy
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

[PATCH v6 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-08-15 Thread Keerthy
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

Re: [PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-14 Thread Keerthy
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

Re: [PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-14 Thread Keerthy
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 >> --- >> >>

[PATCH] clocksource: ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-08-07 Thread 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

[PATCH v2] clocksource: ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-08-08 Thread 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 Acked-by: Tony Lindgren --- Changes in v2: * Changed am43 compatible to more generic ti,am43 to cover epos boards. * Added Tony's Ack. drivers

[PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-21 Thread Keerthy
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

Re: [PATCH v4 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-20 Thread Keerthy
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

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-07-17 Thread Keerthy
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 >

[PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-24 Thread Keerthy
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

[PATCH v5 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-07-24 Thread Keerthy
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

[PATCH] arm: dts: am4372: setup rtc as system-power-controller

2018-07-24 Thread Keerthy
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

Re: [PATCH v4 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-19 Thread Keerthy
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

Re: [PATCH v4 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-19 Thread Keerthy
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

Re: [PATCH v4 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-19 Thread Keerthy
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 >> --- >> >>

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-09 Thread 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

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-06 Thread Keerthy
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

Re: [PATCH] rtc: OMAP: Add support for rtc-only mode

2018-07-04 Thread Keerthy
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 >

[PATCH 2/2] ARM: OMAP2+: sleep43xx: Add RTC-Mode support

2018-07-04 Thread Keerthy
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

[PATCH 1/2] ARM: OMAP2+: sleep33/43xx: Make sleep actions configurable

2018-07-04 Thread Keerthy
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

[PATCH] rtc: OMAP: Add support for rtc-only mode

2018-07-04 Thread Keerthy
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

[PATCH v3 0/4] rtc: OMAP: Add support for rtc-only mode

2018-07-10 Thread Keerthy
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

[PATCH v3 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-10 Thread Keerthy
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

[PATCH v3 2/4] rtc: OMAP: Add support for rtc-only mode

2018-07-10 Thread Keerthy
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

[PATCH v3 3/4] rtc: omap: use of_device_is_system_power_controller function

2018-07-10 Thread Keerthy
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

[PATCH v3 4/4] rtc: interface: Add power_off_program to rtc_class_ops

2018-07-10 Thread Keerthy
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

[PATCH v4 0/4] rtc: OMAP: Add support for rtc-only mode

2018-07-11 Thread Keerthy
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

[PATCH v4 4/4] rtc: interface: Add power_off_program to rtc_class_ops

2018-07-11 Thread Keerthy
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

[PATCH v4 3/4] rtc: omap: use of_device_is_system_power_controller function

2018-07-11 Thread Keerthy
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

[PATCH v4 2/4] rtc: OMAP: Add support for rtc-only mode

2018-07-11 Thread Keerthy
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

[PATCH v4 1/4] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-11 Thread Keerthy
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

Re: [PATCH v2] rtc: OMAP: Add support for rtc-only mode

2018-07-09 Thread Keerthy
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

[PATCH v2 2/2] ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support

2018-07-09 Thread Keerthy
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

[PATCH v2] rtc: OMAP: Add support for rtc-only mode

2018-07-09 Thread Keerthy
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

Re: [PATCH v2] rtc: OMAP: Add support for rtc-only mode

2018-07-09 Thread Keerthy
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

[PATCH v2 1/2] ARM: OMAP2+: sleep33/43xx: Make sleep actions configurable

2018-07-09 Thread Keerthy
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

Re: [PATCH 2/3] pwm: pwm-omap-dmtimer: Fix frequency when using prescaler

2018-01-23 Thread Keerthy
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: &

Re: [PATCH 2/3] pwm: pwm-omap-dmtimer: Fix frequency when using prescaler

2018-01-23 Thread Keerthy
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 >

[PATCH v8 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-23 Thread Keerthy
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

Re: [PATCH v8 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-24 Thread Keerthy
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> >

Re: [PATCH v9 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-24 Thread Keerthy
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

[PATCH v9 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-24 Thread Keerthy
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

[PATCH v10 8/9] pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops

2018-01-24 Thread Keerthy
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

[PATCH] dt-bindings: power: Introduce suspend states supported properties

2018-09-11 Thread Keerthy
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

Re: [PATCH 08/14] ARM: OMAP2: Add functions to save and restore pinctrl context.

2018-04-13 Thread Keerthy
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

[PATCH 02/14] ARM: OMAP2: Add functions to save and restore clockdomain context en-masse.

2018-04-11 Thread Keerthy
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

[PATCH 07/14] ARM: AM43XX: Add functions to save/restore am43xx control registers

2018-04-11 Thread Keerthy
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>

[PATCH 00/14] arm: OMAP: AM437X: Save restores patches for rtc mode with DDR In self-refresh

2018-04-11 Thread Keerthy
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

[PATCH 04/14] ARM: OMAP2: Add functions to save and restore omap hwmod context en-masse.

2018-04-11 Thread Keerthy
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

[PATCH 14/14] ARM: OMAP2+: prm44xx: Introduce context save/restore for am43 PRCM IO

2018-04-11 Thread Keerthy
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

[PATCH 13/14] ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled

2018-04-11 Thread Keerthy
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

[PATCH 09/14] ARM: OMAP2: Drop the concept of certain power domains not being able to lose context.

2018-04-11 Thread Keerthy
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

[PATCH 06/14] ARM: AM33XX: Add functions to save/restore am33xx control registers.

2018-04-11 Thread Keerthy
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

[PATCH 11/14] gpio: omap: Restore power_mode configuration at resume time

2018-04-11 Thread Keerthy
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

[PATCH 08/14] ARM: OMAP2: Add functions to save and restore pinctrl context.

2018-04-11 Thread Keerthy
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

[PATCH 10/14] gpio: omap: Drop the concept of gpio banks not being able to lose context.

2018-04-11 Thread Keerthy
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 --

[PATCH 12/14] OMAP: CLK: CLKSRC: Add suspend resume hooks

2018-04-11 Thread Keerthy
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.

[PATCH 05/14] ARM: OMAP2: Add functions to save and restore powerdomain context

2018-04-11 Thread Keerthy
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

<    4   5   6   7   8   9   10   11   12   13   >