Skip to contentSkip to conversation

ARM: dts: Re-organize RTC status for 5420

PATCH In review Sachin Kamat 3 participants 5 messages Dec 19, 2013 – Feb 24, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Re-organize RTC status for 5420

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files.

---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    4 ++++
 arch/arm/boot/dts/exynos5420-smdk5420.dts     |    4 ++++
 arch/arm/boot/dts/exynos5420.dtsi             |    2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)
arch/arm/boot/dts/exynos5420-arndale-octa.dts +4 -0
index 9f3a3231158b..090117d595cb 100644
@@ -38,6 +38,10 @@
 		};
 	};
 
+	rtc@101E0000 {
+		status = "okay";
+	};
+
 	mmc@12200000 {
 		status = "okay";
 		broken-cd;
arch/arm/boot/dts/exynos5420-smdk5420.dts +4 -0
index 62e1ebe4e989..edb4926f17d6 100644
@@ -31,6 +31,10 @@
 		};
 	};
 
+	rtc@101E0000 {
+		status = "okay";
+	};
+
 	mmc@12200000 {
 		status = "okay";
 		broken-cd;
arch/arm/boot/dts/exynos5420.dtsi +1 -1
index 1c1a6a0db252..0b4bb87ae5f9 100644
@@ -271,7 +271,7 @@
 	rtc@101E0000 {
 		clocks = <&clock 317>;
 		clock-names = "rtc";
-		status = "okay";
+		status = "disabled";
 	};
 
 	amba {
Signature · 1 line
1.7.9.5
Reviewed-by on v1 1/1
#1 lore raw

Hi Sachin,

Quoted 9 lines · On Thursday 19 of December 2013 16:27:53 Sachin Kamat wrote:

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files.

---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    4 ++++
 arch/arm/boot/dts/exynos5420-smdk5420.dts     |    4 ++++
 arch/arm/boot/dts/exynos5420.dtsi             |    2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

By the way, can we expect a patch like this for Exynos 5250 to make all Exynos SoCs consistent about this?

Best regards,
Tomasz

#2 lore raw

Hi Tomasz,

Quoted 6 lines · Tomasz Figa

Hi Sachin,

Quoted 3 lines · On Thursday 19 of December 2013 16:27:53 Sachin Kamat wrote:

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files.

Quoted 8 lines
Quoted 6 lines
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    4 ++++
 arch/arm/boot/dts/exynos5420-smdk5420.dts     |    4 ++++
 arch/arm/boot/dts/exynos5420.dtsi             |    2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

Thanks.

Quoted 3 lines

By the way, can we expect a patch like this for Exynos 5250 to make all Exynos SoCs consistent about this?

Sure. That was my plan.

---
With warm regards,
Sachin

#3 lore raw
In reply to Tomasz Figa
Quoted 6 lines · Tomasz Figa

Hi Sachin,

Quoted 3 lines · On Thursday 19 of December 2013 16:27:53 Sachin Kamat wrote:

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files.

Quoted 8 lines
Quoted 6 lines
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |    4 ++++
 arch/arm/boot/dts/exynos5420-smdk5420.dts     |    4 ++++
 arch/arm/boot/dts/exynos5420.dtsi             |    2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

Ping Kukjin. Also the other patch for 5250.

Signature · 2 lines
With warm regards,
Sachin
#4 lore raw
Quoted 14 lines · Sachin Kamat
Quoted 13 lines · Tomasz Figa

Hi Sachin,

Quoted 9 lines · On Thursday 19 of December 2013 16:27:53 Sachin Kamat wrote:

Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files.

---
  arch/arm/boot/dts/exynos5420-arndale-octa.dts |    4 ++++
  arch/arm/boot/dts/exynos5420-smdk5420.dts     |    4 ++++
  arch/arm/boot/dts/exynos5420.dtsi             |    2 +-
  3 files changed, 9 insertions(+), 1 deletion(-)
Quoted 4 lines
Quoted 1 line

Ping Kukjin. Also the other patch for 5250.

Applied with 5250 related patch, thanks.

- Kukjin