Re: [RFC PATCH] ARM: DRA: hwmod: RTC: Add reset function for RTC

2015-02-12 Thread Lokesh Vutla
Thanks and regards, Lokesh > > - Paul > > > On Fri, 2 Jan 2015, Paul Walmsley wrote: > >> Ping. Are you going to redo this one? >> >> - Paul >> >> On Wed, 26 Nov 2014, Paul Walmsley wrote: >> >>> Hi Lokesh >>> >>&g

Re: [RFC/PATCH 2/7] arm: omap: devicetree: add new properties for OMAP devices

2014-12-10 Thread Lokesh Vutla
Hi Felipe, On Wednesday 10 December 2014 03:57 AM, Felipe Balbi wrote: > In order to get rid of some more hwmod data, we > introduce a few extra properties to OMAP DT > data in order to be able to pass the needed > information through DT. > > Signed-off-by: Felipe Balbi > --- > Documentation/de

Re: [RFC/PATCH 5/7] arm: omap: hwmod: allow for registration of class-less hwmods

2014-12-10 Thread Lokesh Vutla
Hi Felipe, On Wednesday 10 December 2014 03:57 AM, Felipe Balbi wrote: > Before this patch, HWMOD requires the existence > of a struct omap_hwmod_class very early. Yes, hwmod code looks for omap_hwmod_class entry before registering any hwmod. With the patch 4/7 omap_hwmod_class gets populated fro

Re: [RFC/PATCH 4/7] arm: omap: device: add support for generating sysconfig data from DT

2014-12-10 Thread Lokesh Vutla
Hi Felipe, On Wednesday 10 December 2014 03:57 AM, Felipe Balbi wrote: > After moving sysconfig data to DT, we need to make > sure we can generate the same data we have today in C > files out of the DT provided properties. > > This patch adds support for all optional properties > documented by a p

Re: [RFC PATCH] ARM: DRA: hwmod: RTC: Add reset function for RTC

2014-11-26 Thread Lokesh Vutla
Hi Paul, On Wednesday 26 November 2014 12:34 PM, Paul Walmsley wrote: > Hi Lokesh > > On Tue, 25 Nov 2014, Lokesh Vutla wrote: > >> Hi Paul, >> On Thursday 20 November 2014 10:26 PM, Paul Walmsley wrote: >>> On Thu, 20 Nov 2014, Lokesh Vutla wrote: >>>

Re: [RFC PATCH] ARM: DRA: hwmod: RTC: Add reset function for RTC

2014-11-24 Thread Lokesh Vutla
Hi Paul, On Thursday 20 November 2014 10:26 PM, Paul Walmsley wrote: > On Thu, 20 Nov 2014, Lokesh Vutla wrote: > >> On Monday 17 November 2014 10:13 AM, Lokesh Vutla wrote: >>> RTC IP have kicker feature which prevents spurious writes to its registers. >>> In orde

Re: [RFC PATCH] ARM: DRA: hwmod: RTC: Add reset function for RTC

2014-11-20 Thread Lokesh Vutla
Hi Paul, On Monday 17 November 2014 10:13 AM, Lokesh Vutla wrote: > RTC IP have kicker feature which prevents spurious writes to its registers. > In order to write into any of the RTC registers, KICK values has te be > written to KICK registers. Currently hwmod is updating the IDLEMO

[PATCH V2] ARM: dts: DRA7: Add node for RTC

2014-11-19 Thread Lokesh Vutla
Add node for RTC. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- Changes since v1: - Fixed rtc dt node label. arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b

