Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1438056ybm; Thu, 23 May 2019 00:41:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJCQv3i2U8bryzpGjMfMFP21Z9refeZ2zS/bqJUlfNeOeYxRq3eQr1GOhurCqgogC1Sw5L X-Received: by 2002:a17:902:b601:: with SMTP id b1mr47748572pls.117.1558597312267; Thu, 23 May 2019 00:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558597312; cv=none; d=google.com; s=arc-20160816; b=Huj3klCtTjpj0C7EKwjYASE7Bjpt8abRU/BkIKfdYLNwoA+K5t7Qg0el9o8WHuQ0le WvQaHs7WrIRtt3j+EhyTteCHryreCVleBsO6SwBtC2tbVBaSb75fMhFz12ENYN863844 aqfdFtU1M+g4HsWH/WCfi1Hwnt38a3eWklR5FB7XKnBe60Vuy4+HZgxHSQb4Rc+eKBi5 KN9LmpmrG0a8hs1W59OnmxVxyw9uiKUoZ2aHqMQWhc0vtN/5Htlj6P+cT36LmXyPROAt S/bztX0Z4p9beMwbjuEc6sISrF56bTLh6mEQ1SF0M2Jg593tSdXYma0zNx94gBjSSLwT /38w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hSRv2yiT6t89fC0oKWekyEJkFj/NTE1fqCHLAwOTZSI=; b=PNDuyeObqR4gfN31Vo/p4IMt6dO4g2M0omjBFBJvUVavNURCle+D5UgmK/IjYfF6Sf 86LMyH5ZbWRd7nLBo8JxevDJmv7r2dA2HIg+NHWFGFo1h96saLMyqpshOgbI/ht1c0WM Zo4WpZev3PSCjaRU1LcnMYeaIydvE0l+Soaczwp6fVmK57EthET8nwBjBO0ifoD9lSZ6 3C8C1fq7Ae0a3hLc5VhcV9yKJWQFaCVB6t1ee2skLQPBp1WwRboCmcVhAfeFV7bHYZMM wBxCZYaOgtKtqTfWLJy68ZHoG1pGtypaMDsWc+5Pu/OcgKnWdXpHdIdSwLeapFQEfZcL XDTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=A7DoqJN2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si27130053pga.291.2019.05.23.00.41.34; Thu, 23 May 2019 00:41:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=A7DoqJN2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730647AbfEWHiw (ORCPT + 99 others); Thu, 23 May 2019 03:38:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:39228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfEWHit (ORCPT ); Thu, 23 May 2019 03:38:49 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8E482075E; Thu, 23 May 2019 07:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558597128; bh=PDeQ/R6EFXXI6bmG+2plkabUTkZx6Xpn/gVapHNA3DQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A7DoqJN2tSJu1utHXlZ/Uk9R23K9mhPPKEIMvUAwL23Qfy5vM6Xr98X0r923XXkRE wy7k9kJcj2h3C5v20tYNfAQ34HDISe6d248XLL5gQ+D32V1phD/sXMaBTIvhRxu0hf 8SRKuiWIwfdzus11Ls+EacvJN1RcPhaRs1MbU2Ko= Date: Thu, 23 May 2019 15:37:45 +0800 From: Shawn Guo To: Yinbo Zhu Cc: Li Yang , Rob Herring , xiaobo.xie@nxp.com, Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, yangbo.lu@nxp.com, jiafei.pan@nxp.com, Ashish Kumar Subject: Re: [PATCH v2] arm64: dts: ls1028a: Add esdhc node in dts Message-ID: <20190523073744.GG9261@dragon> References: <20190515040046.9230-1-yinbo.zhu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190515040046.9230-1-yinbo.zhu@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 15, 2019 at 12:00:46PM +0800, Yinbo Zhu wrote: > From: Ashish Kumar > > This patch is to add esdhc node and enable SD UHS-I, > eMMC HS200 for ls1028ardb/ls1028aqds board. > > Signed-off-by: Ashish Kumar > Signed-off-by: Yangbo Lu > Signed-off-by: Yinbo Zhu > --- > Change in v2: > Update the patch title > Add a commont in dts code > > arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8 ++++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 13 ++++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 27 +++++++++++++++++++++ > 3 files changed, 48 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > index 14c79f4..180e5d2 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > @@ -42,6 +42,14 @@ > status = "okay"; > }; > > +&esdhc { > + status = "okay"; > +}; > + > +&esdhc1 { > + status = "okay"; > +}; > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > index f86b054..1bfaf42 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -30,6 +30,19 @@ > }; > }; > > +&esdhc { > + status = "okay"; We usually put 'status' at the end of property list. > + sd-uhs-sdr104; > + sd-uhs-sdr50; > + sd-uhs-sdr25; > + sd-uhs-sdr12; > + }; Bad indentation. > + > +&esdhc1 { > + status = "okay"; > + mmc-hs200-1_8v; > + }; > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 2896bbc..5c7546f 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -274,6 +274,33 @@ > status = "disabled"; > }; > > + esdhc: esdhc@2140000 { 'mmc' for node name, and the node should be sorted in unit-address. > + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; > + reg = <0x0 0x2140000 0x0 0x10000>; > + interrupts = <0 28 0x4>; /* Level high type */ interrupts = ; > + clock-frequency = <0>; /* fixed up by bootloader */ > + clocks = <&clockgen 2 1>; > + voltage-ranges = <1800 1800 3300 3300>; > + sdhci,auto-cmd12; > + little-endian; > + bus-width = <4>; > + status = "disabled"; > + }; > + > + esdhc1: esdhc@2150000 { > + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; > + reg = <0x0 0x2150000 0x0 0x10000>; > + interrupts = <0 63 0x4>; /* Level high type */ > + clock-frequency = <0>; /* fixed up by bootloader */ > + clocks = <&clockgen 2 1>; > + voltage-ranges = <1800 1800 3300 3300>; > + sdhci,auto-cmd12; > + broken-cd; Shouldn't this one be a board level property? Shawn > + little-endian; > + bus-width = <4>; > + status = "disabled"; > + }; > + > sata: sata@3200000 { > compatible = "fsl,ls1028a-ahci"; > reg = <0x0 0x3200000 0x0 0x10000>, > -- > 1.7.1 >