Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp462130rwb; Fri, 18 Nov 2022 04:10:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yROryYoeJ9TOf9ykyKOcjqdI+JiqecxLDEJ3AIbi62QoXNoznOMFpyhf7FXNdeg6kf/S+ X-Received: by 2002:a17:906:2604:b0:78a:d0a4:176 with SMTP id h4-20020a170906260400b0078ad0a40176mr5811592ejc.720.1668773434321; Fri, 18 Nov 2022 04:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668773434; cv=none; d=google.com; s=arc-20160816; b=fuuJEFPMrDyAhufSeY204x4TDyIuHOFr/ZtkXc2KXusERpJnHxc2jDE9aVYMocbtxN kPZxGXWFw2VP8XXS9Hw6S7xPFtsobvmkWlr/EJ7maGgXiECLI+jYc3ngPhSZsd5m1i6t YnIJUhgS7R5kWvy15NUCNU8gsj/4RHzr7qb7DRrCXD+3Tw1Z/I6kn8qlL8kYSic/1Xff J/dCeGX6CeTniCootKrjqo4fzt9KyrhDCEPd5tynsEKCUBNM9OajC+Z6i06St6MEdyvo JICe4992UOWhEHFFwREzdz6F4CvcYp1Ac3qUSV9cCPJU2N05T8d72I1SToj/El6nZGfa xOQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cRdP+N0h8PCIlH4K/xD6H2LowPuQdPBO4jjG41FTMDQ=; b=R1oUgDCs7t9IBZ1+GKJ0jU49n2+77cNamyr9zjzOkV9q6ejBawpfGKdkd+ZemIuZYm a2JNE808TSqncsHTMVFQe08jiJLz3EKx7bcStEvIaEMAXdBi2sFhm7AdsaWHhagBFtlD Ton9R1XgI9gTJDDuzqcX0+g4Dol3Fpxr7tG79mbAPLNLBNkFHvA4GbZkfuRy7xWKtOSD bjGR8Zi8sXkSItYv9E9/9r1Yw2+CQkPdTQPxDYvrLSwoOydCqMQgpfxFL8igAFSpxHr7 LZY2SgtdR0XBjlDkqWQSDQefW6Ef3Zm1wPxIzrr2EVAersheh6I+OsUytkXvVLGxrDo8 mvpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NPtmoEZ2; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be1-20020a1709070a4100b007ae0ca417e4si3134007ejc.690.2022.11.18.04.10.08; Fri, 18 Nov 2022 04:10:34 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=NPtmoEZ2; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241640AbiKRMBt (ORCPT + 91 others); Fri, 18 Nov 2022 07:01:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241432AbiKRMBh (ORCPT ); Fri, 18 Nov 2022 07:01:37 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B6D94A5C; Fri, 18 Nov 2022 04:01:36 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 50328B82383; Fri, 18 Nov 2022 12:01:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA437C433D6; Fri, 18 Nov 2022 12:01:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668772894; bh=gHY8oh7bKt9m5LJsvFCMjLzXQtR+VjOph9E0FEYxKbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NPtmoEZ23cwe60TX4GGMt8EKk5ditunPtY2IkkyM3Hmha/8v4AqecsM8Uiyjqc5Tp 88Q4VRbKySxZnQbzkRs8zqGWhze60QwDd9wNe/ZSYJQl8Fa1UB6a7bYof5TToe7/E4 lri7CcWIZhTUU7rfTA+zaXr83l3rvHQ6Gmb4SRpfTjpxpkY3mavrU+nfA0Ifpw1Trs 2mHY6OnIhWsB9BzDICrx55F7YFIPNHjHXPWNXzV1yEybIvqZP5fKe0Rw5803kPe+3R V6beSqI93xmjoibE4sbzlAOgl3ETr4LvWP/64fgGThp0UqGU7QuT1xgbuvn1HJ425W ORNq/O2GTmZpQ== Date: Fri, 18 Nov 2022 12:01:28 +0000 From: Conor Dooley To: Hal Feng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/8] riscv: dts: starfive: Add initial StarFive JH7110 device tree Message-ID: References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-7-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221118011714.70877-7-hal.feng@starfivetech.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Fri, Nov 18, 2022 at 09:17:12AM +0800, Hal Feng wrote: > From: Emil Renner Berthing > > Add initial device tree for the JH7110 RISC-V SoC by StarFive > Technology Ltd. > > Signed-off-by: Emil Renner Berthing > Co-developed-by: Jianlong Huang > Signed-off-by: Jianlong Huang > Co-developed-by: Hal Feng > Signed-off-by: Hal Feng > --- > arch/riscv/boot/dts/starfive/jh7110.dtsi | 437 +++++++++++++++++++++++ > 1 file changed, 437 insertions(+) > create mode 100644 arch/riscv/boot/dts/starfive/jh7110.dtsi > > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > new file mode 100644 > index 000000000000..c22e8f1d2640 > --- /dev/null > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > @@ -0,0 +1,437 @@ > +// SPDX-License-Identifier: GPL-2.0 OR MIT > +/* > + * Copyright (C) 2022 StarFive Technology Co., Ltd. > + * Copyright (C) 2022 Emil Renner Berthing @Emil, I feel like I have to ask given the 2022 date, but should this stuff be attributed to your canonical address or is this fine? Other than that, a cursory check /looks/ fine, other than the: > + gmac0_rgmii_rxin: gmac0_rgmii_rxin { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + /* This value must be overridden by the board */ > + clock-frequency = <0>; > + }; If you remove the clock-frequency = <0> bit, dtb validation will force people to set the value in jh7110-board.dts which I'd prefer to rely on than a comment. Glad to see you sorted out the clock/reset stuff too! Thanks, Conor.