Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp255299rwr; Wed, 19 Apr 2023 06:13:53 -0700 (PDT) X-Google-Smtp-Source: AKy350ZC562yogmcBSylk44MS6WNV1aTOFBweQevhB2ZiDxLxphE5r/f7zmvBpU2+RBAgOeD+GZE X-Received: by 2002:a17:902:f54f:b0:1a6:a405:f714 with SMTP id h15-20020a170902f54f00b001a6a405f714mr7029088plf.63.1681910033246; Wed, 19 Apr 2023 06:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681910033; cv=none; d=google.com; s=arc-20160816; b=SOB3vGoa+bctQN+UVZRL0Fo2F7CK+KlJCDw6TAjIcqYbx2A5nuU3m23onrU24eIsID apk31Ix+PC2BSjEnFhP5gDCR8ws1l2HL76BDTFORFb/QvOR/H/mDmuDqU1LLtFlCoDuY qKwFuPu0BonIqYn4T1TXVJlkOJJeVXSldPArBszG8FWFfVbsLrp8DaiV06ZWYq9oR1Dr Wmai+xYdx5wKo9UXHH02W+uYuAbvMgtDaOcyVozggayTxivqYy6Fn/mnHKPjPI0HvVCZ lmLFzJ6lJVeIOxzJc6eCgxu+TSI3cH5/hPB3FtVlOZeW3kLrVK0aU8VkEnkbQvShCW1A F3RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hi3fgFRhMB+S3dlh3roixUjoWYSplX6ENDKFiGEt44s=; b=tiYJ6MZxll06bOwe5t485piUTpQ7xaGjnln+w1Nss/Go7aRlLOlDAgdLAofG18PnA7 7xbTo0TwDHpAlrhbY475ZwYuqmo87zycbGeKGsaQ8Y+mqYt6vwRECacI+lqD11PZe8N7 CF3sRO0BOuxuSirPi6XqtcZWtA+qCOjqH5sIneStLFTGblcl3M8TEFssuk1krEsTmRUs ndvezUX4oJshCsRLYpaHwblMMKhBRP0093LB99YMoR7E/dePdp3kKcAsit5BE93NPKZ2 e3OiYymRQeNp6G4r56uNDj/HSLhH+9vkTXK3GrOCS5HY4KHz7ng5MQYyIBSpxZmI0Fnu dREg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rb1Bms81; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a170902ecc800b001a697626ec7si14966686plh.476.2023.04.19.06.13.34; Wed, 19 Apr 2023 06:13:53 -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; dkim=pass header.i=@linaro.org header.s=google header.b=rb1Bms81; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233192AbjDSNFY (ORCPT + 99 others); Wed, 19 Apr 2023 09:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232896AbjDSNFW (ORCPT ); Wed, 19 Apr 2023 09:05:22 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 631F27EE4 for ; Wed, 19 Apr 2023 06:05:20 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id vc20so26540129ejc.10 for ; Wed, 19 Apr 2023 06:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681909519; x=1684501519; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hi3fgFRhMB+S3dlh3roixUjoWYSplX6ENDKFiGEt44s=; b=rb1Bms81I/ziLmKbwd/v+cz02jqm3Gq1oJRkwXmWPC6yFC48TkkrGOh5ij+cD/3JrX WdnJs8urDCYfw6zy867Ux3vUdUEN2GBHtYQl9u0LtgKLgw3CqodwNLQJx2CrdROMn6Xv t3UIbDR8BWaIyaDmapy44ivnVmMqeUOBRocyOTOF/H1ErVfRD+AfhHbAjWF6W2Kc1yhX Z2URsG4GCJrF7MrwzpxPqRwgcJXNv4XZrZahypdJGq98el1NvJaezLvnBNHoV0JadFKw MrSzS/H/W2+6HjWN4canOaNgqO5SSFY3tyo8BabOyy7Ghwhj7mM5oxKd2v6eQwXQqSeT O53Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681909519; x=1684501519; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hi3fgFRhMB+S3dlh3roixUjoWYSplX6ENDKFiGEt44s=; b=Cpxhc3ib152zb9FPzsLFtEP0DME8Z6ZSvJ7seezufms9sYewj+nRUUvNzRClMJA3Tq kxujKp0lwK6PxiMbW4Yjzkz1fjVtyQHFZW2IYT076hTU6cWhmdF/Q3w6AuGIUzgpoJBr tK2tAlQirUXUDohR/L+n6L1xj1OmgGEzTfSyaHChoT0Cr+Gmh9FWns6/YhRcdOof++va 6asi0W38afUN6+mh6IA6v6SW4JzoQHGr39q91gQoqbvpH0fpnkSjxgHa0IMCnhvK9Bn5 tsC57djEJ6S9VdxeLAvb1jRKU4GisKLyS8eAD5zp1FqslCtVzt0aGzF1Rs2mZaffu1TG c0Bg== X-Gm-Message-State: AAQBX9eFKsAgPBs+uTuMK/UBGuBWmtaTiApMrsZ913icUekOXg8FCldU HltdHsC1mR/yUdkHSZaqfyTcdA== X-Received: by 2002:a17:907:a08d:b0:94f:8f37:d4e with SMTP id hu13-20020a170907a08d00b0094f8f370d4emr7915556ejc.65.1681909518851; Wed, 19 Apr 2023 06:05:18 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:b7d8:d88b:1fac:c802? ([2a02:810d:15c0:828:b7d8:d88b:1fac:c802]) by smtp.gmail.com with ESMTPSA id n19-20020a170906725300b0095334355a34sm1569509ejk.96.2023.04.19.06.05.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Apr 2023 06:05:18 -0700 (PDT) Message-ID: Date: Wed, 19 Apr 2023 15:05:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 1/1] arm: dts: sunxi: Add ICnova A20 ADB4006 board support Content-Language: en-US To: Ludwig Kormann , samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andre.przywara@arm.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org References: <20230419121229.1384024-1-ludwig.kormann@in-circuit.de> From: Krzysztof Kozlowski In-Reply-To: <20230419121229.1384024-1-ludwig.kormann@in-circuit.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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? Also, at the end of your files - drop stray blank lines. Best regards, Krzysztof