Linux Samsung SOC development
 help / color / mirror / Atom feed
* [RESEND][PATCH] ARM: dts: exynos4412-odroid: add 'rtc_src' clock to rtc node
@ 2015-05-08  9:34 Markus Reichl
  2015-05-08 11:13 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Reichl @ 2015-05-08  9:34 UTC (permalink / raw)
  To: linux-samsung-soc, Krzysztof Kozlowski
  Cc: m.reichl, javier.martinez, Tobias Jakobi, Chanwoo Choi,
	Kukjin Kim

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

The Exynos4412 SoC has a s3c6410 RTC where the source clock
is now a mandatory property.

This patch fixes probe failure of s3c-rtc on Odroid-X2/U2/U3 boards.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index 1ff4c88..0a8e6aa4 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -9,6 +9,7 @@
 
 #include <dt-bindings/sound/samsung-i2s.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/clock/maxim,max77686.h>
 #include "exynos4412.dtsi"
 
 / {
@@ -143,6 +144,8 @@
 
 	rtc@10070000 {
 		status = "okay";
+		clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
+		clock-names = "rtc", "rtc_src";
 	};
 
 	g2d@10800000 {
-- 
2.0.5





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2015-05-08 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08  9:34 [RESEND][PATCH] ARM: dts: exynos4412-odroid: add 'rtc_src' clock to rtc node Markus Reichl
2015-05-08 11:13 ` Krzysztof Kozlowski
2015-05-08 17:59   ` [RESEND][PATCH] ARM: dts: exynos4412-odroid: add 'rtc_src' clockto " Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox