linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes
@ 2016-10-27  5:48 Keerthy
       [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Keerthy @ 2016-10-27  5:48 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	j-keerthy-l0cyMroinI0, t-kristo-l0cyMroinI0

The series adds the clock info to rtc node.

Boot tested and checked for rtc ticking on am335x-boneblack, am335x-bone
am437x-gp-evm.

Keerthy (3):
  ARM: dts: AM335X-bone-common: Add the internal and external clock
    nodes for rtc
  ARM: dts: AM335X-evm: Add the internal and external clock nodes for
    rtc
  ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for
    rtc

 arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
 arch/arm/boot/dts/am335x-evm.dts          | 5 +++++
 arch/arm/boot/dts/am335x-evmsk.dts        | 5 +++++
 arch/arm/boot/dts/am33xx.dtsi             | 2 ++
 4 files changed, 17 insertions(+)

-- 
1.9.1

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] ARM: dts: AM335X-bone-common: Add the internal and external clock nodes for rtc
       [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
@ 2016-10-27  5:48   ` Keerthy
  2016-10-27  5:48   ` [PATCH 2/3] ARM: dts: AM335X-evm: " Keerthy
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Keerthy @ 2016-10-27  5:48 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	j-keerthy-l0cyMroinI0, t-kristo-l0cyMroinI0

rtc can either be supplied from internal 32k clock or external crystal
generated 32k clock. Internal clock is SoC specific and the external
clock is board dependent. Assigning the corresponding clocks.

Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
 arch/arm/boot/dts/am33xx.dtsi             | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 007b5e5..ca9f7ce 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -393,3 +393,8 @@
 &sham {
 	status = "okay";
 };
+
+&rtc {
+	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+	clock-names = "ext-clk", "int-clk";
+};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 194d884..d52fa1c 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -505,6 +505,8 @@
 			interrupts = <75
 				      76>;
 			ti,hwmods = "rtc";
+			clocks = <&clkdiv32k_ick>;
+			clock-names = "int-clk";
 		};
 
 		spi0: spi@48030000 {
-- 
1.9.1

--
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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] ARM: dts: AM335X-evm: Add the internal and external clock nodes for rtc
       [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  2016-10-27  5:48   ` [PATCH 1/3] ARM: dts: AM335X-bone-common: Add the internal and external clock nodes for rtc Keerthy
@ 2016-10-27  5:48   ` Keerthy
  2016-10-27  5:48   ` [PATCH 3/3] ARM: dts: AM335X-evmsk: " Keerthy
  2016-11-07  4:25   ` [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes Keerthy
  3 siblings, 0 replies; 6+ messages in thread
From: Keerthy @ 2016-10-27  5:48 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	j-keerthy-l0cyMroinI0, t-kristo-l0cyMroinI0

rtc can either be supplied from internal 32k clock or external crystal
generated 32k clock. Internal clock is SoC specific and the external
clock is board dependent. Assigning the corresponding clocks.

Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am335x-evm.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index e82432c..c2186ec 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -783,3 +783,8 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&dcan1_pins_default>;
 };
+
+&rtc {
+	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+	clock-names = "ext-clk", "int-clk";
+};
-- 
1.9.1

--
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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for rtc
       [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
  2016-10-27  5:48   ` [PATCH 1/3] ARM: dts: AM335X-bone-common: Add the internal and external clock nodes for rtc Keerthy
  2016-10-27  5:48   ` [PATCH 2/3] ARM: dts: AM335X-evm: " Keerthy
@ 2016-10-27  5:48   ` Keerthy
  2016-11-07  4:25   ` [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes Keerthy
  3 siblings, 0 replies; 6+ messages in thread
From: Keerthy @ 2016-10-27  5:48 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	j-keerthy-l0cyMroinI0, t-kristo-l0cyMroinI0

rtc can either be supplied from internal 32k clock or external crystal
generated 32k clock. Internal clock is SoC specific and the external
clock is board dependent. Assigning the corresponding clocks.

Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 975c36e..e2548d1 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -715,3 +715,8 @@
 
 	blue-and-red-wiring = "crossed";
 };
+
+&rtc {
+	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
+	clock-names = "ext-clk", "int-clk";
+};
-- 
1.9.1

--
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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes
       [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
                     ` (2 preceding siblings ...)
  2016-10-27  5:48   ` [PATCH 3/3] ARM: dts: AM335X-evmsk: " Keerthy
@ 2016-11-07  4:25   ` Keerthy
       [not found]     ` <b5aa9c3b-e922-404d-3e0a-8a84dd3bce2a-l0cyMroinI0@public.gmane.org>
  3 siblings, 1 reply; 6+ messages in thread
From: Keerthy @ 2016-11-07  4:25 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	t-kristo-l0cyMroinI0



On Thursday 27 October 2016 11:18 AM, Keerthy wrote:
> The series adds the clock info to rtc node.
>
> Boot tested and checked for rtc ticking on am335x-boneblack, am335x-bone
> am437x-gp-evm.

Tony,

The relevant driver changes are already pulled by Alexandre Belloni.
https://patchwork.kernel.org/patch/9398903/.

Hope you call pull this set.

Regards,
Keerthy

>
> Keerthy (3):
>   ARM: dts: AM335X-bone-common: Add the internal and external clock
>     nodes for rtc
>   ARM: dts: AM335X-evm: Add the internal and external clock nodes for
>     rtc
>   ARM: dts: AM335X-evmsk: Add the internal and external clock nodes for
>     rtc
>
>  arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
>  arch/arm/boot/dts/am335x-evm.dts          | 5 +++++
>  arch/arm/boot/dts/am335x-evmsk.dts        | 5 +++++
>  arch/arm/boot/dts/am33xx.dtsi             | 2 ++
>  4 files changed, 17 insertions(+)
>
--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes
       [not found]     ` <b5aa9c3b-e922-404d-3e0a-8a84dd3bce2a-l0cyMroinI0@public.gmane.org>
@ 2016-11-09 22:47       ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2016-11-09 22:47 UTC (permalink / raw)
  To: Keerthy
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	t-kristo-l0cyMroinI0

* Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org> [161106 21:25]:
> 
> 
> On Thursday 27 October 2016 11:18 AM, Keerthy wrote:
> > The series adds the clock info to rtc node.
> > 
> > Boot tested and checked for rtc ticking on am335x-boneblack, am335x-bone
> > am437x-gp-evm.
> 
> Tony,
> 
> The relevant driver changes are already pulled by Alexandre Belloni.
> https://patchwork.kernel.org/patch/9398903/.
> 
> Hope you call pull this set.

Applying into omap-for-v4.10/dt thanks.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-09 22:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27  5:48 [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes Keerthy
     [not found] ` <1477547288-5041-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-10-27  5:48   ` [PATCH 1/3] ARM: dts: AM335X-bone-common: Add the internal and external clock nodes for rtc Keerthy
2016-10-27  5:48   ` [PATCH 2/3] ARM: dts: AM335X-evm: " Keerthy
2016-10-27  5:48   ` [PATCH 3/3] ARM: dts: AM335X-evmsk: " Keerthy
2016-11-07  4:25   ` [PATCH 0/3] ARM: dts: am33xx: Add clock info to rtc nodes Keerthy
     [not found]     ` <b5aa9c3b-e922-404d-3e0a-8a84dd3bce2a-l0cyMroinI0@public.gmane.org>
2016-11-09 22:47       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).