Re: [PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-17 Thread Lokesh Vutla
Hi, On Monday 17 November 2014 09:42 PM, Sergei Shtylyov wrote: > On 11/17/2014 4:04 PM, Lokesh Vutla wrote: > >>> On 11/17/2014 7:45 AM, Lokesh Vutla wrote: > >>>> Add node for RTC. > >>>> Signed-off-by: Lokesh Vutla >>>> [n...@ti

Re: [PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-17 Thread Lokesh Vutla
Hi, On Monday 17 November 2014 05:47 PM, Sergei Shtylyov wrote: > Hello. > > On 11/17/2014 7:45 AM, Lokesh Vutla wrote: > >> Add node for RTC. > >> Signed-off-by: Lokesh Vutla >> [n...@ti.com: update with rtc crossbar number] >> Signed-off-by: Nishanth Me

[PATCH] ARM: dts: DRA7: Add node for RTC

2014-11-16 Thread Lokesh Vutla
Add node for RTC. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 9cc9843

[RFC PATCH] ARM: DRA: hwmod: RTC: Add reset function for RTC

2014-11-16 Thread Lokesh Vutla
. When autoidle is allowed for rtc, interruts are not received until IDLEMODE is set to SIDLE_SMART_WKUP. Adding a reset function to unlock RTC registers so that IDLEMODE is updated. Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/omap_hwmod.h | 1 + arch/arm/mach-omap2

[PATCH] ARM: dts: DRA7: wdt: Fix compatible property for watchdog node

2014-11-11 Thread Lokesh Vutla
OMAP wdt driver supports only ti,omap3-wdt compatible. In DRA7 dt wdt compatible property is defined as ti,omap4-wdt by mistake instead of ti,omap3-wdt. Correcting the typo. Fixes: 6e58b8f1daaf1a ("ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board") Signed-off-by: Lo

[PATCH V4 1/3] rtc: omap: use module_platform_driver

2014-10-28 Thread Lokesh Vutla
module_platform_driver_probe() prevents driver from requesting probe deferral. So using module_platform_drive() to support probe deferral. And also removing .owner field which is set by module_platform_driver. Reviewed-by: Johan Hovold Reviewed-by: Felipe Balbi Signed-off-by: Lokesh Vutla

[PATCH V4 2/3] rtc: omap: Update Kconfig for OMAP RTC

2014-10-28 Thread Lokesh Vutla
From: Tero Kristo RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Reviewed-by: Felipe Balbi Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo --- drivers/rtc/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH V4 3/3] rtc: omap: Support regulator supply for RTC

2014-10-28 Thread Lokesh Vutla
Certain SoCs such as DRA7, RTC is an independent voltage domain of it's own and on platforms such as DRA7-evm, this may be supplied by individual regulator on it's own. So make the OMAP RTC driver support a power regulator. Signed-off-by: Lokesh Vutla --- - Dropped the Reviewed-by ta

[PATCH V4 0/3] rtc: omap: Add support for regulator supply

2014-10-28 Thread Lokesh Vutla
. Changes since v2: - Rebased on top of Johan Hovold's recent rtc cleanup series[1] - Addressed Johan Hovold's comments. [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg748519.html Lokesh Vutla (2): rtc: omap: use module_platform_driver rtc: omap: Support regulator supp

Re: [PATCH V3 3/3] rtc: omap: Support regulator supply for RTC

2014-10-28 Thread Lokesh Vutla
On Friday 24 October 2014 06:56 PM, Nishanth Menon wrote: > On 10/23/2014 11:53 PM, Lokesh Vutla wrote: >> On some Soc's RTC is powered by an external power regulator. > SoC ? -> could you rephrase this to indicate "certain SoCs such as > DRA7, RTC is an independent vo

[PATCH V4 3/3] rtc: omap: Support regulator supply for RTC

2014-10-24 Thread Lokesh Vutla
On some Soc's RTC is powered by an external power regulator. e.g. RTC on DRA7 SoC. Make the OMAP RTC driver support a power regulator. Reviewed-by: Johan Hovold Signed-off-by: Lokesh Vutla --- Changes since v3: - Removed extra Optional properties header. - Moved regulator get b

Re: [PATCH V3 3/3] rtc: omap: Support regulator supply for RTC

2014-10-24 Thread Lokesh Vutla
On Friday 24 October 2014 01:23 PM, Johan Hovold wrote: > On Fri, Oct 24, 2014 at 10:23:45AM +0530, Lokesh Vutla wrote: >> On some Soc's RTC is powered by an external power regulator. >> e.g. RTC on DRA7 SoC. Make the OMAP RTC driver support a >> power regulator. >>

[PATCH V3 1/3] rtc: omap: use module_platform_driver

2014-10-23 Thread Lokesh Vutla
module_platform_driver_probe() prevents driver from requesting probe deferral. So using module_platform_drive() to support probe deferral. And also removing .owner field which is set by module_platform_driver. Signed-off-by: Lokesh Vutla --- drivers/rtc/rtc-omap.c | 6 +++--- 1 file changed, 3

[PATCH V3 2/3] rtc: omap: Update Kconfig for OMAP RTC

2014-10-23 Thread Lokesh Vutla
From: Tero Kristo RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Reviewed-by: Felipe Balbi Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo --- drivers/rtc/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH V3 3/3] rtc: omap: Support regulator supply for RTC

2014-10-23 Thread Lokesh Vutla
On some Soc's RTC is powered by an external power regulator. e.g. RTC on DRA7 SoC. Make the OMAP RTC driver support a power regulator. Signed-off-by: Lokesh Vutla --- Documentation/devicetree/bindings/rtc/rtc-omap.txt | 3 +++ drivers/rtc/rtc-omap.c

[PATCH V3 0/3] rtc: omap: Add support for regulator supply

2014-10-23 Thread Lokesh Vutla
This series adds support for regulator supply. Changes since v2: - Rebased on top of Johan Hovold's recent rtc cleanup series[1] - Addressed Johan Hovold's comments. [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg748519.html Lokesh Vutla (2): rtc:

[PATCH v3 3/4] rtc: omap: Update Kconfig for OMAP RTC

2014-09-28 Thread Lokesh Vutla
From: Tero Kristo RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo --- Changes since v2: - Updated depends on in Kconfig. drivers/rtc/Kconfig| 6 +++--- drivers/rtc/rtc

Re: [PATCH v2 3/4] rtc: omap: Update Kconfig for OMAP RTC

2014-09-28 Thread Lokesh Vutla
On Thursday 25 September 2014 08:41 PM, Felipe Balbi wrote: > On Thu, Sep 25, 2014 at 03:02:08PM +0530, Lokesh Vutla wrote: >> From: Tero Kristo >> >> RTC is present in AM43xx and DRA7xx also. Updating the >> same in Kconfig. >> >> Signed-off-by: Loke

[PATCH v2 3/4] rtc: omap: Update Kconfig for OMAP RTC

2014-09-25 Thread Lokesh Vutla
From: Tero Kristo RTC is present in AM43xx and DRA7xx also. Updating the same in Kconfig. Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo --- Changes since v1: - New patch drivers/rtc/Kconfig| 6 +++--- drivers/rtc/rtc-omap.c | 4 ++-- 2 files changed, 5 insertions(+), 5

[PATCH v2 2/4] rtc: omap: Adopt driver to support probe deferral

2014-09-25 Thread Lokesh Vutla
module_platform_driver_probe() prevents driver from requesting probe deferral. So using module_platform_drive() to support probe deferral. Signed-off-by: Lokesh Vutla --- Changes since V1: - New patch, seperated from patch 4/4. drivers/rtc/rtc-omap.c | 5 +++-- 1 file changed, 3

[PATCH v2 0/4] rtc: omap: Add support for regulator supply

2014-09-25 Thread Lokesh Vutla
/uxezamokiy.coffee AM4372-GP-evm: http://hastebin.com/ruvetigico.coffee Lokesh Vutla (3): rtc: omap: Introduce rtc_omap_dev structure to include per device data rtc: omap: Adopt driver to support probe deferral rtc: omap: Support regulator supply for RTC Tero Kristo (1): rtc: omap: Update

[PATCH v2 4/4] rtc: omap: Support regulator supply for RTC

2014-09-25 Thread Lokesh Vutla
On some Soc's RTC is powered by an external power regulator. e.g. RTC on DRA7 SoC. Make the OMAP RTC driver support a power regulator. Signed-off-by: Lokesh Vutla --- Changes since v1: - Separated probe deferral supporting into a new patch. Documentation/devicetree/bindings/rt

[PATCH v2 1/4] rtc: omap: Introduce rtc_omap_dev structure to include per device data

2014-09-25 Thread Lokesh Vutla
Currently all the device data is declared globally which will be a problem if more than one instance of device is present. So consolidate all the data into rtc_omap_dev struct and adopt the driver to use this. Suggested-by: Felipe Balbi Signed-off-by: Lokesh Vutla --- Changes since v1

Re: [PATCH] rtc: omap: Support regulator supply for RTC

2014-09-19 Thread Lokesh Vutla
+linux-omap, linux-arm-kernel, devicetree On Friday 19 September 2014 03:16 PM, Lokesh Vutla wrote: > On some Soc's RTC is powered by an external power regulator. > e.g. RTC on DRA7 SoC. Make the OMAP RTC driver support a > power regulator. > And also making the driver as module_p

Re: [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes

2014-07-27 Thread Lokesh Vutla
On Monday 28 July 2014 11:48 AM, Keerthy wrote: > The patch series adds i2c1 and tps65917 and related nodes. > The patch series is boot tested on DRA72-EVM. > > Thanks to Lokesh for testing the series. For booting, this is dependent on recent hwmod fix patch series posted by me: http://www.mail-a

Re: [PATCH V2 1/2] ARM: DRA7: hwmod: Add data for RTC

2014-07-22 Thread Lokesh Vutla
Hi Paul, On Wednesday 09 July 2014 02:05 PM, Lokesh Vutla wrote: > Add hwmod data for RTC > > Signed-off-by: Lokesh Vutla > Signed-off-by: Sekhar Nori > Reviewed-by: Rajendra Nayak Can you take this patch. I have submitted logs also. Thanks and regards, Lokesh > ---

Re: [PATCH V2 2/2] ARM: dts: DRA7: Add node for RTC

2014-07-14 Thread Lokesh Vutla
Hi Tony, On Monday 14 July 2014 09:53 PM, Tony Lindgren wrote: > * Lokesh Vutla [140714 07:47]: >> Hi Tony, >> On Wednesday 09 July 2014 04:36 PM, Keerthy wrote: >>> On Wednesday 09 July 2014 04:30 PM, Tony Lindgren wrote: >>>> * Keerthy [140709 03:59]: >

Re: [PATCH V2 2/2] ARM: dts: DRA7: Add node for RTC

2014-07-14 Thread Lokesh Vutla
ednesday 09 July 2014 03:39 PM, Tony Lindgren wrote: >>>>>> * Keerthy [140709 02:36]: >>>>>>> On Wednesday 09 July 2014 02:42 PM, Tony Lindgren wrote: >>>>>>>> * Lokesh Vutla [140709 01:37]: >>>

Re: [PATCH V4 2/2] arm: dts: dra7: add crossbar device binding

2014-07-09 Thread Lokesh Vutla
Hi Tony, On Wednesday 09 July 2014 09:14 PM, Tony Lindgren wrote: > * Tony Lindgren [140626 03:28]: >> * Sricharan R [140626 01:36]: >>> Hi Tony, >>> >>> On Thursday 26 June 2014 01:14 PM, Tony Lindgren wrote: * Sricharan R [140626 00:29]: > From: R Sricharan > > There is a IRQ

[PATCH V2 2/2] ARM: dts: DRA7: Add node for RTC

2014-07-09 Thread Lokesh Vutla
Add node for RTC. And also making RTC regulator always-on, as RTC should be powered always. Signed-off-by: Lokesh Vutla [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon --- This patch depends on the crossbar dt patch series by Sricharan: https://www.mail-archive.com

[PATCH V2 1/2] ARM: DRA7: hwmod: Add data for RTC

2014-07-09 Thread Lokesh Vutla
Add hwmod data for RTC Signed-off-by: Lokesh Vutla Signed-off-by: Sekhar Nori Reviewed-by: Rajendra Nayak --- Changes since V1: Rebased on top of linux-next 20140708. arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 41 + 1 file changed, 41 insertions(+) diff --git

[PATCH V2 0/2] ARM: DRA7: Add RTC hwmod and dt entries

2014-07-09 Thread Lokesh Vutla
This series adds hwmod entry and dt node for RTC. Tested on DRA7: logs can be seen here: http://hastebin.com/jaxogatuta.vhdl Lokesh Vutla (2): ARM: DRA7: hwmod: Add data for RTC ARM: dts: DRA7: Add node for RTC arch/arm/boot/dts/dra7-evm.dts|1 + arch/arm/boot/dts/dra7.dtsi

[PATCH] ARM: dts: am437x-gp-evm: Do not reset gpio5

2014-03-20 Thread Lokesh Vutla
-off-by: Lokesh Vutla --- This is applied on top of current linux-next. git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master arch/arm/boot/dts/am437x-gp-evm.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts

[PATCH] ARM: dts: doc: Document missing compatible property for omap-sham driver

2013-11-07 Thread Lokesh Vutla
A new compatible property "ti,omap5-sham" is added to the omap-sham driver recently to support SHA/MD5 for OMAP5,DRA7 and AM43XX. Documenting the same. Signed-off-by: Lokesh Vutla --- .../devicetree/bindings/crypto/omap-sham.txt |2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes

2013-10-17 Thread Lokesh Vutla
Hi Benoit, On Friday 18 October 2013 12:26 PM, Benoit Cousson wrote: > Hi Lokesh, > > On 18/10/2013 05:49, Lokesh Vutla wrote: >> Hi Benoit, >> On Friday 11 October 2013 12:44 AM, Lokesh Vutla wrote: >>> This patch series add nodes for l2-cache-controller, EDMA, ma

Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes

2013-10-17 Thread Lokesh Vutla
Hi Benoit, On Friday 11 October 2013 12:44 AM, Lokesh Vutla wrote: > This patch series add nodes for l2-cache-controller, EDMA, mailbox, mmc, sham, > and updates the properties for cpsw, i2c0, matrix-keypad. > > These patches are applied on top of Benoit's for_3.13

Re: [RESEND PATCH V2 1/2] ARM: dts: AM33xx: Add RNG node

2013-10-16 Thread Lokesh Vutla
+ Rob and Mark On Tuesday 15 October 2013 12:19 PM, Benoit Cousson wrote: > Hi Lokesh, > > On 12/10/2013 15:26, Lokesh Vutla wrote: >> Hi Benoit, >> On Thursday 29 August 2013 06:22 PM, Lokesh Vutla wrote: >>> Add the AM33xx RNG module's device tree da

Re: [RESEND PATCH V2 1/2] ARM: dts: AM33xx: Add RNG node

2013-10-15 Thread Lokesh Vutla
Hi Benoit, On Tuesday 15 October 2013 12:19 PM, Benoit Cousson wrote: > Hi Lokesh, > > On 12/10/2013 15:26, Lokesh Vutla wrote: >> Hi Benoit, >> On Thursday 29 August 2013 06:22 PM, Lokesh Vutla wrote: >>> Add the AM33xx RNG module's device tree data. >>

Re: [RESEND PATCH V2 1/2] ARM: dts: AM33xx: Add RNG node

2013-10-12 Thread Lokesh Vutla
Hi Benoit, On Thursday 29 August 2013 06:22 PM, Lokesh Vutla wrote: > Add the AM33xx RNG module's device tree data. > Also add Documentation file describing the data > for the RNG module. Seems you missed this patch. Please consider this for this merge window. Patch 2/2 is already

[PATCH 0/2] ARM: dts: AM4372: Add more nodes

2013-10-10 Thread Lokesh Vutla
ort http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html Lokesh Vutla (1): ARM: dts: AM4372: Add more nodes Mugunthan V N (1): ARM: dts: AM4372: Update Support for EPOS EVM arch/arm/boot/dts/am4372.dtsi| 210 +- arch/arm/boot/dts/am43

[PATCH 2/2] ARM: dts: AM4372: Update Support for EPOS EVM

2013-10-10 Thread Lokesh Vutla
From: Mugunthan V N -> Adding pinmux for cpsw, i2c0. -> Enabling the modules that are present in AM4372 EPOS EVM These modules are tested on AM4372 EPOS EVM. Signed-off-by: Lokesh Vutla Signed-off-by: Sourav Poddar Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am43x-epos-evm.dts

[PATCH 1/2] ARM: dts: AM4372: Add more nodes

2013-10-10 Thread Lokesh Vutla
Populate nodes for l2-cache-controller, EDMA, mailbox, mmc, sham. And also updating dt properties for epwmss, aes, des. Few nodes are taken from a different tree that are added by Suman Anna (Mailbox) Balaji T K (MMC) Mugunthan V N (Pinmux, Ethernet) Signed-off-by: Lokesh Vutla --- arch