From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03D07C4332F for ; Fri, 18 Nov 2022 12:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241474AbiKRMBi (ORCPT ); Fri, 18 Nov 2022 07:01:38 -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> Precedence: bulk List-ID: X-Mailing-List: devicetree@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.