All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: AM43x-epos: Fix clk parent for synctimer
@ 2016-03-08  6:54 ` Lokesh Vutla
  0 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2016-03-08  6:54 UTC (permalink / raw)
  To: linux-omap-u79uwXL29TY76Z2rM5mHXA, Tony Lindgren
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	Tero Kristo, Sekhar Nori, Nishanth Menon, Lokesh Vutla

commit 55ee7017ee31 ("arm: omap2: board-generic: use omap4_local_timer_init
for AM437x") makes synctimer32k as the clocksource on AM43xx. By default
the synctimer32k is clocked by 32K RTC OSC on AM43xx. But this 32K RTC OSC
is not available on epos boards which makes it fail to boot.

Synctimer32k can also be clocked by a peripheral PLL, so making this as
clock parent for synctimer3k on epos boards.

Reported-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Signed-off-by: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
---
Tested on AM43x-epos board:
Before this patch: http://pastebin.ubuntu.com/15326328/
After this patch: http://pastebin.ubuntu.com/15326323/

 arch/arm/boot/dts/am43x-epos-evm.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 948fb29..e415332 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -794,3 +794,8 @@
 	tx-num-evt = <32>;
 	rx-num-evt = <32>;
 };
+
+&synctimer_32kclk {
+	assigned-clocks = <&mux_synctimer32k_ck>;
+	assigned-clock-parents = <&clkdiv32k_ick>;
+};
-- 
2.1.4

--
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] 4+ messages in thread

end of thread, other threads:[~2016-03-30 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08  6:54 [PATCH] ARM: dts: AM43x-epos: Fix clk parent for synctimer Lokesh Vutla
2016-03-08  6:54 ` Lokesh Vutla
     [not found] ` <1457420075-26158-1-git-send-email-lokeshvutla-l0cyMroinI0@public.gmane.org>
2016-03-30 20:53   ` Tony Lindgren
2016-03-30 20:53     ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.