Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6967699rwb; Tue, 22 Nov 2022 23:34:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5RRnRsBQGmEWq7pwhNLouGqXkF0Of8uAVw63tYf3+bHv6h+tssxWx3c1La8vm2kMfZnDx7 X-Received: by 2002:a05:6a00:cd5:b0:56d:7aaa:f1ea with SMTP id b21-20020a056a000cd500b0056d7aaaf1eamr8467079pfv.69.1669188845456; Tue, 22 Nov 2022 23:34:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669188845; cv=none; d=google.com; s=arc-20160816; b=OrYdLpsYUyeOTcVbXElZqLCo/awvwyNV+5CabYNVHzL3yDSRLTIWa6UwWttG7DQwZh wRPE18KXQDA3h38n8CYBC130NTqY6qOZyZ0rV5bO1vF/F/b8gQDki7s7gWnIzBd4J1Jn /0Z9TFsectQuhb0OcXtR6UC2gytiqvQ+EngZdzm8OyQn+z/sYv9Z2FAc/S6UWmLpPs00 odOmibBc9dmTSdeiNzHHk+SD0uibIpt8tOGP1KWXQjmjqzyTjMudEkUl+V8CnEE57f79 3RFrodH6ChePRFof4mqXxGOeyQk0HdVDrvaUoAiiwvCTOvxdFd06FqSlNIOeh2k6mf+G Psyg== 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; bh=VGBiymL7/tRR5Ijq6hixqdUZr5QKrGhC+WrJdG3MMlQ=; b=PxxVWLas7ez4AICWUrhixEcTqnlgcDaSDL+SqPtNRNiHqABIdRzgnoJ/zwZk3PXYaJ uxVuWyjC31RArAB0TnslIYtFg9NAmusa+irzmd2wACjHKMX1sBgu7cZvvFz5yhvUn5uS PuAq4LLB+Hh4J/rDot2SfAw9AUHo4C8nJKenh7YJ1cgOb2z7UUippWo/oVbbKHVc8lhe 0o54tw/B7Bno9nKEhm6WUqRMxburguoWs+xsDg/QUOZZopWaFpOHj39FGjHFE90ii4Zz MjlHlU+B2x2fyZc4QscE98bKhqvAsOKZ4uPqbj7xtPRKyEiQcqMc6eYnxfmRgFI8/+Vf YjjQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a17090a974a00b0021382853a8asi1017037pjw.81.2022.11.22.23.33.54; Tue, 22 Nov 2022 23:34:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235926AbiKWHLs (ORCPT + 89 others); Wed, 23 Nov 2022 02:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235612AbiKWHLq (ORCPT ); Wed, 23 Nov 2022 02:11:46 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D90C3F72F0; Tue, 22 Nov 2022 23:11:41 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 02AD024E047; Wed, 23 Nov 2022 15:11:39 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 23 Nov 2022 15:11:39 +0800 Received: from [192.168.125.106] (113.72.144.23) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 23 Nov 2022 15:11:37 +0800 Message-ID: <771e92e8-5641-67db-22aa-0533139a588b@starfivetech.com> Date: Wed, 23 Nov 2022 15:11:24 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v2 6/8] riscv: dts: starfive: Add initial StarFive JH7110 device tree Content-Language: en-US To: Conor Dooley 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" References: <20221118011714.70877-1-hal.feng@starfivetech.com> <20221118011714.70877-7-hal.feng@starfivetech.com> From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.144.23] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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, 18 Nov 2022 20:01:28 +0800, Conor Dooley wrote: > On Fri, Nov 18, 2022 at 09:17:12AM +0800, Hal Feng wrote: > > 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. Okay, will remove the `clock-frequency = <0>` in this file. Best regards, Hal