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

2017-12-11 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 v5 6/8] clocksource: dmtimer: Populate the timer ops to the pdata

2017-12-11 Thread Keerthy
Add the timer ops to the platform data Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics for renames. drivers/clocksource/timer-dm.c | 25

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

2017-12-11 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 Reviewed-by: Sebastian Reichel --- Changes

[PATCH v5 2/8] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2017-12-11 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. Signed-off-by: Keerthy <j-keer...@ti.com> --- arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/includ

[PATCH v5 2/8] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2017-12-11 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. Signed-off-by: Keerthy --- arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index

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

2017-12-08 Thread Keerthy
On Friday 08 December 2017 09:25 AM, Keerthy wrote: > > > On Thursday 07 December 2017 04:24 PM, Daniel Lezcano wrote: >> On 01/12/2017 06:16, Keerthy wrote: >>> Move the dmtimer driver out of plat-omap to clocksource. >>> So that non-omap devices also could

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

2017-12-08 Thread Keerthy
On Friday 08 December 2017 09:25 AM, Keerthy wrote: > > > On Thursday 07 December 2017 04:24 PM, Daniel Lezcano wrote: >> On 01/12/2017 06:16, Keerthy wrote: >>> Move the dmtimer driver out of plat-omap to clocksource. >>> So that non-omap devices also could

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

2017-12-07 Thread Keerthy
On Thursday 07 December 2017 04:24 PM, Daniel Lezcano wrote: > On 01/12/2017 06:16, Keerthy wrote: >> 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. >>

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

2017-12-07 Thread Keerthy
On Thursday 07 December 2017 04:24 PM, Daniel Lezcano wrote: > On 01/12/2017 06:16, Keerthy wrote: >> 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. >> >&

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-30 Thread Keerthy
On Friday 01 December 2017 10:10 AM, Keerthy wrote: > > > On Thursday 30 November 2017 08:12 PM, Linus Walleij wrote: >> On Fri, Nov 10, 2017 at 12:13 PM, Keerthy <j-keer...@ti.com> wrote: >> >>> As per the re-design assign the first bank regs for unbank

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-30 Thread Keerthy
On Friday 01 December 2017 10:10 AM, Keerthy wrote: > > > On Thursday 30 November 2017 08:12 PM, Linus Walleij wrote: >> On Fri, Nov 10, 2017 at 12:13 PM, Keerthy wrote: >> >>> As per the re-design assign the first bank regs for unbanked >>> irq case. Th

[PATCH v4 6/8] clocksource: dmtimer: Populate the timer ops to the pdata

2017-11-30 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> --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch

[PATCH v4 6/8] clocksource: dmtimer: Populate the timer ops to the pdata

2017-11-30 Thread Keerthy
Add the timer ops to the platform data Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics for renames. drivers/clocksource/dmtimer.c | 25

[PATCH v4 0/8] omap: dmtimer: Move driver out of plat-omap

2017-11-30 Thread Keerthy
of node. Keerthy (8): 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 arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource dmtimer: Add timer ops

[PATCH v4 0/8] omap: dmtimer: Move driver out of plat-omap

2017-11-30 Thread Keerthy
of node. Keerthy (8): 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 arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource dmtimer: Add timer ops

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

2017-11-30 Thread Keerthy
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. Signed-off-by: Keerthy <j-keer...@ti.com> --- Changes in v4: * Switched to dev_get_platdata. Changes in v3: * Used of_find_platdata_by_node function to fetch platform data for timer node. drivers/pwm/pw

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

2017-11-30 Thread Keerthy
Adapt driver to utilize dmtimer pdata ops instead of pdata-quirks. Signed-off-by: Keerthy --- Changes in v4: * Switched to dev_get_platdata. Changes in v3: * Used of_find_platdata_by_node function to fetch platform data for timer node. drivers/pwm/pwm-omap-dmtimer.c | 39

[PATCH v4 8/8] arm: omap: pdata-quirks: Remove unused timer pdata

