All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM: dts: armada-385-linksys: Disable internal RTC
@ 2018-03-17 15:47 Hauke Mehrtens
  2018-03-19 16:44 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2018-03-17 15:47 UTC (permalink / raw)
  To: linux-arm-kernel

The internal RTC does not work correctly on these Linksys boards based
on Marvell SoCs. For me it only shows Wed Dec 31 23:59:59 1969 and for
others it is off by 3 minutes in 10 minutes running, this was reported
by multiple users. On the Linksys Mamba device the device tree comment
says that no crystal is connected to the internal RTC, this is probably
also true for the other devices.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 arch/arm/boot/dts/armada-385-linksys.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index 434dc9aaa5e4..b7bbf15571c5 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -282,3 +282,8 @@
 	status = "okay";
 	usb-phy = <&usb3_1_phy>;
 };
+
+&rtc {
+	/* No crystal connected to the internal RTC */
+	status = "disabled";
+};
-- 
2.11.0

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

* ARM: dts: armada-385-linksys: Disable internal RTC
  2018-03-17 15:47 ARM: dts: armada-385-linksys: Disable internal RTC Hauke Mehrtens
@ 2018-03-19 16:44 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2018-03-19 16:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Hauke,
 
 On sam., mars 17 2018, Hauke Mehrtens <hauke@hauke-m.de> wrote:

> The internal RTC does not work correctly on these Linksys boards based
> on Marvell SoCs. For me it only shows Wed Dec 31 23:59:59 1969 and for
> others it is off by 3 minutes in 10 minutes running, this was reported
> by multiple users. On the Linksys Mamba device the device tree comment
> says that no crystal is connected to the internal RTC, this is probably
> also true for the other devices.
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-385-linksys.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
> index 434dc9aaa5e4..b7bbf15571c5 100644
> --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
> +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
> @@ -282,3 +282,8 @@
>  	status = "okay";
>  	usb-phy = <&usb3_1_phy>;
>  };
> +
> +&rtc {
> +	/* No crystal connected to the internal RTC */
> +	status = "disabled";
> +};
> -- 
> 2.11.0
>

-- 
Gregory Clement, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

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

end of thread, other threads:[~2018-03-19 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-17 15:47 ARM: dts: armada-385-linksys: Disable internal RTC Hauke Mehrtens
2018-03-19 16:44 ` Gregory CLEMENT

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.