Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp828763imu; Wed, 16 Jan 2019 08:14:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN7j2ybXUr/6cbvprCbVeV3TT+t6rCUtomroxepnWLUo3LdVTOkR+xEFRkC325ToUYXTWn5s X-Received: by 2002:a17:902:2a0a:: with SMTP id i10mr10463544plb.323.1547655260887; Wed, 16 Jan 2019 08:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547655260; cv=none; d=google.com; s=arc-20160816; b=S+fSmoh250lWcp5+0VGYwy87GRUBn7wyC245aPh6d3mzvt/1Y8eV+3GdA/s/rkjX1R F8Ei/cohMZ/RurZQN5FYDtN/yBT3irf428i4SDgkWGlbsuJQqxS5V5qpY3PVyzNJnqtv nhT5ufPYXenuMI8yjdOPWnVcerO4K+YL24NQ1eIx6o3d6cU6N/KkZjMTMo0S5O5Dgvrp LVrLCIh6X0N8cgwGBVev5rZeBevKqLapJX/X9QY3QHNTSdcxM1h1NNhr3Ee6hBpL84AH j1vhDUKl7VyvG4E02sLJRslJMHqgY8DkjqCMhFqXTcfPZuBYq+ktARCZs7aeJW9QD5W7 /93A== 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=CIpSyXh8vdgSVFrHTv48HLOtDiwJUucqowHsQo6zq/Q=; b=xeETj2HaH5q577OG+iP7pOY0f3tY2OxJL7t4iXGtdO0GjmJE1UtEjW/i2Pqi270k8v BbPU+ohcDXbwuzchkdI3EOm57MPHsmSLYBuAKlJNBXhxI+ICypeKx9UVi9BK9F4ZtOaZ zL4RdA4uwT03sWAprqKb68vMrVv9d2WG5tPUoIW/ZT8ae13eczAvLBoTETloOLHofg9n s0SQIUZKHf0s2R7pDX1sAdmMd9EIGcLO8nR0xVMv2XSnVkyL+Klqcj8wx82qBamwIB8y ZNue8qpSqbT353nA8dkOqtQVOdN2Hu4HD959ydgKYwpn6KlEO80Tx72uyNIsRiukTRi7 AUOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d2pwfKoD; 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 g66si3206111pgc.226.2019.01.16.08.13.44; Wed, 16 Jan 2019 08:14:20 -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=d2pwfKoD; 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 S1728204AbfAPCGJ (ORCPT + 99 others); Tue, 15 Jan 2019 21:06:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:38810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727988AbfAPCGJ (ORCPT ); Tue, 15 Jan 2019 21:06:09 -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 7E7762082F; Wed, 16 Jan 2019 02:06:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547604368; bh=yL62E1MSsM+fjN8pSX8/J71nC2mdkCIoqBNx+bYjIIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d2pwfKoDt7uQ46J3tdNIoK2Ph7jh+QjAAG+Q6XGOpblPJ9xenyrcdVf05SRM+wjMG hXL6icef2cZcNxWvQklJXDvxmnaIIPTZES2n7xEcYNYYtpIPQN/2Pe12lag7akeesA W9fobg5HbzoW6o1mPfJPQmhpkvPlml1tlPwIYQ1A= Date: Wed, 16 Jan 2019 10:05:45 +0800 From: Shawn Guo To: Peng Ma Cc: leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [v2] arm64: dts: lx2160a: add sata node support Message-ID: <20190116020543.GB15808@dragon> References: <20190114095500.1600-1-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190114095500.1600-1-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 Mon, Jan 14, 2019 at 09:55:00AM +0000, Peng Ma wrote: > Add sata node support and Enable sata support I would suggest you reword the commit log like below: Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. > > Signed-off-by: Peng Ma > --- > changed for V2: > - put the 'status' at the end of property list > - add lx2160aqds sata support > > 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..0289955 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts > @@ -110,3 +110,19 @@ > &usb1 { > status = "okay"; > }; > + > +&sata0 { Please sort the labeling nodes alphabetically. Shawn > + status = "okay"; > +}; > + > +&sata1 { > + status = "okay"; > +}; > + > +&sata2 { > + status = "okay"; > +}; > + > +&sata3 { > + 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..aacca27 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > @@ -117,3 +117,19 @@ > &usb1 { > status = "okay"; > }; > + > +&sata0 { > + status = "okay"; > +}; > + > +&sata1 { > + status = "okay"; > +}; > + > +&sata2 { > + status = "okay"; > +}; > + > +&sata3 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > index a79f5c1..4390aea 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -762,5 +762,49 @@ > ; > dma-coherent; > }; > + > + sata0: sata@3200000 { Please sort nodes with unit-address in order of the address. Shawn > + compatible = "fsl,lx2160a-ahci"; > + 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"; > + }; > }; > }; > -- > 1.7.1 >