From mboxrd@z Thu Jan 1 00:00:00 1970 From: xuwei5@hisilicon.com (Wei Xu) Date: Fri, 2 Sep 2016 11:21:43 +0100 Subject: [PATCH] arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1 In-Reply-To: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> References: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> Message-ID: <57C952B7.3010207@hisilicon.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Guodong, On 31/08/2016 14:10, Guodong Xu wrote: > With these properties added, sd cards inserted into hikey can work at UHS > mode if they have such capability. > > Note, this depends on HiKey UHS-SD support patch [1] to work properly. > If you didn't add this patch, but added sd-uhs- properties into dwmmc_1, > then sd cards cannot work. As of this post, patch [1] has been integrated > into maintainer's next branch [2]. > > [1]: [V4] mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey, > https://patchwork.kernel.org/patch/9262515/ > [2]: https://git.linaro.org/people/ulf.hansson/mmc.git next > commit a8a5b2909cfc ("mmc: dw_mmc: k3: UHS-SD card for Hisilicon Hikey") > > cc: Ulf Hansson > cc: Jaehoon Chung > cc: Jinguojun > Signed-off-by: Guodong Xu Applied to the hisi-dt-4.9 branch. Thanks! Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 63608e9..17839db 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > @@ -785,6 +785,9 @@ > card-detect-delay = <200>; > hisilicon,peripheral-syscon = <&ao_ctrl>; > cap-sd-highspeed; > + sd-uhs-sdr12; > + sd-uhs-sdr25; > + sd-uhs-sdr50; > reg = <0x0 0xf723e000 0x0 0x1000>; > interrupts = <0x0 0x49 0x4>; > #address-cells = <0x1>; > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Xu Subject: Re: [PATCH] arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1 Date: Fri, 2 Sep 2016 11:21:43 +0100 Message-ID: <57C952B7.3010207@hisilicon.com> References: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1472649058-22364-1-git-send-email-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Guodong Xu , robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ulf Hansson , Jaehoon Chung , Jinguojun List-Id: devicetree@vger.kernel.org Hi Guodong, On 31/08/2016 14:10, Guodong Xu wrote: > With these properties added, sd cards inserted into hikey can work at UHS > mode if they have such capability. > > Note, this depends on HiKey UHS-SD support patch [1] to work properly. > If you didn't add this patch, but added sd-uhs- properties into dwmmc_1, > then sd cards cannot work. As of this post, patch [1] has been integrated > into maintainer's next branch [2]. > > [1]: [V4] mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey, > https://patchwork.kernel.org/patch/9262515/ > [2]: https://git.linaro.org/people/ulf.hansson/mmc.git next > commit a8a5b2909cfc ("mmc: dw_mmc: k3: UHS-SD card for Hisilicon Hikey") > > cc: Ulf Hansson > cc: Jaehoon Chung > cc: Jinguojun > Signed-off-by: Guodong Xu Applied to the hisi-dt-4.9 branch. Thanks! Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 63608e9..17839db 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > @@ -785,6 +785,9 @@ > card-detect-delay = <200>; > hisilicon,peripheral-syscon = <&ao_ctrl>; > cap-sd-highspeed; > + sd-uhs-sdr12; > + sd-uhs-sdr25; > + sd-uhs-sdr50; > reg = <0x0 0xf723e000 0x0 0x1000>; > interrupts = <0x0 0x49 0x4>; > #address-cells = <0x1>; > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753423AbcIBK2k (ORCPT ); Fri, 2 Sep 2016 06:28:40 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:6534 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753379AbcIBK2i (ORCPT ); Fri, 2 Sep 2016 06:28:38 -0400 Subject: Re: [PATCH] arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1 To: Guodong Xu , , , , References: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> CC: , , , Ulf Hansson , "Jaehoon Chung" , Jinguojun From: Wei Xu Message-ID: <57C952B7.3010207@hisilicon.com> Date: Fri, 2 Sep 2016 11:21:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.181.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0201.57C952C7.0057,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: e6ce9f015854429c27c977f3373fb8ad Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guodong, On 31/08/2016 14:10, Guodong Xu wrote: > With these properties added, sd cards inserted into hikey can work at UHS > mode if they have such capability. > > Note, this depends on HiKey UHS-SD support patch [1] to work properly. > If you didn't add this patch, but added sd-uhs- properties into dwmmc_1, > then sd cards cannot work. As of this post, patch [1] has been integrated > into maintainer's next branch [2]. > > [1]: [V4] mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey, > https://patchwork.kernel.org/patch/9262515/ > [2]: https://git.linaro.org/people/ulf.hansson/mmc.git next > commit a8a5b2909cfc ("mmc: dw_mmc: k3: UHS-SD card for Hisilicon Hikey") > > cc: Ulf Hansson > cc: Jaehoon Chung > cc: Jinguojun > Signed-off-by: Guodong Xu Applied to the hisi-dt-4.9 branch. Thanks! Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 63608e9..17839db 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > @@ -785,6 +785,9 @@ > card-detect-delay = <200>; > hisilicon,peripheral-syscon = <&ao_ctrl>; > cap-sd-highspeed; > + sd-uhs-sdr12; > + sd-uhs-sdr25; > + sd-uhs-sdr50; > reg = <0x0 0xf723e000 0x0 0x1000>; > interrupts = <0x0 0x49 0x4>; > #address-cells = <0x1>; >