2017-11-30 Thread Keerthy
Remove unused timer pdata. Signed-off-by: Keerthy <j-keer...@ti.com> Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk> --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics

[PATCH v4 5/8] dmtimer: Add timer ops to the platform data structure

2017-11-30 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> --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only en

[PATCH v4 8/8] arm: omap: pdata-quirks: Remove unused timer pdata

2017-11-30 Thread Keerthy
Remove unused timer pdata. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics for renames. arch/arm/mach-omap2/pdata-quirks.c | 32

[PATCH v4 5/8] dmtimer: Add timer ops to the platform data structure

2017-11-30 Thread Keerthy
Add timer ops to the platform data structure Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics for renames. include/linux/platform_data

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

2017-11-30 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. Signed-off-by: Keerthy <j-keer...@ti.com> Reviewed-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk> --- Changes in v3: * Added

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

2017-11-30 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. Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes

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

2017-11-30 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> --- Changes in v3

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

2017-11-30 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 Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code

[PATCH v4 1/8] clocksource: dmtimer: Remove all the exports

2017-11-30 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> --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only en

[PATCH v4 2/8] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2017-11-30 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. Signed-off-by: Keerthy <j-keer...@ti.com> --- arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/includ

[PATCH v4 1/8] clocksource: dmtimer: Remove all the exports

2017-11-30 Thread Keerthy
Remove all the unwanted exports from the driver Signed-off-by: Keerthy Reviewed-by: Sebastian Reichel --- Changes in v3: * Added Sebastian's Reviewed-by. Changes in v2: * No code changes in this v2 version. Only enhanced patch statistics for renames. arch/arm/plat-omap/dmtimer.c

[PATCH v4 2/8] arm: omap: timer: Wrap the inline functions under OMAP2PLUS define

2017-11-30 Thread Keerthy
Wrap the inline functions under OMAP2PLUS/OMAP1 defines. Signed-off-by: Keerthy --- arch/arm/plat-omap/include/plat/dmtimer.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index

Re: [PATCH] pci: dwc: pci-dra7xx: Make shutdown handler static

2017-11-30 Thread Keerthy
On Friday 01 December 2017 10:36 AM, Vignesh R wrote: > Declare dra7xx_pcie_shutdown() as a static function as its not used > elsewhere. Seems like the below version that had static version was not taken: https://patchwork.kernel.org/patch/10052579/ So for this patch: Reviewed-by: Keer

Re: [PATCH] pci: dwc: pci-dra7xx: Make shutdown handler static

2017-11-30 Thread Keerthy
On Friday 01 December 2017 10:36 AM, Vignesh R wrote: > Declare dra7xx_pcie_shutdown() as a static function as its not used > elsewhere. Seems like the below version that had static version was not taken: https://patchwork.kernel.org/patch/10052579/ So for this patch: Reviewed-by: K

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-30 Thread Keerthy
On Thursday 30 November 2017 08:12 PM, Linus Walleij wrote: > On Fri, Nov 10, 2017 at 12:13 PM, Keerthy <j-keer...@ti.com> wrote: > >> As per the re-design assign the first bank regs for unbanked >> irq case. This was missed out in the original patch. >> >

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-30 Thread Keerthy
On Thursday 30 November 2017 08:12 PM, Linus Walleij wrote: > On Fri, Nov 10, 2017 at 12:13 PM, Keerthy wrote: > >> As per the re-design assign the first bank regs for unbanked >> irq case. This was missed out in the original patch. >> >> Signed-off-by: Keerthy &

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-23 Thread Keerthy
On Friday 10 November 2017 04:43 PM, Keerthy wrote: > As per the re-design assign the first bank regs for unbanked > irq case. This was missed out in the original patch. Linus, A gentle ping. - Keerthy > > Signed-off-by: Keerthy <j-keer...@ti.com> > Fixes: b5cf3fd82

