From: alim.akhtar@samsung.com (Alim Akhtar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: dts: Fix rtc by providing rtc_src clock
Date: Tue, 05 Jul 2016 15:35:07 +0530 [thread overview]
Message-ID: <1467713107-15932-1-git-send-email-alim.akhtar@samsung.com> (raw)
Add rtc source clock as exynos7 needs source (32.768KHz) clock
for rtc block. Without this currently rtc driver probe is broken
on this SoC, thats because rtc-s3c driver expect rtc_src clock to
be provided for _s3c6410-rtc_ type rtc controllers.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.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 03f9cf6..7f48cf0 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";
@@ -44,6 +45,8 @@
&rtc {
status = "okay";
+ clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
};
&watchdog {
--
1.7.10.4
next reply other threads:[~2016-07-05 10:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 10:05 Alim Akhtar [this message]
2016-07-05 13:03 ` [PATCH] arm64: dts: Fix rtc by providing rtc_src clock Javier Martinez Canillas
2016-07-06 6:21 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2016-07-11 7:34 [GIT PULL/PATCH] Fix for current cycle - v4.7 Krzysztof Kozlowski
2016-07-11 7:34 ` [PATCH] arm64: dts: Fix RTC by providing rtc_src clock Krzysztof Kozlowski
2016-07-14 12:44 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467713107-15932-1-git-send-email-alim.akhtar@samsung.com \
--to=alim.akhtar@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox