Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp631089ybh; Wed, 11 Mar 2020 07:48:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsuWfmEjeqNgWbJiDdEObYenJNbj3nVkgb6yR7+hoEnLsPbjuyAzUGOgCQBOoDu+axeHI/t X-Received: by 2002:a05:6808:910:: with SMTP id w16mr2175375oih.66.1583938086591; Wed, 11 Mar 2020 07:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583938086; cv=none; d=google.com; s=arc-20160816; b=zFhU4bthdcRmkNrDFECqtpZOUtnMTrDPL2JVaIcv97rNn9U2lLu3ZLRcRsDTPpUQxm l09EIf+sgW00/IuQ8wiOzeN6fx6NFnvWTQKOE52rPQo0mao8PZZB5qWkrSKAAynWPMqa OSR3csSKmTAHh+7iv1YzyRtWoycLOnS7MdCc32L884TZqxBxQ8y9p08FuMvcDYiDKVw+ Mde1j1Zvv11gY8MHOTDbrh7Ah/KHAbP6yKmruJKpdegFIbGqs1Gy83SvdfFKWstvOrwv GzbqqNjZXwN7F24M9orn2M3fczX2o7RqQWrborG9sSGb3gxDRLG+xjGF3ImEQ2IA9Lmp X+Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BQZdHNeIVLyel02yqpXFMijPGBnyF/dmCsPrSczNWpQ=; b=Lv80s3EcQTX/do9tLjAbxf6Mlm1Y284MB4hzy66gjG2SARl5AeH/Aq469xVQA6XR/P DST3sQAtmx/UI3G3NdikePtzbEDiQODrikf6WpmbKVxbJREBQ73nQHIzdXyE518KMa+9 EmT6XuRXPa+Gfy/MpU1RO//LaEu2CDcLm+n7Gl0xGx58cLvLMlhvtw87gMs6tndr1mVy XyRp3KYuRR7Wne1wimD7PPkPstsPWJACopXqDvAgq1JPU8geH1Dvembe0IMTos9Wce2u KCTQIPnuC5Hv3Q1WGHnVgc4LkkZvK2AfwGvqqvGODS2ilt0IgKM/EwwSagCQxdMAGu8j ZKlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NzjBVMdx; 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 x24si1334110otq.261.2020.03.11.07.47.53; Wed, 11 Mar 2020 07:48:06 -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=NzjBVMdx; 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 S1729854AbgCKOrB (ORCPT + 99 others); Wed, 11 Mar 2020 10:47:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:59374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729057AbgCKOrB (ORCPT ); Wed, 11 Mar 2020 10:47:01 -0400 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 117C2206EB; Wed, 11 Mar 2020 14:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583938019; bh=ruBwn5wDj74e/K+r4986L1gfq+eU0+k3w7VbVctWE10=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NzjBVMdxDd+Kl49LOjGaBd3WYnkCvYkNm1wU4P9GhVG5t0/K9oS+4AIwW69cVpoMV FPtGYDiYkuwXkUld5nRYYBRD3nWNrbrJGDY5/wC8JnVTMzsNRttYPblFKwfKsM7WD3 T0z2XFq1FUMLJpWJd+zpaTrZ9ieDU6xdTQqMWoJI= Received: by mail-wr1-f43.google.com with SMTP id d5so2619762wrc.2; Wed, 11 Mar 2020 07:47:00 -0700 (PDT) X-Gm-Message-State: ANhLgQ2VqtpSJHOVVtNYxMKjNo79jpup53wcZ/uPZnSk39/zha38kjTB pl8KiKyH5yaM7/UsDxZOJtX8Oe0Q2GEGsZzP8M8= X-Received: by 2002:adf:97c1:: with SMTP id t1mr618684wrb.365.1583938018853; Wed, 11 Mar 2020 07:46:58 -0700 (PDT) MIME-Version: 1.0 References: <20200310174709.24174-1-wens@kernel.org> <20200310174709.24174-2-wens@kernel.org> <20200311105937.040cd947@donnerap.cambridge.arm.com> In-Reply-To: <20200311105937.040cd947@donnerap.cambridge.arm.com> From: Chen-Yu Tsai Date: Wed, 11 Mar 2020 22:46:49 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] ARM: dts: sun8i: r40: Move AHCI device node based on address order To: Andre Przywara Cc: Chen-Yu Tsai , Maxime Ripard , devicetree , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 6:59 PM Andre Przywara wrote: > > 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. Can't say there is. Removed when applied. > With that fixed: > > Reviewed-by: Andre Przywara > > Thanks, > Andre. Thanks ChenYu > > + }; > > + > > 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>; >