Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery
From: Tony Lindgren <hidden>
Date: 2016-01-06 01:00:20
Also in:
linux-omap, lkml
From: Tony Lindgren <hidden>
Date: 2016-01-06 01:00:20
Also in:
linux-omap, lkml
* Nishanth Menon [off-list ref] [160105 15:40]:
On 01/05/2016 06:01 AM, H. Nikolaus Schaller wrote:quoted
tested on OMP5432 EVM Signed-off-by: H. Nikolaus Schaller <redacted> --- arch/arm/boot/dts/omap5-board-common.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index 5cf76a1..30c0d3b 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi@@ -358,6 +358,14 @@ #clock-cells = <0>; }; + rtc { + compatible = "ti,palmas-rtc"; + interrupt-parent = <&palmas>; + interrupts = <8 IRQ_TYPE_NONE>;IRQ_TYPE_NONE is not correct here -> it should have some polarity - if it had none, there'd be no interrupt, right?
Also I'm not seeing just zeroes coming from RTC after typing hwclock on omap5-uevm. It's working on x15 though. Nikolaus, is hwclock command working for you on omap5-uevm? Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html