[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1699CE87DE933F49876AD744B5DC140F0672AA14@dggemm526-mbx.china.huawei.com>
Date: Thu, 14 Feb 2019 06:37:11 +0000
From: "liwei (CM)" <liwei213@...wei.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
"vinholikatti@...il.com" <vinholikatti@...il.com>,
"jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"john.stultz@...aro.org" <john.stultz@...aro.org>,
"amit.kucheria@...aro.org" <amit.kucheria@...aro.org>,
"guodong.xu@...aro.org" <guodong.xu@...aro.org>
Subject: 答复: [PATCH v2 2/3] arm64: dts: hisilicon: hi3670: Add UFS controller support
Fine to me. Thanks!
Acked-by: Wei Li <liwei213@...wei.com>
-----邮件原件-----
发件人: Manivannan Sadhasivam [mailto:manivannan.sadhasivam@...aro.org]
发送时间: 2019年1月5日 15:29
收件人: vinholikatti@...il.com; jejb@...ux.vnet.ibm.com; martin.petersen@...cle.com; liwei (CM); robh+dt@...nel.org
抄送: linux-scsi@...r.kernel.org; linux-kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; devicetree@...r.kernel.org; john.stultz@...aro.org; amit.kucheria@...aro.org; guodong.xu@...aro.org; Manivannan Sadhasivam
主题: [PATCH v2 2/3] arm64: dts: hisilicon: hi3670: Add UFS controller support
Add UFS controller support for HiSilicon HI3670 SoC.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
---
arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
index 6ccdf5040ffd..285219dd657f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
@@ -654,6 +654,24 @@
clock-names = "apb_pclk";
};
+ /* UFS */
+ ufs: ufs@...c0000 {
+ compatible = "hisilicon,hi3670-ufs", "jedec,ufs-2.1";
+ /* 0: HCI standard */
+ /* 1: UFS SYS CTRL */
+ reg = <0x0 0xff3c0000 0x0 0x1000>,
+ <0x0 0xff3e0000 0x0 0x1000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>,
+ <&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>;
+ clock-names = "ref_clk", "phy_clk";
+ freq-table-hz = <0 0>, <0 0>;
+ /* offset: 0x84; bit: 12 */
+ resets = <&crg_rst 0x84 12>;
+ reset-names = "rst";
+ };
+
/* SD */
dwmmc1: dwmmc1@...7f000 {
compatible = "hisilicon,hi3670-dw-mshc";
--
2.17.1
Powered by blists - more mailing lists