ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
Subsystems (2)
PATCH v3 2/2 ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2.
---
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.
--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
arch/arm/boot/dts/exynos5422-odroidxu3.dts +6 -4
@@ -274,10 +274,6 @@ reg = <0x50>; }; }; - - rtc@101E0000 { - status = "okay"; - }; }; &hdmi {
@@ -374,3 +370,9 @@ shunt-resistor = <10000>; }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; +};
Signature · 1 line
1.9.1
2015-03-30 17:38 GMT+02:00 Markus Reichl <[email protected]>:
Quoted 13 lines
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2.
Signed-off-by Markus Reichl <[email protected]>---
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.
Quoted 3 lines
--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Best regards,
Krzysztof
Hi,
Quoted 34 lines · Markus Reichl
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2.
Signed-off-by Markus Reichl <[email protected]>---
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)arch/arm/boot/dts/exynos5422-odroidxu3.dts +0
-4@@ -274,10 +274,6 @@ reg = <0x50>; }; }; - - rtc@101E0000 { - status = "okay"; - }; }; &hdmi {
arch/arm/boot/dts/exynos5422-odroidxu3.dts line 378
Quoted 9 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +6
-0@@ -374,3 +370,9 @@ shunt-resistor = <10000>; }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; +};
Exynos's RTC must need the XrtcXTI source clock (32.768kHz). Looks good to me.
Thanks,
Chanwoo Choi
Javier Martinez Canillas
Reviewed-byQuoted 49 lines · Chanwoo Choi
Hi,
Quoted 34 lines · Markus Reichl
The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based in v4.0-rc2.
Signed-off-by Markus Reichl <[email protected]>---
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.--- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)arch/arm/boot/dts/exynos5422-odroidxu3.dts +0
-4@@ -274,10 +274,6 @@ reg = <0x50>; }; }; - - rtc@101E0000 { - status = "okay"; - }; }; &hdmi {arch/arm/boot/dts/exynos5422-odroidxu3.dts line 378
Quoted 9 lines
arch/arm/boot/dts/exynos5422-odroidxu3.dts +6
-0@@ -374,3 +370,9 @@ shunt-resistor = <10000>; }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; +};Exynos's RTC must need the XrtcXTI source clock (32.768kHz). Looks good to me.
Quoted 5 lines
Reviewed-by Chanwoo Choi <[email protected]>Thanks,
Chanwoo Choi
Best regards,
Javier