[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1468222458-4265-2-git-send-email-k.kozlowski@samsung.com>
Date: Mon, 11 Jul 2016 09:34:18 +0200
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Olof Johansson <olof@...om.net>, Arnd Bergmann <arnd@...db.de>,
Kevin Hilman <khilman@...nel.org>, arm@...nel.org
Cc: Kukjin Kim <kgene@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
krzk@...nel.org, k.kozlowski@...sung.com,
Alim Akhtar <alim.akhtar@...sung.com>
Subject: [PATCH] arm64: dts: Fix RTC by providing rtc_src clock
From: Alim Akhtar <alim.akhtar@...sung.com>
Add RTC source clock as Exynos7 needs source (32.768KHz) clock
for RTC block. Without this currently S3C RTC driver probe is broken
on this SoC.
Signed-off-by: Alim Akhtar <alim.akhtar@...sung.com>
Reviewed-by: Javier Martinez Canillas <javier@....samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
---
arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
index d8767b00862e..14cd3a14fb7c 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
@@ -12,6 +12,7 @@
/dts-v1/;
#include "exynos7.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
/ {
model = "Samsung Exynos7 Espresso board based on EXYNOS7";
@@ -43,6 +44,8 @@
&rtc {
status = "okay";
+ clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
};
&watchdog {
--
1.9.1
Powered by blists - more mailing lists