Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3433886rwb; Tue, 16 Aug 2022 03:01:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR71FJH/um6OJm9CLxfNugA6nKru+149CUaA3oWUN1qc2OhI5i6nUo3OUi6cjpG7QFVC9RDJ X-Received: by 2002:a17:90b:4b4f:b0:1f3:19ed:37b5 with SMTP id mi15-20020a17090b4b4f00b001f319ed37b5mr31741306pjb.108.1660644114501; Tue, 16 Aug 2022 03:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660644114; cv=none; d=google.com; s=arc-20160816; b=WSsSoqL6FSQKu+nne6z5cLPbakhpjVk+8UJYbwfljyBta0cguk0v9dWeGEm7SG+Z43 481uRLFYOJpJaCQdAlQli46aBfuXHc49V6l5ifAyIRCEgm5vtk/2tgxT1QiEO6EABT+4 CjkiSbb3tNR0zvngP3Cx7i5JtGIcaswvwKvG13lpIefIIDXWQxOhBipuiN2yTU8tx7H4 6a/Butxi6FYy1IqABIzwO7aZgBK1KwWRFLso5LCl51dlfoQIZPR6ExJg4yEUWVORrHGA 82G1OovVdbqh3LHqfu54uJ9lF3coo7H+7CO6xmhYn8We6psuyJqTgSZNayYJ9DhrwaC9 I/3Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=62E97Tq/43akwew30M6C489W2q2bhp6pcOE2NLNT/VM=; b=mGkp0QBxATmOxBz4fBALGAZGAyldjsSF05y3fovKjGsStoxNhY+8qpgt4OrcTNyiZH JJkxckZBtJaTSZtr7fq0ic4qX3iqupJpChEn3H4Z+0bhaddR8I15XnGIn6Ue7Ungwye5 u4tWmq3zHkV9n1XfxXfQEgl1Pz/uITMoesoZ/CrRaIEvWAgqT25Nev7XDVoSRPOaDfnY UlMoeq0mvTN649uo+9cjGn/OkCXUsgwCJG5ZefVSIpx/HV+nStHMB+bI3AbruM/wt98Z AhyPb3HKLmjsmyGHLrhxlXzVBX13CpejSLEAYEVR6s3Vk3WKRVzZA1wdH96F30tuS+mf +fZw== 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=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r1-20020a63a541000000b004111ba655bdsi2621381pgu.675.2022.08.16.03.01.43; Tue, 16 Aug 2022 03:01:54 -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=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234136AbiHPJ4T (ORCPT + 99 others); Tue, 16 Aug 2022 05:56:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234253AbiHPJzb (ORCPT ); Tue, 16 Aug 2022 05:55:31 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 347D55A80B; Tue, 16 Aug 2022 01:56:05 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNsMa-0002iz-Fr; Tue, 16 Aug 2022 10:55:52 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Chen-Yu Tsai , Jernej Skrabec , linux-sunxi@lists.linux.dev, Palmer Dabbelt , Paul Walmsley , Albert Ou , linux-riscv@lists.infradead.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Samuel Holland , Samuel Holland Subject: Re: [PATCH 07/12] riscv: dts: allwinner: Add Allwinner D1 Nezha devicetree Date: Tue, 16 Aug 2022 10:55:51 +0200 Message-ID: <2114701.GUh0CODmnK@diego> In-Reply-To: <20220815050815.22340-8-samuel@sholland.org> References: <20220815050815.22340-1-samuel@sholland.org> <20220815050815.22340-8-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Montag, 15. August 2022, 07:08:10 CEST schrieb Samuel Holland: > "D1 Nezha" is Allwinner's first-party development board for the D1 SoC. > It was shipped with 512M, 1G, or 2G of DDR3. It supports onboard audio, > HDMI, gigabit Ethernet, WiFi and Bluetooth, USB 2.0 host and OTG ports, > plus low-speed I/O from the SoC and a GPIO expander chip. > > Most other D1 boards copied the Nezha's power tree, with the 1.8V rail > powered by the SoCs internal LDOA, analog domains powered by ALDO, and > the rest of the board powered by always-on fixed regulators. Some (but > not all) boards also copied the PWM CPU regulator. To avoid duplication, > factor out the out the regulator references that are common across all > known boards. > > Signed-off-by: Samuel Holland > --- > > arch/riscv/boot/dts/allwinner/Makefile | 1 + > .../sun20i-d1-common-regulators.dtsi | 51 ++++++ > .../boot/dts/allwinner/sun20i-d1-nezha.dts | 171 ++++++++++++++++++ > 3 files changed, 223 insertions(+) > create mode 100644 arch/riscv/boot/dts/allwinner/sun20i-d1-common-regulators.dtsi > create mode 100644 arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dts > > diff --git a/arch/riscv/boot/dts/allwinner/Makefile b/arch/riscv/boot/dts/allwinner/Makefile > index f66554cd5c45..b0a15e8c8d82 100644 > --- a/arch/riscv/boot/dts/allwinner/Makefile > +++ b/arch/riscv/boot/dts/allwinner/Makefile > @@ -1 +1,2 @@ > # SPDX-License-Identifier: GPL-2.0 > +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-nezha.dtb > diff --git a/arch/riscv/boot/dts/allwinner/sun20i-d1-common-regulators.dtsi b/arch/riscv/boot/dts/allwinner/sun20i-d1-common-regulators.dtsi > new file mode 100644 > index 000000000000..143a3e710c3c > --- /dev/null > +++ b/arch/riscv/boot/dts/allwinner/sun20i-d1-common-regulators.dtsi > @@ -0,0 +1,51 @@ > +// SPDX-License-Identifier: (GPL-2.0+ or MIT) > +// Copyright (C) 2021-2022 Samuel Holland in (most/all) other devicetrees this is looks more like // SPDX-License-Identifier: (GPL-2.0+ or MIT) /* Copyright (C) 2021-2022 Samuel Holland */ otherwise Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner