Thread (5 messages) flat view 5 messages, 3 authors, 2019-07-24

Re: [PATCH] ARM: kirkwood: ts219: disable the SoC's RTC

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2019-07-23 20:03:40
Also in: linux-rtc

On 23/07/2019 21:45:05+0200, Uwe Kleine-König wrote:
quoted hunk ↗ jump to hunk
The internal RTC doesn't work, loading the driver only yields

	rtc-mv f1010300.rtc: internal RTC not ticking

. So disable it.

Signed-off-by: Uwe Kleine-König <redacted>
---
 arch/arm/boot/dts/kirkwood-ts219.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi
index a88eb22070a1..994cabcf4b51 100644
--- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
@@ -104,3 +104,11 @@
 &pcie0 {
 	status = "okay";
 };
+
+&rtc {
+	/*
+	 * There is a s35390a available on the i2c bus, the internal rtc isn't
+	 * working (probably no crystal assembled).
+	 */
+	status = "disabled";
+};
You could also use the aliases to ensure rtc0 is the s35390a. This would
solve the initial issue.
-- 
2.20.1
-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help