Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp524738img; Mon, 18 Mar 2019 08:21:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxr39az2Uo2Bpgy3NNORtCMueObZTJOzv4OPw0wsI6vZrf2N6HhAtMaLzgW1SDu6/L2fvmW X-Received: by 2002:a65:65c4:: with SMTP id y4mr17964520pgv.305.1552922513989; Mon, 18 Mar 2019 08:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552922513; cv=none; d=google.com; s=arc-20160816; b=DXl4/SCjj9bUVGEMjz5IEpFr4r+tpRnaVputTd7uY+1kLLZ94TSfnTh5hwzkDV+BA0 zN4rTjU1lzpLXJfuXrs5CGxr6JjQP+EQuDbjjbVDkWoSMF8w5nIBwP7qI0WmoghfNbVI U2FdxGp0nV+y7KMqmyRdm8JQyGicq1llfRn3Lt0uWqzTw9Cqwt3ychLXsvCTQ06Xv2Mp /ipLGozcKgF4TBUrLpf4KqJLXpiJQ1GDXO+KD0McxMOus365FJoE/lNVXUr3xiSvee3X uEwKth37kTJTrBImPmlAmfebt0JX3p53R2kyhwFNss310IoRrJh7p9ltNuaTy34iqA64 d91w== 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=lMYQ4zhkbIrxi+rYeCZyW+FPO+MGVjtXkRDTDPf8vMQ=; b=IBoNRkc9mSUGN8ojov8sSrmJhdv1EuUogTeAbFY9bNSjh82pVHpfXLNxKPX8M8UVtm Zfvw9hOl9VkEZUxhOcAaswsGWhX5HiaE8yA2a+W2/Rj+AZvAwW1pzX8hD7BGFO20eZuH di1Kc1rsU58ETX89I7l3JVXou3ZUFScr9SMydfmCviDDEDDsduV6UmmNWtFdF00r1Buz aquVstiL46rcna7jJtP2cpfLe1DQKQuFOTkLyc5eVATSUFkMOrEliGf7O2J3IA5FdAN4 9KdjakHr3qYPlIzdejHONbY5cdaZWXotuhr/mFRz0e6Mxbw4ORZj22WMS1FEW3P8tp3O yI8g== 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 n18si9250025pgb.91.2019.03.18.08.21.37; Mon, 18 Mar 2019 08:21:53 -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 S1727247AbfCRPTY (ORCPT + 99 others); Mon, 18 Mar 2019 11:19:24 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38995 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726730AbfCRPTY (ORCPT ); Mon, 18 Mar 2019 11:19:24 -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 relay1-d.mail.gandi.net (Postfix) with ESMTPSA id A0AFA240004; Mon, 18 Mar 2019 15:19:16 +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 Zheng , linux-arm-kernel@lists.infradead.org, Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Jagan Teki Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org Date: Mon, 18 Mar 2019 16:19:16 +0100 In-Reply-To: <86A3A1C2-323E-439D-9615-530E2AD9E199@aosc.io> References: <20190312152256.35574-1-icenowy@aosc.io> <20190312152256.35574-12-icenowy@aosc.io> <86A3A1C2-323E-439D-9615-530E2AD9E199@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 lundi 18 mars 2019 à 23:15 +0800, Icenowy Zheng a écrit : > > 于 2019年3月18日 GMT+08:00 下午8:41:32, Paul Kocialkowski 写到: > > 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. > > It's not mentioned on the datasheet. > > If it's present, please send a patch. Indeed, it is not documented but the block is definitely there (and it shows up in Allwinner's kernel source too). I'll send a patch once these series is merged then! > BTW all V3 series chip share the same die (sun8iw8). Right, so I think it's safe to assume that the controller is there on all of them then. Cheers, Paul > Thanks > > > 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 > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com