Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp315330imm; Fri, 31 Aug 2018 00:57:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdapsrDf8K2H/nLv/Iu2cbbO956grtB0WEWACW8yyyNIF/UCOmfYn2t9ylXC/hK/qqqsfXfo X-Received: by 2002:a62:7885:: with SMTP id t127-v6mr14615998pfc.6.1535702277293; Fri, 31 Aug 2018 00:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535702277; cv=none; d=google.com; s=arc-20160816; b=Jsj3fIVfonChfFyvCFeEdj+w3++zrJvLiK8sWGikrsKPnEGZ2/qtP8MKn3kwY18IUO xS1iN7GC0ohJRt8CtcUhZ8cn37tv7HgJemtgdcrfxHtY4TV5Pq9OjuUKVUqAMbIQK0dD SmcC7WTN2pqwc9W058k3HMAc2lNgfApU9QgcSWuFy+MU3kbpCW2JQ6ODJqAzoYRDmlww iq34tM0PO/old8/EF2uVE9oeTS/vNpjLDt8gdaIyTuIDdquhhI4mhfd5jpL2ksO+4xT8 1NAy3Nmih0nh6Sb4Og+uTTDk4z5VZIdP/TdNRdQ2SscH0RIr9cE1wR0lil9bbQx+XyYf 7/bA== 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:arc-authentication-results; bh=K4UoER4+vuH5vZqujfkHhUVYLNaoQ9LcYgtXLqeQa44=; b=cQYLj69OAih06WlLF80qR8jJ7ytYKjWuA7nkXt5uNW0l3WlJEcZ1H/5Bi45dFhseWv grpBXFDHqrPilVe2Axxv2QoucTIrme275z1cwJYDsGCS2h64XcaNL8AnmEJMDlidDLvy q+5s0QacXgjWidHVOJbgNf9efrPkCSTLe17Ds/rB8J+6OrPdvPFPTGRih+EIRs2zjCD+ pZaUSP0/aqNkc2neaoKikUCJq6YnXgXxOveROb7FOAwOqWb2HOhDq1hSzg69wCeZnKY8 7Avlnjha02R4nwID7yBztbRW/havb+A7vGgdaN7hYQe8RWFeMEyW4SDq4V2u+PP/IJf7 ZDZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z1xWAVT9; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10-v6si9190366pgb.112.2018.08.31.00.57.42; Fri, 31 Aug 2018 00:57:57 -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=@gmail.com header.s=20161025 header.b=Z1xWAVT9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727477AbeHaMCr (ORCPT + 99 others); Fri, 31 Aug 2018 08:02:47 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45101 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727233AbeHaMCr (ORCPT ); Fri, 31 Aug 2018 08:02:47 -0400 Received: by mail-wr1-f65.google.com with SMTP id 20-v6so10296356wrb.12; Fri, 31 Aug 2018 00:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=K4UoER4+vuH5vZqujfkHhUVYLNaoQ9LcYgtXLqeQa44=; b=Z1xWAVT9zHPsWx3rI1WPmykHxYstpj5d2wxbedHeg7Nb+gfBGNCupkafKgEe7ypSoS UE6ge4f2xd6P3iLjH1HjDrI+5YgGCQI2eYjT4eX+x+8t7Jmzh5hXjIMIR+FmApdOLlG9 f6ZG5aANWsegLlM8WZN3IIPTdgHR3TKR0x9M9HUvlPUDIIqR+oLHcO5vkGfg6ocgqpE0 r7hAb5QHQsunNA7vJj5kgn80jjag+63JTy3SnryRAeM+YVurrEsUgzHi70RpBrG+CDOo kYV+RL48WptGSCI9a8F7Gxev2mj45NWpwwH5L4wvEho9bEiHcrhhTfmkYfWewBw7tXR2 ZyxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=K4UoER4+vuH5vZqujfkHhUVYLNaoQ9LcYgtXLqeQa44=; b=t219oiROhWljiAk8T5tV5FjOOGZRCVUe7Gv6HP7+QHu9XcdUB3ldV0+hYxz7bumBFz 88FvUr26ajTxZBHzHvO18Ald2CHPYV/kGCF+v8tLqj89xcArx4F8iHEthBFKrxVFpSn7 eCwH0YgXGkyN6ntZoU55CrNvLoRXPJn0a1G06aFsLIu/4AjuB3aJpbByXPuKxkGMuNEd ZSo/wcMYgEUJ3DzF/ToD4YmVNWIoppJbUJ1OeuS4EigPP9XgxYXdTTjfBH7BGX0iGsM9 28UJvsiKCdFBVL61wr0MD7DdmOqhqq35e2b6VyvdlRQEuCm25AoUDJsiBIEgzam+X/ZB 9xkw== X-Gm-Message-State: APzg51CKchIKAYUhHbeXBiKrdoOqlJvfgjO9hno9rhxZ4rDK33PDa7LC jalKhmqHMqWEy4/WTRgpT8UOoU91 X-Received: by 2002:adf:82b4:: with SMTP id 49-v6mr9399099wrc.252.1535702194280; Fri, 31 Aug 2018 00:56:34 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id h18-v6sm9593610wru.42.2018.08.31.00.56.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 00:56:33 -0700 (PDT) Date: Fri, 31 Aug 2018 09:56:31 +0200 From: Corentin Labbe To: Maxime Ripard Cc: axboe@kernel.dk, hdegoede@redhat.com, kishon@ti.com, mark.rutland@arm.com, robh+dt@kernel.org, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: Re: [PATCH v4 09/13] ARM: dts: sun8i: r40: add sata node Message-ID: <20180831075631.GB16301@Red> References: <20180830190120.722-1-clabbe.montjoie@gmail.com> <20180830190120.722-10-clabbe.montjoie@gmail.com> <20180831073500.zubqpvar4yhjqrge@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180831073500.zubqpvar4yhjqrge@flea> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 31, 2018 at 09:35:00AM +0200, Maxime Ripard wrote: > On Thu, Aug 30, 2018 at 09:01:16PM +0200, Corentin Labbe wrote: > > R40 have a sata controller which is the same as A20. > > This patch adds a DT node for it. > > > > Signed-off-by: Icenowy Zheng > > Signed-off-by: Corentin Labbe > > --- > > arch/arm/boot/dts/sun8i-r40.dtsi | 23 +++++++++++++++++++++++ > > 1 file changed, 23 insertions(+) > > > > diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi > > index 852c2ccc3268..d6b5820da850 100644 > > --- a/arch/arm/boot/dts/sun8i-r40.dtsi > > +++ b/arch/arm/boot/dts/sun8i-r40.dtsi > > @@ -550,6 +550,29 @@ > > #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>; > > + resets-name = "ahci"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + status = "disabled"; > > + > > + sata_port: sata-port@0 { > > + reg = <0>; > > + phys = <&sata_phy>; > > + }; > > + }; > > + > > + sata_phy: sata-phy@1c180c0 { > > + compatible = "allwinner,sun8i-r40-sata-phy"; > > + reg = <0x1c180c0 0x200>; > > Overlapping devices in the DTS is not ok. > I do the same than arch/arm/boot/dts/berlin2.dtsi (sata@e90000 phy@e900a0) But since it is not a good justification, it seems that regmap is my only solution ? Regards