Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp59982ima; Thu, 31 Jan 2019 22:59:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN6eeJhNh/DnlnkfH/2N2u9zuSKCa2oCIZQftljNWGdYb2N+YrKY+OMRbNPeNnZJ25S3zZkX X-Received: by 2002:a62:3305:: with SMTP id z5mr38650969pfz.112.1549004366011; Thu, 31 Jan 2019 22:59:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549004365; cv=none; d=google.com; s=arc-20160816; b=DR9W+HQfZxH5Y6oTVWVRU8auEqI75wCEgbdZFMjH89xBZxuA9cq5H9D98JW4+YvmbU 0DDuD5x3OVxUxRW5Qbxe/yvpvETn8iOVEOWsNALw6ouRCzXtnoP7/ZDL8zL9mu83iDps +CjsbQsBNEa/hg8iXouB3DzxXtAI4Ohct+ME/MEZe9uSPxet5VNLGmwWsK7OzNkmEBqw /RaEQBn6opVSkbPycQ6GbisOo0LS2FWRoLDkx7YXptpj22CDyavySuFTX05yY9yMJTyE BASyKdoJdkczDqVNoEKNOW/LlMS98ONOJ5Zw/1/YFOvKBoUe2f0hLwryRcU4VMRewzHJ 9mIA== 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=2nYEEJOniR2x8Vkfb4B3WmS6SwWXX1VAwrqVNejgPpM=; b=sPuqd+b/QU6qPLpyWMWtWvWHIQivrFBGuwUyO4qgvtnKX0YLizaG/f+YQu3Kdo2oWe e1fa1ICo3N+WyqeypNYM05MbHUM+UTPCclzleW2G27SbeEZIMZPaNADSMECl1sFkZdVc vNVPI39Btst7rIxQ9EEnMyt3s9GAHRVkmGBXHnIWEG4Tjvc91vnb9zMyvnzcMmG1voW4 WNzad9lQmwjEy/k6c3jszzYFjZT4i2ZncUWJIWpAp8qtM7kR8gNP8ArGuWd7JfTLMc8t I0IUce/VwEeu8G+j7vBk+0WoZxB119u2UdIo+oAGNa4qIlNNZJUJAmJy6+0mWfPLs69V nwrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Bn2Y5EKI; 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 v25si6412266pgk.341.2019.01.31.22.59.10; Thu, 31 Jan 2019 22:59:25 -0800 (PST) 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=Bn2Y5EKI; 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 S1727479AbfBAGaZ (ORCPT + 99 others); Fri, 1 Feb 2019 01:30:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:40152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfBAGaZ (ORCPT ); Fri, 1 Feb 2019 01:30:25 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C69D20857; Fri, 1 Feb 2019 06:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549002623; bh=0tBBdUSZggX+Mv2n2oVKecEVVBKBECY5r5pjHVTNm70=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bn2Y5EKImH/OaZMRyC1V7ETbi9ohbjc35NOw8qaakkLrEv4sseR26xkFtVIw8mH8s VXHyssqPfKI13Wz5eB/DrEGG+gio7Zn1ibEqs3afhOa83eDBhMbYusojXPqcoseU0f MxENKaz78MflJBoo9zn05kXyc93GCKcCdxtI/PQY= Date: Fri, 1 Feb 2019 14:30:12 +0800 From: Shawn Guo To: Peng Ma Cc: axboe@kernel.dk, robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andy.tang@nxp.com Subject: Re: [v5 2/2] arm64: dts: lx2160a: add sata node support Message-ID: <20190201063011.GL19882@dragon> References: <20190125081013.21663-1-peng.ma@nxp.com> <20190125081013.21663-2-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190125081013.21663-2-peng.ma@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 Fri, Jan 25, 2019 at 08:10:13AM +0000, Peng Ma wrote: > Add SATA device nodes for fsl-lx2160a and enable support > for QDS and RDB boards. > > Signed-off-by: Peng Ma > --- > changed for V5: > - no change > > arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++++++ > arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++++++ > arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 44 +++++++++++++++++++++ > 3 files changed, 76 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > index 99a22ab..1a5acf6 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > @@ -95,6 +95,22 @@ > }; > }; > > +&sata0 { > + status = "okay"; > +}; > + > +&sata1 { > + status = "okay"; > +}; > + > +&sata2 { > + status = "okay"; > +}; > + > +&sata3 { > + status = "okay"; > +}; > + > &uart0 { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > index 6481e5f..5b6799e 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > @@ -102,6 +102,22 @@ > }; > }; > > +&sata0 { > + status = "okay"; > +}; > + > +&sata1 { > + status = "okay"; > +}; > + > +&sata2 { > + status = "okay"; > +}; > + > +&sata3 { > + status = "okay"; > +}; > + > &uart0 { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > index a79f5c1..592034b 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -671,6 +671,50 @@ > status = "disabled"; > }; > > + sata0: sata@3200000 { > + compatible = "fsl,lx2160a-ahci"; Has the kernel driver been patched to probe the compatible? Shawn > + reg = <0x0 0x3200000 0x0 0x10000>, > + <0x7 0x100520 0x0 0x4>; > + reg-names = "ahci", "sata-ecc"; > + interrupts = ; > + clocks = <&clockgen 4 3>; > + dma-coherent; > + status = "disabled"; > + }; > + > + sata1: sata@3210000 { > + compatible = "fsl,lx2160a-ahci"; > + reg = <0x0 0x3210000 0x0 0x10000>, > + <0x7 0x100520 0x0 0x4>; > + reg-names = "ahci", "sata-ecc"; > + interrupts = ; > + clocks = <&clockgen 4 3>; > + dma-coherent; > + status = "disabled"; > + }; > + > + sata2: sata@3220000 { > + compatible = "fsl,lx2160a-ahci"; > + reg = <0x0 0x3220000 0x0 0x10000>, > + <0x7 0x100520 0x0 0x4>; > + reg-names = "ahci", "sata-ecc"; > + interrupts = ; > + clocks = <&clockgen 4 3>; > + dma-coherent; > + status = "disabled"; > + }; > + > + sata3: sata@3230000 { > + compatible = "fsl,lx2160a-ahci"; > + reg = <0x0 0x3230000 0x0 0x10000>, > + <0x7 0x100520 0x0 0x4>; > + reg-names = "ahci", "sata-ecc"; > + interrupts = ; > + clocks = <&clockgen 4 3>; > + dma-coherent; > + status = "disabled"; > + }; > + > smmu: iommu@5000000 { > compatible = "arm,mmu-500"; > reg = <0 0x5000000 0 0x800000>; > -- > 1.7.1 >