2012-10-19 10:50:49

by Afzal Mohammed

[permalink] [raw]
Subject: [PATCH] arm/dts: am33xx rtc node

add am33xx rtc node.

Signed-off-by: Afzal Mohammed <[email protected]>
---

Based on v3.7-rc1,
Dependent on series "rtc: omap dt support (for am33xx)",
(https://lkml.org/lkml/2012/10/19/163)
Tested on Beagle Bone.

arch/arm/boot/dts/am33xx.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index bb31bff..356711e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -210,5 +210,14 @@
interrupt-parent = <&intc>;
interrupts = <91>;
};
+
+ rtc {
+ compatible = "ti,da830-rtc";
+ ti,hwmods = "rtc";
+ reg = <0x44e3e000 0x1000>;
+ interrupt-parent = <&intc>;
+ interrupts = <75
+ 76>;
+ };
};
};
--
1.7.12


2012-10-19 10:55:08

by Afzal Mohammed

[permalink] [raw]
Subject: RE: [PATCH] arm/dts: am33xx rtc node

+ linux-omap and Daniel

On Fri, Oct 19, 2012 at 16:20:21, Mohammed, Afzal wrote:
> add am33xx rtc node.
>
> Signed-off-by: Afzal Mohammed <[email protected]>
> ---
>
> Based on v3.7-rc1,
> Dependent on series "rtc: omap dt support (for am33xx)",
> (https://lkml.org/lkml/2012/10/19/163)
> Tested on Beagle Bone.
>
> arch/arm/boot/dts/am33xx.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index bb31bff..356711e 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -210,5 +210,14 @@
> interrupt-parent = <&intc>;
> interrupts = <91>;
> };
> +
> + rtc {
> + compatible = "ti,da830-rtc";
> + ti,hwmods = "rtc";
> + reg = <0x44e3e000 0x1000>;
> + interrupt-parent = <&intc>;
> + interrupts = <75
> + 76>;
> + };
> };
> };
> --
> 1.7.12
>
>

????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?

2012-10-30 09:40:05

by Afzal Mohammed

[permalink] [raw]
Subject: Re: [PATCH] arm/dts: am33xx rtc node

Hi Benoit,

On Friday 19 October 2012 04:20 PM, Afzal Mohammed wrote:
> add am33xx rtc node.
>
> Signed-off-by: Afzal Mohammed<[email protected]>
> ---
>
> Based on v3.7-rc1,
> Dependent on series "rtc: omap dt support (for am33xx)",
> (https://lkml.org/lkml/2012/10/19/163)

The dependent series has been merged on -mm tree
and are now present in linux-next.

v2 of this patch has been sent with modification on subject
to follow new convention and removing interrupt parent.

Regards
Afzal