From patchwork Wed Oct 18 11:22:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiancheng Xue X-Patchwork-Id: 116181 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5595492qgn; Tue, 17 Oct 2017 20:18:15 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAlS/7EqyXGUFhkHMcxiYL7WPvDO2YY5nI/V0klCfi1tjIimI/F4+zhxmGUPGpxltYx9MzL X-Received: by 10.98.17.7 with SMTP id z7mr13525015pfi.206.1508296695551; Tue, 17 Oct 2017 20:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508296695; cv=none; d=google.com; s=arc-20160816; b=DdG6RPpe2IJovjezAjryaBFqO9JrkGJCEZoxZzvmbtx3QtZfYu4mWEKAgYTMydalL/ eAbvJEZxbUZWWC9SwzLd47lqhMyS+/VuTpsijPHRE5IQQNLMMBI3vpN/CJ0uXa8NtlFT gAPA9TW9xrkTobnhxpPISPgc6LnrrRpbCeBSnY2VkYGwTLsBXfCW5zyVUOKk5Y4ujydS qiPGEYj0vz6u0RwI80WdVnnrHs8uHskSN1Tnw5h35nW+2ZEWTU8FpkTKpU1Nl0BJHmun svfqPby1FarAhNXYc0MHVowwxJESC9XCX3kvTBCBshoc2zW2AkNomhwFCtRoHmVqB4+s J/RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=Rm9zeiSfARJ602sgpGPfbRfaj+QkiIs4CK2v2YWYqUM=; b=rAiwIjEATCzThPKsGDkxbF1o9xWY9qudVhOk/q6ao6jXBG+yiErfq5zSbbm3e2M86c RCscxiWLJh7pPDUgliBP2GErL+E+mK8ysVxqsYmLOfkpQVNB+Dpbh3/M8YJVqbCPrWdW Ct7VnmSfFQvloH3CtqnjtjylZ0QyZvS9tPRc+W4BaaDfcwHBXAgoD7ny4SAX9GttdmX/ MeDvIwKPMS0uTJX/JPgRyEscFvxOzHFwR4EO5gIECbG4z2otRmuCLrcMLvVB3DIAh+ek Iaq1zmEHvDU+FBi4j5rrUUzPCuMbENmvFrO6LWAKXIikb0dzhR5JbXQSAyT9RKwRR6iX /vMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si1719155plk.174.2017.10.17.20.18.15; Tue, 17 Oct 2017 20:18:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933764AbdJRDSA (ORCPT + 27 others); Tue, 17 Oct 2017 23:18:00 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8523 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933699AbdJRDR5 (ORCPT ); Tue, 17 Oct 2017 23:17:57 -0400 Received: from 172.30.72.58 (EHLO DGGEMS408-HUB.china.huawei.com) ([172.30.72.58]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DJI64662; Wed, 18 Oct 2017 11:17:55 +0800 (CST) Received: from arch-ubuntu.huawei.com (10.69.192.66) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.301.0; Wed, 18 Oct 2017 11:17:44 +0800 From: Jiancheng Xue To: , CC: , , , , , , , Younian Wang Subject: [PATCH 1/3] arm64: dts: hisilicon: supplement properties of ir node for poplar board Date: Wed, 18 Oct 2017 07:22:06 -0400 Message-ID: <1508325728-55823-2-git-send-email-xuejiancheng@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508325728-55823-1-git-send-email-xuejiancheng@hisilicon.com> References: <1508325728-55823-1-git-send-email-xuejiancheng@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.66] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090206.59E6C7E3.005C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 0b347ffedd51a7f89bc7592956d27c21 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Younian Wang Supplement properties of ir node for poplar board. Signed-off-by: Younian Wang --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 75865f8a..0d11dc7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -405,6 +405,8 @@ reg = <0x8001000 0x1000>; interrupts = ; clocks = <&sysctrl HISTB_IR_CLK>; + hisilicon,power-syscon = <&sysctrl>; + linux,rc-map-name = "rc-hisi-poplar"; status = "disabled"; }; }; From patchwork Wed Oct 18 11:22:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiancheng Xue X-Patchwork-Id: 116180 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5595388qgn; Tue, 17 Oct 2017 20:18:05 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDuSOj4PdLvbQ9elOT77WODtRmXDHW5vtYvCPuQi5ZavwKjNM/4Jcboa6tnp4kHbl25Ea2O X-Received: by 10.99.95.216 with SMTP id t207mr10803892pgb.185.1508296685254; Tue, 17 Oct 2017 20:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508296685; cv=none; d=google.com; s=arc-20160816; b=Cvn/dNF1fiGp+hchMTUKvm7V4MR7NwQ7aZbPlbAgvJgSzJPh5TQsHQF6wZZI8l8tXL TQ0l/5HWVIcbYiAtDU2M+Ev7Woorb2Ps3BG3fJij+/bLgJ+3RpshsI32st8nXi1yC+Xf 6b+jsrot7gKoiPz3in6aeWPMGvgDqkj+frdY2EGMfuZzRSl1p184/nklPvErlMBYxMv3 J35FqL6ngVja60rGKYO0vv+IKoWgBdFunOMt6Yjn/1Y2oo6r+o+4nJh0pU7JRj0jS9ks +ULuwYlo4slPXuOJIsWxv0heWZypfiC+fGEeY71w7Ao2yFoUC9XP0305rvYWXKCz30nN bwEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=O+wYcPjToDzRcbzhXFoE6uwS4ajgDVxekJRcq/vL9Ro=; b=mCaplR68tsj4dJCzyri1IsE2nQvfESTEsFxE+3Yf8SLJyamjlFo41kjfwJ/8PlGYC5 grgjWX0mf6aUGBB3oaZ4vf392mValD7Q0w0bDdzi3O42VhIlKjwTfdKmecqmnfi2bXDO ybVA72W5u/3fn3zVzCL+0ySOopPlgjyIbIX+C7pN0TagRJdLjWp1EBoGXYTejYRr37MR wWJyeffh9kulCY32d3KJjzIMSAL/TlbB3Ap/3g+nHgzLoRi1jjba1INmH/R7ZEmivcjI pRlP6hFKy6R9HnCMzw6IF58Z4hy7J/E81Ywy8L0H7EflX0OdKAbj21pzBTb29A0p79UJ +qEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p91si671185plb.301.2017.10.17.20.18.04; Tue, 17 Oct 2017 20:18:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933933AbdJRDSD (ORCPT + 27 others); Tue, 17 Oct 2017 23:18:03 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8524 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933691AbdJRDR5 (ORCPT ); Tue, 17 Oct 2017 23:17:57 -0400 Received: from 172.30.72.58 (EHLO DGGEMS408-HUB.china.huawei.com) ([172.30.72.58]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DJI64663; Wed, 18 Oct 2017 11:17:55 +0800 (CST) Received: from arch-ubuntu.huawei.com (10.69.192.66) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.301.0; Wed, 18 Oct 2017 11:17:44 +0800 From: Jiancheng Xue To: , CC: , , , , , , , tianshuliang Subject: [PATCH 3/3] arm64: dts: hisilicon: supplement properties of emmc nodes for hi3798cv200-poplar board Date: Wed, 18 Oct 2017 07:22:08 -0400 Message-ID: <1508325728-55823-4-git-send-email-xuejiancheng@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508325728-55823-1-git-send-email-xuejiancheng@hisilicon.com> References: <1508325728-55823-1-git-send-email-xuejiancheng@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.66] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.59E6C7E3.0075, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: b63bc3a776a368a15e8f3a2c7e454039 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: tianshuliang Supplement properties of emmc nodes to support high performance. Signed-off-by: tianshuliang --- arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 12 ++++++++++++ arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 8 +++++--- 2 files changed, 17 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts index 6a0b7e9..b890829 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts @@ -160,4 +160,16 @@ status = "okay"; label = "LS-UART0"; }; + +&emmc { + status = "okay"; + num-slots = <1>; + fifo-depth = <256>; + clock-frequency = <200000000>; + cap-mmc-highspeed; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + non-removable; + bus-width = <8>; +}; /* No optional LS-UART1 on Low Speed Expansion Connector. */ diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 5a73c68..df62382 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -241,12 +241,14 @@ }; emmc: mmc@9830000 { - compatible = "snps,dw-mshc"; + compatible = "hisilicon,hi3798cv200-dw-mshc"; reg = <0x9830000 0x10000>; interrupts = ; clocks = <&crg HISTB_MMC_CIU_CLK>, - <&crg HISTB_MMC_BIU_CLK>; - clock-names = "ciu", "biu"; + <&crg HISTB_MMC_BIU_CLK>, + <&crg HISTB_MMC_SAMPLE_CLK>, + <&crg HISTB_MMC_DRV_CLK>; + clock-names = "ciu", "biu", "ciu-sample", "ciu-drive"; }; gpio0: gpio@8b20000 {