Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462740

[PATCH 6/7] ARM: dts: STiH407-family: Add ports-implemented property in sata nodes

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 6/7] ARM: dts: STiH407-family: Add ports-implemented property in sata nodes
Date 2016-08-15 14:20 +0200
Message-ID <s6p21-5sa-9@gated-at.bofh.it> (permalink)
References <s6p21-5sa-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Patrice Chotard <patrice.chotard@st.com>

Despite ST AHCI version = 1.3, reading HOST_PORTS_IMPL
returns 0. So force HOST_PORTS_IMPL to 1 by using
ports-implemented DT property.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407-family.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 59fea05..55ecfbe 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -607,6 +607,8 @@
 			clock-names = "ahci_clk";
 			clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
 
+			ports-implemented = <0x1>;
+
 			status = "disabled";
 		};
 
@@ -630,6 +632,8 @@
 			clock-names = "ahci_clk";
 			clocks = <&clk_s_c0_flexgen CLK_ICN_REG>;
 
+			ports-implemented = <0x1>;
+
 			status = "disabled";
 		};
 
-- 
2.9.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 6/7] ARM: dts: STiH407-family: Add ports-implemented property in sata nodes Lee Jones <lee.jones@linaro.org> - 2016-08-15 14:20 +0200

csiph-web