Re: [PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-23 Thread Keerthy
On Friday 10 November 2017 04:43 PM, Keerthy wrote: > As per the re-design assign the first bank regs for unbanked > irq case. This was missed out in the original patch. Linus, A gentle ping. - Keerthy > > Signed-off-by: Keerthy > Fixes: b5cf3fd827d2e1 ("gpio: davi

Re: [PATCH] regulator: tps65218: Add NULL test for devm_kzalloc call

2017-11-16 Thread Keerthy
On Monday 13 November 2017 06:22 PM, Axel Lin wrote: > Signed-off-by: Axel Lin <axel@ingics.com> One line commit message would be better than blank commit message. Otherwise: Reviewed-by: Keerthy <j-keer...@ti.com> > --- > drivers/regulator/tps65218-regulator.c | 2

Re: [PATCH] regulator: tps65218: Add NULL test for devm_kzalloc call

2017-11-16 Thread Keerthy
On Monday 13 November 2017 06:22 PM, Axel Lin wrote: > Signed-off-by: Axel Lin One line commit message would be better than blank commit message. Otherwise: Reviewed-by: Keerthy > --- > drivers/regulator/tps65218-regulator.c | 2 ++ > 1 file changed, 2 insertions(+) >

Re: [PATCH] regulator: tps65218: Remove unused enum tps65218_regulators

2017-11-16 Thread Keerthy
On Monday 13 November 2017 06:35 PM, Axel Lin wrote: > The enum tps65218_regulators is no longer being used after > commit 2dc4940360d4 ("regulator: tps65218: Remove all the compatibles"). Reviewed-by: Keerthy <j-keer...@ti.com> > > Signed-off-by: A

Re: [PATCH] regulator: tps65218: Remove unused enum tps65218_regulators

2017-11-16 Thread Keerthy
On Monday 13 November 2017 06:35 PM, Axel Lin wrote: > The enum tps65218_regulators is no longer being used after > commit 2dc4940360d4 ("regulator: tps65218: Remove all the compatibles"). Reviewed-by: Keerthy > > Signed-off-by: Axel Lin > --- > drivers/regula

[PATCH 2/2] regulator: tps65218: remove unused tps_info structure

2017-11-10 Thread Keerthy
remove unused tps_info structure. Signed-off-by: Keerthy <j-keer...@ti.com> --- include/linux/mfd/tps65218.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h index bccd2d6..f069c51 100644 --- a/include/lin

[PATCH 2/2] regulator: tps65218: remove unused tps_info structure

2017-11-10 Thread Keerthy
remove unused tps_info structure. Signed-off-by: Keerthy --- include/linux/mfd/tps65218.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h index bccd2d6..f069c51 100644 --- a/include/linux/mfd/tps65218.h +++ b

[PATCH 1/2] regulator: tps65218: Fix strobe assignment

2017-11-10 Thread Keerthy
Currentlly tps_info structure is no longer used. So use the strobes parameter in tps65218 structure to capture the info. Fixes: 2dc4940360d4c0c (regulator: tps65218: Remove all the compatibles) Signed-off-by: Keerthy <j-keer...@ti.com> --- drivers/regulator/tps65218-regulator.c | 2 +-

[PATCH 1/2] regulator: tps65218: Fix strobe assignment

2017-11-10 Thread Keerthy
Currentlly tps_info structure is no longer used. So use the strobes parameter in tps65218 structure to capture the info. Fixes: 2dc4940360d4c0c (regulator: tps65218: Remove all the compatibles) Signed-off-by: Keerthy --- drivers/regulator/tps65218-regulator.c | 2 +- 1 file changed, 1 insertion

[PATCH] ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function

2017-11-10 Thread Keerthy
bits. Signed-off-by: Keerthy <j-keer...@ti.com> --- arch/arm/mach-omap2/prm33xx.c | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c index bc5df8d..dfca8d9 100644 --- a/arch/arm/mach-omap2/prm33xx.c +++ b/arch/ar

[PATCH] ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function

2017-11-10 Thread Keerthy
bits. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm33xx.c | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c index bc5df8d..dfca8d9 100644 --- a/arch/arm/mach-omap2/prm33xx.c +++ b/arch/arm/mach-omap2/prm33xx.c

[PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-off-by: Keerthy <j-keer...@ti.com> Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommodate ngpios in one gpio chip") --- Changes in v2:

[PATCH v2] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-off-by: Keerthy Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommodate ngpios in one gpio chip") --- Changes in v2: * Fixed $Author drivers

Re: [PATCH] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
On Friday 10 November 2017 04:37 PM, Keerthy wrote: > From: "J, KEERTHY" <j-keer...@ti.com> Linus, The $Author field is somehow messed up. Please ignore. I will send v2 with this fixed. Regards, Keerthy > > As per the re-design assign the first bank reg

Re: [PATCH] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
On Friday 10 November 2017 04:37 PM, Keerthy wrote: > From: "J, KEERTHY" Linus, The $Author field is somehow messed up. Please ignore. I will send v2 with this fixed. Regards, Keerthy > > As per the re-design assign the first bank regs for unbanked > irq cas

[PATCH] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
From: "J, KEERTHY" <j-keer...@ti.com> As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-off-by: Keerthy <j-keer...@ti.com> Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommoda

[PATCH] gpio: davinci: Assign first bank regs for unbanked case

2017-11-10 Thread Keerthy
From: "J, KEERTHY" As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-off-by: Keerthy Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommodate ngpios in one gpio chip") --- drivers/gpi

[PATCH v5] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-10 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy <j-keer...@ti.com> Acked-by: Kishon Vijay Abraham I <kis...@ti.com> --- Changes in v5: * Declared the dra7xx_pcie_shutdown function sta

[PATCH v5] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-10 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy Acked-by: Kishon Vijay Abraham I --- Changes in v5: * Declared the dra7xx_pcie_shutdown function static Changes in v4: * Added the missing

[PATCH] ARM: dts: keystone-k2l: Add the second gpio bank node

2017-11-09 Thread Keerthy
In case of k2l there are 2 more banks with 16 pins each. Adding the node as the da-vinci driver now supports multiple banks. Signed-off-by: Keerthy <j-keer...@ti.com> --- This is based on linux-next branch. Boot tested on keystone-k2l-evm. arch/arm/boot/dts/keystone-k2l.dts

[PATCH] ARM: dts: keystone-k2l: Add the second gpio bank node

2017-11-09 Thread Keerthy
In case of k2l there are 2 more banks with 16 pins each. Adding the node as the da-vinci driver now supports multiple banks. Signed-off-by: Keerthy --- This is based on linux-next branch. Boot tested on keystone-k2l-evm. arch/arm/boot/dts/keystone-k2l.dtsi | 44

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:05 PM, Alexandre Belloni wrote: > On 08/11/2017 at 14:02:31 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 01:51 PM, Alexandre Bel

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:05 PM, Alexandre Belloni wrote: > On 08/11/2017 at 14:02:31 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 01:51 PM, Alexandre Bel

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: > > > On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: >> On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni w

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 02:01 PM, Keerthy wrote: > > > On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: >> On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >>> >>> >>> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni w

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: > On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: >>> On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: >>>> >&g

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 01:51 PM, Alexandre Belloni wrote: > On 08/11/2017 at 13:36:15 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: >>> On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: >>>> >&g

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: > On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: >>> Hi, >>> >>> On 08/11/2017 at 11:30:45 +0530, Keerthy

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-08 Thread Keerthy
On Wednesday 08 November 2017 12:46 PM, Alexandre Belloni wrote: > On 08/11/2017 at 12:38:05 +0530, Keerthy wrote: >> >> >> On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: >>> Hi, >>> >>> On 08/11/2017 at 11:30:45 +0530, Keerthy

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-07 Thread Keerthy
On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: > Hi, > > On 08/11/2017 at 11:30:45 +0530, Keerthy wrote: >>>>> +static int omap_rtc_scratch_read(void *priv, unsigned int offset, void >>>>> *_val, >>>>> +

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-07 Thread Keerthy
On Wednesday 08 November 2017 11:57 AM, Alexandre Belloni wrote: > Hi, > > On 08/11/2017 at 11:30:45 +0530, Keerthy wrote: >>>>> +static int omap_rtc_scratch_read(void *priv, unsigned int offset, void >>>>> *_val, >>>>> +

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-07 Thread Keerthy
On Monday 06 November 2017 12:29 PM, Keerthy wrote: > > > On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: >> + linux omap list >> >> On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >>> Register an nvmem device to expose the 3 scra

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-07 Thread Keerthy
On Monday 06 November 2017 12:29 PM, Keerthy wrote: > > > On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: >> + linux omap list >> >> On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >>> Register an nvmem device to expose the 3 scra

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Monday 06 November 2017 03:22 PM, Keerthy wrote: > > > On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: >> On Tue, 24 Oct 2017, Keerthy wrote: >> >>> The powerhold mask for TPS65917 is different when comapred to >>> the other palmas versions. H

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Monday 06 November 2017 03:22 PM, Keerthy wrote: > > > On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: >> On Tue, 24 Oct 2017, Keerthy wrote: >> >>> The powerhold mask for TPS65917 is different when comapred to >>> the other palmas versions. H

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: > On Tue, 24 Oct 2017, Keerthy wrote: > >> The powerhold mask for TPS65917 is different when comapred to >> the other palmas versions. Hence assign the right mask that enables >> power off of tps65917 pmic cor

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-06 Thread Keerthy
On Tuesday 31 October 2017 04:18 PM, Lee Jones wrote: > On Tue, 24 Oct 2017, Keerthy wrote: > >> The powerhold mask for TPS65917 is different when comapred to >> the other palmas versions. Hence assign the right mask that enables >> power off of tps65917 pmic cor

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-05 Thread Keerthy
On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: > + linux omap list > > On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >> Register an nvmem device to expose the 3 scratch registers (total of 12 >> bytes) to both userspace and kernel space. >> >> Signed-off-by: Alexandre

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-05 Thread Keerthy
On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: > + linux omap list > > On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >> Register an nvmem device to expose the 3 scratch registers (total of 12 >> bytes) to both userspace and kernel space. >> >> Signed-off-by: Alexandre

Re: [PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-05 Thread Keerthy
On Friday 03 November 2017 08:00 PM, Niklas Cassel wrote: > dra7xx_pcie_shutdown should be static. > > This patch introduces a new sparse warning. Thanks Niklas for reporting. Bjorn, Should i send a next version or just a fix patch on top of this? Regards, Keerthy > > On We

Re: [PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-11-05 Thread Keerthy
On Friday 03 November 2017 08:00 PM, Niklas Cassel wrote: > dra7xx_pcie_shutdown should be static. > > This patch introduces a new sparse warning. Thanks Niklas for reporting. Bjorn, Should i send a next version or just a fix patch on top of this? Regards, Keerthy > > On We

[PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-10-24 Thread Keerthy
The powerhold mask for TPS65917 is different when comapred to the other palmas versions. Hence assign the right mask that enables power off of tps65917 pmic correctly. Signed-off-by: Keerthy <j-keer...@ti.com> --- drivers/mfd/palmas.c | 10 +- include/linux/mfd/palmas.h | 3

[PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-10-24 Thread Keerthy
The powerhold mask for TPS65917 is different when comapred to the other palmas versions. Hence assign the right mask that enables power off of tps65917 pmic correctly. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 10 +- include/linux/mfd/palmas.h | 3 +++ 2 files changed, 12

Re: [PATCH] regulator: lp873x: Update the enable mask for LDOs and BUCKs

2017-10-09 Thread Keerthy
On Monday 09 October 2017 09:20 PM, Mark Brown wrote: > On Mon, Oct 09, 2017 at 06:35:14PM +0300, Tero Kristo wrote: > >> The EN signal coming in to the PMIC is actually used to poweroff the system >> completely. There is no other mechanism for doing this in lp873x based >> systems, they

Re: [PATCH] regulator: lp873x: Update the enable mask for LDOs and BUCKs

2017-10-09 Thread Keerthy
On Monday 09 October 2017 09:20 PM, Mark Brown wrote: > On Mon, Oct 09, 2017 at 06:35:14PM +0300, Tero Kristo wrote: > >> The EN signal coming in to the PMIC is actually used to poweroff the system >> completely. There is no other mechanism for doing this in lp873x based >> systems, they

[PATCH] regulator: lp873x: Update the enable mask for LDOs and BUCKs

2017-09-27 Thread Keerthy
The reset value of the EN_PIN_CTRL bit fields of LDOs and BUCKs need not be set correctly. Hence update the enable mask to include the EN_PIN_CTRL bit. While enabling this should be set to 1 so that all the regulators are tied to EN pin. Signed-off-by: Keerthy <j-keer...@ti.com> --- d

[PATCH] regulator: lp873x: Update the enable mask for LDOs and BUCKs

2017-09-27 Thread Keerthy
The reset value of the EN_PIN_CTRL bit fields of LDOs and BUCKs need not be set correctly. Hence update the enable mask to include the EN_PIN_CTRL bit. While enabling this should be set to 1 so that all the regulators are tied to EN pin. Signed-off-by: Keerthy --- drivers/regulator/lp873x

Re: [PATCH] thermal/drivers/hisi: Switch to interrupt mode

2017-09-27 Thread Keerthy
On Wednesday 27 September 2017 05:24 AM, Daniel Lezcano wrote: > At this moment, we have both the interrupt setup and the polling enabled. The > interrupt does nothing more than forcing an update while the temperature is > polled every second. > > We can do much better than that, threshold is

Re: [PATCH] thermal/drivers/hisi: Switch to interrupt mode

2017-09-27 Thread Keerthy
On Wednesday 27 September 2017 05:24 AM, Daniel Lezcano wrote: > At this moment, we have both the interrupt setup and the polling enabled. The > interrupt does nothing more than forcing an update while the temperature is > polled every second. > > We can do much better than that, threshold is

Re: [PATCH v3] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
On Wednesday 20 September 2017 01:00 AM, Bjorn Helgaas wrote: > On Fri, Sep 08, 2017 at 10:44:54AM +0530, Keerthy wrote: >> Add shutdown handler to cleanly turn off clocks. This will help >> in cases of kexec where in a new kernel can boot abruptly. >> >> Signed-off-by

Re: [PATCH v3] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
On Wednesday 20 September 2017 01:00 AM, Bjorn Helgaas wrote: > On Fri, Sep 08, 2017 at 10:44:54AM +0530, Keerthy wrote: >> Add shutdown handler to cleanly turn off clocks. This will help >> in cases of kexec where in a new kernel can boot abruptly. >> >> Signe

[PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy <j-keer...@ti.com> Acked-by: Kishon Vijay Abraham I <kis...@ti.com> --- Changes in v4: * Added the missing changes from v2! C

[PATCH v4] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Keerthy
Add shutdown handler to cleanly turn off clocks. This will help in cases of kexec where in a new kernel can boot abruptly. Signed-off-by: Keerthy Acked-by: Kishon Vijay Abraham I --- Changes in v4: * Added the missing changes from v2! Changes in v3: * Pushed the function outside #ifdef

Re: [PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 04:03 PM, Keerthy wrote: > gpio1 soft reset fails in the kexec path as the optional clock > is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET > flag for gpio1 hwmod. A gentle ping on this as well. > > Signed-off-by: Keerthy &l

Re: [PATCH] arm: omap: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 04:03 PM, Keerthy wrote: > gpio1 soft reset fails in the kexec path as the optional clock > is not enabled hence enable the HWMOD_CONTROL_OPT_CLKS_IN_RESET > flag for gpio1 hwmod. A gentle ping on this as well. > > Signed-off-by: Keerthy > --

Re: [PATCH] ARM: dts: dra7: Set a default parent to mcasp3_ahclkx_mux

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 07:09 PM, Keerthy wrote: > Assign a default parent to mcasp3_ahclkx_mux clock using > the assigned-clock-parents property. This is helpful in > cases like kexec where in the clock parent can be something > other than the value at reset. Hi Tony, A

Re: [PATCH] ARM: dts: dra7: Set a default parent to mcasp3_ahclkx_mux

2017-09-18 Thread Keerthy
On Wednesday 06 September 2017 07:09 PM, Keerthy wrote: > Assign a default parent to mcasp3_ahclkx_mux clock using > the assigned-clock-parents property. This is helpful in > cases like kexec where in the clock parent can be something > other than the value at reset. Hi Tony, A

[PATCH 2/2] mfd: tps65218: Introduce dependency on CONFIG_OF

2017-09-13 Thread Keerthy
Currently the driver boots only via device tree hence add a dependency on CONFIG_OF. This leaves with a bunch of unused code so clean that up. Signed-off-by: Keerthy <j-keer...@ti.com> --- drivers/mfd/Kconfig| 2 +- drivers/mfd/tps65218.c | 8 2 files changed, 1 insertion

[PATCH 2/2] mfd: tps65218: Introduce dependency on CONFIG_OF

2017-09-13 Thread Keerthy
Currently the driver boots only via device tree hence add a dependency on CONFIG_OF. This leaves with a bunch of unused code so clean that up. Signed-off-by: Keerthy --- drivers/mfd/Kconfig| 2 +- drivers/mfd/tps65218.c | 8 2 files changed, 1 insertion(+), 9 deletions(-) diff

[PATCH 1/2] mfd: tps65218: Correct the config description

2017-09-13 Thread Keerthy
When the initial support was added for this PMIC was added only regulator support was present. Now we have GPIO and Powerbutton support as well. Hence correct the description of MFD_TPS65218 config option. Signed-off-by: Keerthy <j-keer...@ti.com> --- drivers/mfd/Kconfig | 3 +-- 1 file c

[PATCH 1/2] mfd: tps65218: Correct the config description

2017-09-13 Thread Keerthy
When the initial support was added for this PMIC was added only regulator support was present. Now we have GPIO and Powerbutton support as well. Hence correct the description of MFD_TPS65218 config option. Signed-off-by: Keerthy --- drivers/mfd/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2

2017-09-11 Thread Keerthy
q driver also be calling platform_device_register_simple? Regards, Keerthy >

Re: [1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2

2017-09-11 Thread Keerthy
q driver also be calling platform_device_register_simple? Regards, Keerthy >

Re: [PATCH V3] thermal/drivers/step_wise: Fix temperature regulation misbehavior

2017-09-11 Thread Keerthy
t; [ 2456.252075] thermal cooling_device0: old_target=2, target=1 > > IOW, this change is needed to keep the state for a cooling device if the > temperature trend is oscillating while the temperature increases slightly. > > Without this change, the situation above leads to a catas

Re: [PATCH V3] thermal/drivers/step_wise: Fix temperature regulation misbehavior

2017-09-11 Thread Keerthy
t; [ 2456.252075] thermal cooling_device0: old_target=2, target=1 > > IOW, this change is needed to keep the state for a cooling device if the > temperature trend is oscillating while the temperature increases slightly. > > Without this change, the situation above leads to a catastr

Re: [PATCH V2] thermal/drivers/step_wise: Fix temperature regulation misbehavior

2017-09-08 Thread Keerthy
On Friday 08 September 2017 05:17 PM, Daniel Lezcano wrote: > On 08/09/2017 11:49, Keerthy wrote: >> >> >> On Friday 08 September 2017 02:35 PM, Daniel Lezcano wrote: >>> There is a particular situation when the cooling device is cpufreq and the >>> heat

<    1   2   3   4   5   6   7   8   9   10   >