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]
Date:	Wed, 24 Jun 2015 23:15:33 +0530
From:	Mugunthan V N <mugunthanvnm@...com>
To:	<linux-omap@...r.kernel.org>
CC:	Tony Lindgren <tony@...mide.com>, Keerthy <j-keerthy@...com>,
	Tero Kristo <t-kristo@...com>, <devicetree@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.

From: Sourav Poddar <sourav.poddar@...com>

Add clock node for qspi controller driver on am437x.

Cc: Keerthy <j-keerthy@...com>
Cc: Tero Kristo <t-kristo@...com>
Signed-off-by: Sourav Poddar <sourav.poddar@...com>
Signed-off-by: Mugunthan V N <mugunthanvnm@...com>
---
 arch/arm/boot/dts/am4372.dtsi        | 2 ++
 arch/arm/boot/dts/am43xx-clocks.dtsi | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 649e7b9..8ab7831 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -903,6 +903,8 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			ti,hwmods = "qspi";
+			clocks = <&qspi_fclk>;
+			clock-names = "fck";
 			interrupts = <0 138 0x4>;
 			num-cs = <4>;
 			status = "disabled";
diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
index cc88728..1506585 100644
--- a/arch/arm/boot/dts/am43xx-clocks.dtsi
+++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
@@ -763,4 +763,12 @@
 		ti,bit-shift = <8>;
 		reg = <0x8a68>;
 	};
+
+	qspi_fclk: qspi_fclk {
+		#clock-cells = <0>;
+		compatible = "ti,fixed-factor-clock";
+		clocks = <&dpll_per_m2_div4_ck>;
+		clock-mult = <1>;
+		clock-div = <1>;
+	};
 };
-- 
2.4.2.387.gf86f31a

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