Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp474664rwr; Thu, 20 Apr 2023 01:58:12 -0700 (PDT) X-Google-Smtp-Source: AKy350YnXvjeZajhmr0FGDl70r0mMxNz8yFwP2wNinGi9es3AXgaxYi90s0iiQoh7Pk0B1AHh17p X-Received: by 2002:a17:90b:3ecc:b0:24b:27d8:f5d9 with SMTP id rm12-20020a17090b3ecc00b0024b27d8f5d9mr908143pjb.40.1681981092326; Thu, 20 Apr 2023 01:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681981092; cv=none; d=google.com; s=arc-20160816; b=wL9QYKMNnIkKLCDXEbMjJRJoNMWDYXjGpIed3KdyEllmrxF+n435X5/af5ckPmjOFa /3OQqWe38N1rZa32eHQRrTcpdxW9P2Cre2Af/J2gemgSWYOTZXltoww3SfHg02PA4b3k GfBQEyQ4iaTOIznTbja97BHGgM4gZyE4+ls5UEuVlkcjZwDuJdYsDN4YIfxPTVt2+pqq wh7nKhq2Uv1jlbSq0863KE/oDlAOHrcecWrZNcC0UuLOO72B6kKyqaSinxxkbQIAUolq IM40bI04iGAGJWXe+qZ5Oo+fw3nEV9XvzzsZ2HMhpb9HzNfsE2i2fW22IE6Hu/fe9GRr MNdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Z69w/dG92TR+FKzYWsExGipX+HP7YM5119wVL/nzZZg=; b=Md9henFMVpct3OSuQeZjFGJA1mUo21aP6ceLdiVjYd15C1QOFIgSKP8bojCumO+twf Q4aAGI7LctfeSmNnq4JdDNt6lw/Lr7EdQgYXbdDQ6Wb28Wk1qyzplz0IJiPhdY465njv ljE/SKllpzmEWic+7gVlSaeg6pBh071/RyCPHRHtCs2H6NFYzd0RX3TECcOWvJChVS2Q 5erRCCMIsoTyYeQmD6H9l+MVSe8Ux3FfaRbPoZMu4QaElVK9Dzhqc21yrO6sKvW0k0QB rOcPNeNj0y1nZ4WHWNp5bWbvuFpotrbAbahmI/LPGkosvQ096LNvpQurtuTk1AKVmVQB VuiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ls4-20020a17090b350400b0024988ecf25bsi4226549pjb.86.2023.04.20.01.57.58; Thu, 20 Apr 2023 01:58:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234548AbjDTI4Q convert rfc822-to-8bit (ORCPT + 99 others); Thu, 20 Apr 2023 04:56:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234292AbjDTIyp (ORCPT ); Thu, 20 Apr 2023 04:54:45 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 91BD74C2B; Thu, 20 Apr 2023 01:53:19 -0700 (PDT) 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 E80F3106F; Thu, 20 Apr 2023 01:54:02 -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 A73643F5A1; Thu, 20 Apr 2023 01:53:17 -0700 (PDT) Date: Thu, 20 Apr 2023 09:53:15 +0100 From: Andre Przywara To: Krzysztof Kozlowski Cc: Ludwig Kormann , samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] arm: dts: sunxi: Add ICnova A20 ADB4006 board support Message-ID: <20230420095315.5aaab9eb@donnerap.cambridge.arm.com> In-Reply-To: References: <20230419121229.1384024-1-ludwig.kormann@in-circuit.de> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Apr 2023 15:05:17 +0200 Krzysztof Kozlowski wrote: > On 19/04/2023 14:12, Ludwig Kormann wrote: > > Add board support for ICnova A20 SomPi compute module on > > ICnova ADB4006 development board. > > > > Specification: > > SoM > > - Processor: Allwinner A20 Cortex-A7 Dual Core at 1GHz > > - 512MB DDR3 RAM > > - Fast Ethernet (Phy: Realtek RTL8201CP) > > ADB4006 > > - I2C > > - 2x USB 2.0 > > - 1x Fast Ethernet port > > - 1x SATA > > - 2x buttons (PWRON, Boot) > > - 2x LEDS > > - serial console > > - HDMI > > - µSD-Card slot > > - Audio Line-In / Line-Out > > - GPIO pinheaders > > > > https://wiki.in-circuit.de/index.php5?title=ICnova_ADB4006 > > https://wiki.in-circuit.de/index.php5?title=ICnova_A20_SODIMM > > > > --- > > > > changes in v2: > > - use short licensing header > > - remove deprecated elements from led nodes > > - disable csi power supply > > - add missing pins in usbphy node > > - split dts into SoM dtsi and carrier board dts > > > > v1 of this patch was sent to the uboot mailing list [1]. > > > > [1] https://lists.denx.de/pipermail/u-boot/2023-April/514605.html > > > > Signed-off-by: Ludwig Kormann > > --- > > .../devicetree/bindings/arm/sunxi.yaml | 6 + > > Bindings are always separate patches. checkpatch did not complain? > > > arch/arm/boot/dts/Makefile | 1 + > > .../boot/dts/sun7i-a20-icnova-a20-adb4006.dts | 137 ++++++++++++++++++ > > arch/arm/boot/dts/sun7i-a20-icnova-a20.dtsi | 63 ++++++++ > > 4 files changed, 207 insertions(+) > > create mode 100644 arch/arm/boot/dts/sun7i-a20-icnova-a20-adb4006.dts > > create mode 100644 arch/arm/boot/dts/sun7i-a20-icnova-a20.dtsi > > > > diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml > > index 013821f4a7b8..12f0c236f17b 100644 > > --- a/Documentation/devicetree/bindings/arm/sunxi.yaml > > +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml > > @@ -305,6 +305,12 @@ properties: > > - const: allwinner,i12-tvbox > > - const: allwinner,sun7i-a20 > > > > + - description: ICNova A20 ADB4006 > > + items: > > + - const: incircuit,icnova-a20-adb4006 > > + - const: incircuit,icnova-a20 > > + - const: allwinner,sun7i-a20 > > + > > - description: ICNova A20 SWAC > > items: > > - const: incircuit,icnova-a20-swac > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > > index 3cc32722c394..b6b408417261 100644 > > --- a/arch/arm/boot/dts/Makefile > > +++ b/arch/arm/boot/dts/Makefile > > @@ -1321,6 +1321,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > > sun7i-a20-hummingbird.dtb \ > > sun7i-a20-itead-ibox.dtb \ > > sun7i-a20-i12-tvbox.dtb \ > > + sun7i-a20-icnova-a20-adb4006.dtb \ > > sun7i-a20-icnova-swac.dtb \ > > sun7i-a20-lamobo-r1.dtb \ > > sun7i-a20-linutronix-testbox-v2.dtb \ > > diff --git a/arch/arm/boot/dts/sun7i-a20-icnova-a20-adb4006.dts b/arch/arm/boot/dts/sun7i-a20-icnova-a20-adb4006.dts > > new file mode 100644 > > index 000000000000..c1606c085e4e > > --- /dev/null > > +++ b/arch/arm/boot/dts/sun7i-a20-icnova-a20-adb4006.dts > > @@ -0,0 +1,137 @@ > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > Unusual license. Are you sure you are ok with GPLv5.0? Is it really unusual? This is literally the most commonly used dual license for DTs, grep counts 252 users in arm and 573 users in arm64. Or is it that it's deprecated and we recommend (GPL-2.0 OR MIT) for new files? Cheers, Andre > > Also, at the end of your files - drop stray blank lines. > > Best regards, > Krzysztof >