lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1467713107-15932-1-git-send-email-alim.akhtar@samsung.com>
Date:	Tue, 05 Jul 2016 15:35:07 +0530
From:	Alim Akhtar <alim.akhtar@...sung.com>
To:	linux-arm-kernel@...ts.infradead.org
Cc:	devicetree@...r.kernel.org, catalin.marinas@....com,
	linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
	k.kozlowski@...sung.com, javier@....samsung.com,
	pankaj.dubey@...sung.com, alim.akhtar@...sung.com
Subject: [PATCH] arm64: dts: Fix rtc by providing rtc_src clock

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@...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 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