Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp428769ybh; Wed, 11 Mar 2020 04:00:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtanJRJd7yYFsegqyvINchDVc4gn0iEhP+AnjsT12TlFTTcjbsOw94y7LV7ij7Ajw8Z/7Ff X-Received: by 2002:aca:4a86:: with SMTP id x128mr1513353oia.29.1583924417364; Wed, 11 Mar 2020 04:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583924417; cv=none; d=google.com; s=arc-20160816; b=EvY7xUwHTpD1RyvdXNuEnXVcmAHlRtsgBshNmgYQAUY1lDLxHr6mqRueQZKBMnsRZH 4uyhqXp7uNNlMyRXmLRRlR5fEMSfbl/rXeCNf7dVV8mPWrW1j0gkwh1RNsSyUz1O4TZI l3rjC25skm/2L9jeEJvGS4dAD8dLKj2wR4nYhOa2u/RpXpKNIheC/Nb3Ov3FDrgU8yre 2P2cBCgZTZBwPyQZmdAxupzm3hNlJkW6DB+x3dDAyGDPTDQDQV35YKsHtQl+YrX0WLnn P30ch2Q3BK5+tGOjHM2x6KHx6SgXfLc3EZ/VKM5uiXZWZK+te/u1siCNKPA+8ulupU28 YCyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=DABxCy2OhGXuX2Nvw9Hz9dl+O7d1ZUp4/+zrNcmguws=; b=HlXjjy9j+KbSrY8OlJu3/DadKOGFRnYEG6Vy2Z1eEIWf5hgNm9EVGl81ekgEtOc6Re RsL7pLXkwGqC+W65bTU0k8DAlNTXouz1dpQztKN+KYj6PYGDAOwHg2vyUhYkdb7YfZru yzJ9oNU9Aoa9G1oAYV7Pyb9gfuxxz7CRGKkLxMYjebIaWc0Rq1+/zSn5gA9Zb5E15jHk Oj5jyclIJ+sl5R3cxPfx0Yu8SmkyGifwZpzNqYUA62bjJacnmI3p/5b8PXcmEqTqvMz9 EZ7dt3EMICs0AhDG7mkP8OCQjd/U1qBgr5Fd9S3TeL0CcpCHR/HBT56LvmYKwX5qZfQp qP2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o20si775141otl.60.2020.03.11.04.00.04; Wed, 11 Mar 2020 04:00:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726934AbgCKK7u (ORCPT + 99 others); Wed, 11 Mar 2020 06:59:50 -0400 Received: from foss.arm.com ([217.140.110.172]:48036 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgCKK7u (ORCPT ); Wed, 11 Mar 2020 06:59:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 147311FB; Wed, 11 Mar 2020 03:59:50 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 335663F6CF; Wed, 11 Mar 2020 03:59:49 -0700 (PDT) Date: Wed, 11 Mar 2020 10:59:37 +0000 From: Andre Przywara To: Chen-Yu Tsai Cc: Maxime Ripard , devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/3] ARM: dts: sun8i: r40: Move AHCI device node based on address order Message-ID: <20200311105937.040cd947@donnerap.cambridge.arm.com> In-Reply-To: <20200310174709.24174-2-wens@kernel.org> References: <20200310174709.24174-1-wens@kernel.org> <20200310174709.24174-2-wens@kernel.org> Organization: ARM X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Mar 2020 01:47:07 +0800 Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > When the AHCI device node was added, it was added in the wrong location > in the device tree file. The device nodes should be sorted by register > address. > > Move the device node to before EHCI1, where it belongs. > > Fixes: 41c64d3318aa ("ARM: dts: sun8i: r40: add sata node") > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun8i-r40.dtsi | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi > index d5442b5b6fd2..b278686d0c22 100644 > --- a/arch/arm/boot/dts/sun8i-r40.dtsi > +++ b/arch/arm/boot/dts/sun8i-r40.dtsi > @@ -307,6 +307,17 @@ crypto: crypto@1c15000 { > resets = <&ccu RST_BUS_CE>; > }; > > + ahci: sata@1c18000 { > + compatible = "allwinner,sun8i-r40-ahci"; > + reg = <0x01c18000 0x1000>; > + interrupts = ; > + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; > + resets = <&ccu RST_BUS_SATA>; > + reset-names = "ahci"; > + status = "disabled"; > + Did this empty line serve any particular purpose before? If not, you could remove it on the way. With that fixed: Reviewed-by: Andre Przywara Thanks, Andre. > + }; > + > ehci1: usb@1c19000 { > compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; > reg = <0x01c19000 0x100>; > @@ -733,17 +744,6 @@ spi3: spi@1c0f000 { > #size-cells = <0>; > }; > > - ahci: sata@1c18000 { > - compatible = "allwinner,sun8i-r40-ahci"; > - reg = <0x01c18000 0x1000>; > - interrupts = ; > - clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; > - resets = <&ccu RST_BUS_SATA>; > - reset-names = "ahci"; > - status = "disabled"; > - > - }; > - > gmac: ethernet@1c50000 { > compatible = "allwinner,sun8i-r40-gmac"; > syscon = <&ccu>;