Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp394431img; Mon, 18 Mar 2019 05:42:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyE+cYg/8jqc52fWZP15BZA+0YWkZtPjyPtpgdxf3e9KYOg6xfdlJFxeycusslPASiomieu X-Received: by 2002:a65:50c8:: with SMTP id s8mr17384661pgp.308.1552912948096; Mon, 18 Mar 2019 05:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552912948; cv=none; d=google.com; s=arc-20160816; b=F2b1EQWV3FuJu6blM+CHEvPPHw5MMq3/2g3XlLJKAoQCALw5EntucHHZRQbTB3BUme FofLPlQgPwLrtpr0/QCiyibAPmhYwIPMeQBwKoLcMCvNFdPYxPFO5UcLmQTBscgaiYYO eMkj4HHPfjPoH4XIQ1Q/IqdDYyQ7DpTuhj+Z/vq/p9s6QLCJiI+sVxo6Gk0PKB8bo+m9 Mq/t0cgRV0UU37n0nDEIn6CiA1T3zbmbK/o0leBjRm3xlC3yY1tUkAl1Arvr3c2XRqUJ P0XwWHPzWv9Xn8L1/rLWgqqPyOeooQTMQkqQn6fllW7Vll5teUT9uoD05a3Vf7VIMrle Qb7Q== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=Mn8Bpm+xiD562RAnvEJ2GAL5RYyri+64tCho23lipZA=; b=fUpFnuJSYcnTjS+9rM7ZMVEV2t/h/DDL7H1tGX/sMz/28ZLMxP37ELTNSPNPDgZINJ B/h7JiJU2YlFeTtCqfyPSBmfpv4eZ5fqUsZpNyoHisfJekFm0By3Y8DwF03cPv+bxV53 dB93oO+afsXen2UGSjXIvgtPE2gfq+Ul9u1fAiRd+yRejTJdj0fzhwuk/07YCPFbG1Zi QH09pii3LDKa6tAZ7ADdW+7RDNFvIT+9AoDT+Wouy2mLEP5QvgUPKd2WaDHRThNhcF1m hIqEHqe6wPcb2quFUrP4ofizOYYpMtx/qmo4Gi3drGGOkR4FMzJL9a8/a/LTNXaxOyRE TPgQ== 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 p17si9025670pgg.259.2019.03.18.05.42.12; Mon, 18 Mar 2019 05:42:28 -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 S1727022AbfCRMlh (ORCPT + 99 others); Mon, 18 Mar 2019 08:41:37 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:58253 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbfCRMlg (ORCPT ); Mon, 18 Mar 2019 08:41:36 -0400 X-Originating-IP: 90.88.22.102 Received: from aptenodytes (aaubervilliers-681-1-80-102.w90-88.abo.wanadoo.fr [90.88.22.102]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A971A4000B; Mon, 18 Mar 2019 12:41:32 +0000 (UTC) Message-ID: Subject: Re: [linux-sunxi] [PATCH 11/14] ARM: sunxi: dts: s3/s3l/v3: add DTSI files for S3/S3L/V3 SoCs From: Paul Kocialkowski To: icenowy@aosc.io, Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Jagan Teki Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com Date: Mon, 18 Mar 2019 13:41:32 +0100 In-Reply-To: <20190312152256.35574-12-icenowy@aosc.io> References: <20190312152256.35574-1-icenowy@aosc.io> <20190312152256.35574-12-icenowy@aosc.io> Organization: Bootlin Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le mardi 12 mars 2019 à 23:22 +0800, Icenowy Zheng a écrit : > The Allwinner S3/S3L/V3 SoCs all share the same die with the V3s SoC, > but with more GPIO wired out of the package. > > Add DTSI files for these SoCs. The DTSI file for V3 just replaces the > pinctrl compatible string, and the S3/S3L DTSI files just include the V3 > DTSI file. Note that the V3 has a NMI controller at 1c000d0, that is required for handling the AXP209 interrupts IIRQ. I have no idea whether it's also the case on the V3s/S3/S3L though but it would be good to know. Note that I can totally add support for it when adding support for my V3 device that uses the AXP209 this way. Also, could we get proper compatibles and config options for these new SoCs, since they are distinct from the V3S? Cheers, Paul > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-s3.dtsi | 6 ++++++ > arch/arm/boot/dts/sun8i-s3l.dtsi | 6 ++++++ > arch/arm/boot/dts/sun8i-v3.dtsi | 14 ++++++++++++++ > 3 files changed, 26 insertions(+) > create mode 100644 arch/arm/boot/dts/sun8i-s3.dtsi > create mode 100644 arch/arm/boot/dts/sun8i-s3l.dtsi > create mode 100644 arch/arm/boot/dts/sun8i-v3.dtsi > > diff --git a/arch/arm/boot/dts/sun8i-s3.dtsi b/arch/arm/boot/dts/sun8i-s3.dtsi > new file mode 100644 > index 000000000000..0f41a25ecb30 > --- /dev/null > +++ b/arch/arm/boot/dts/sun8i-s3.dtsi > @@ -0,0 +1,6 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (C) 2019 Icenowy Zheng > + */ > + > +#include "sun8i-v3.dtsi" > diff --git a/arch/arm/boot/dts/sun8i-s3l.dtsi b/arch/arm/boot/dts/sun8i-s3l.dtsi > new file mode 100644 > index 000000000000..0f41a25ecb30 > --- /dev/null > +++ b/arch/arm/boot/dts/sun8i-s3l.dtsi > @@ -0,0 +1,6 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (C) 2019 Icenowy Zheng > + */ > + > +#include "sun8i-v3.dtsi" > diff --git a/arch/arm/boot/dts/sun8i-v3.dtsi b/arch/arm/boot/dts/sun8i-v3.dtsi > new file mode 100644 > index 000000000000..6ae8645ade50 > --- /dev/null > +++ b/arch/arm/boot/dts/sun8i-v3.dtsi > @@ -0,0 +1,14 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (C) 2019 Icenowy Zheng > + */ > + > +#include "sun8i-v3s.dtsi" > + > +&ccu { > + compatible = "allwinner,sun8i-v3-ccu"; > +}; > + > +&pio { > + compatible = "allwinner,sun8i-v3-pinctrl"; > +}; > -- > 2.18.1 > -- Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com