Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3819283ybl; Mon, 12 Aug 2019 06:58:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYJUAFHJqIxbRGR8e30qxhtDW7HVRsOoswMOPjkAdhzoKg31UzHtd7BaNMFfiJTq+lVH4q X-Received: by 2002:a63:2043:: with SMTP id r3mr30377604pgm.311.1565618336274; Mon, 12 Aug 2019 06:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565618336; cv=none; d=google.com; s=arc-20160816; b=gfx85n1hgHkabPkB1kMuIoq7NumSFlFkWMJoylPsjprslj+Gu1vsIRaQKybzeusekA xZH5V9/N/a0B9H3OcbpE/+4q9Qmh4gf6eiJP5XpldxYKd4ioEM5x7eU8SFV+Gy+SbncG m/ByIliH+2E2Cve6+NsIyMhr+lwb+n9wRrfCCEm20VHe3Be9VLRpZCQYJNxzf7IVkvEi y4PlrBAO/jIvq5cGe8XdOpFCo3yevlMJ6A2nkERqYXeB9TvA1WbtP2WfksfmlzUN+Opo OkgcUp+yTMw0q+elhQNGx2dywaM7C0aWUbqRizTHZUfxIPIjSMZ6SvhLIzBfI1JVRqvf uKqA== 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=cpwyPMMnuYhN2LISJRdttQmxafoq6S+YbyQVnEKzjPg=; b=e90Ob+e54YajA60GyqBX6lWCTebwPOacevU0OIP3olmh21hB7HXwfIyZmUBw80JR1q kSm735fPaWBVQD1g2DDkAp6cytIjIAYwuqSrLFBhmX/gSG1hgw1nuMt+jT9fcrTXaT2J ih9CCtWf+nOe/shbhNemCNA9/DhPfM/EH9bxPHmhYlRpF9xxszqyE51JJS3bt8mP9iuo Zd+8QeUqSeWJC7IjxHyCavaSExHw3dR6Ssyfjp4ozNTRcPkZsad5KW47RnQYKeIqNKY9 6RWPE5BkKaykrLDbcx/hhpkC4rlLFPlBAmA+AYVx7gsG8bgA7tpXQGhseJ2zZI8p7oAO j0wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c0g0G7yl; 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 1si39447753plz.351.2019.08.12.06.58.41; Mon, 12 Aug 2019 06:58:56 -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=c0g0G7yl; 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 S1726601AbfHLN4L (ORCPT + 99 others); Mon, 12 Aug 2019 09:56:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:38682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbfHLN4K (ORCPT ); Mon, 12 Aug 2019 09:56:10 -0400 Received: from X250 (37.80-203-192.nextgentel.com [80.203.192.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AAC9020684; Mon, 12 Aug 2019 13:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565618169; bh=Rnpz2gfo/cmld6mdLNQ9CgYpB9S8DKG9sxArptaImhE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0g0G7ylCN34wslN5FzloLxtVcKILiuGVQNsHbkMZCHOJ66a9bAYR+RWpRh8Sk6+Z +jtxcogP3ka/c8kZ7xIzH3acga9W7VyetXtqvn5YuX6V3ezEPIsRD+hRJi0OuJxbby O49yjG8ZiVInZeQQBpJHnik9268uRynhVOodTEb8= Date: Mon, 12 Aug 2019 15:55:59 +0200 From: Shawn Guo To: Yinbo Zhu Cc: Li Yang , Rob Herring , xiaobo.xie@nxp.com, jiafei.pan@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, Ashish Kumar Subject: Re: [PATCH v4] arm64: dts: ls1028a: Add esdhc node in dts Message-ID: <20190812135556.GG27041@X250> References: <20190805102641.3732-1-yinbo.zhu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190805102641.3732-1-yinbo.zhu@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 05, 2019 at 06:26:41PM +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 v4: > put esdhc 'status' at end of property list. > sort the nodes in unit-address > Use IRQ_TYPE_LEVEL_HIGH represent 0x4 in "interrupts = <0 28 0x4>" > > 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(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > index de6ef39..5e14e5a 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > @@ -95,6 +95,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 9fb9113..12c9cd3 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -83,6 +83,19 @@ > }; > }; > > +&esdhc { > + sd-uhs-sdr104; > + sd-uhs-sdr50; > + sd-uhs-sdr25; > + sd-uhs-sdr12; > + status = "okay"; > + }; Fix indent. > + > +&esdhc1 { > + mmc-hs200-1_8v; > + status = "okay"; > + }; Ditto Shawn > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 7975519..f299075 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -245,6 +245,33 @@ > status = "disabled"; > }; > > + esdhc: mmc@2140000 { > + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; > + reg = <0x0 0x2140000 0x0 0x10000>; > + 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: mmc@2150000 { > + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; > + reg = <0x0 0x2150000 0x0 0x10000>; > + interrupts = ; > + clock-frequency = <0>; /* fixed up by bootloader */ > + clocks = <&clockgen 2 1>; > + voltage-ranges = <1800 1800 3300 3300>; > + sdhci,auto-cmd12; > + broken-cd; > + little-endian; > + bus-width = <4>; > + status = "disabled"; > + }; > + > duart0: serial@21c0500 { > compatible = "fsl,ns16550", "ns16550a"; > reg = <0x00 0x21c0500 0x0 0x100>; > -- > 2.9.5 >