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 8F4B5C64ED6 for ; Tue, 28 Feb 2023 01:40:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229827AbjB1Bkj (ORCPT ); Mon, 27 Feb 2023 20:40:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjB1Bkh (ORCPT ); Mon, 27 Feb 2023 20:40:37 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E1B01E1FE; Mon, 27 Feb 2023 17:40:35 -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 169A824E392; Tue, 28 Feb 2023 09:40:34 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 28 Feb 2023 09:40:33 +0800 Received: from [192.168.125.128] (113.72.145.171) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 28 Feb 2023 09:40:32 +0800 Message-ID: Date: Tue, 28 Feb 2023 09:40:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2 10/11] riscv: dts: starfive: jh7110: Add DVP and HDMI TX pixel external clocks Content-Language: en-US To: Conor Dooley CC: , , "Michael Turquette" , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Emil Renner Berthing , Rob Herring , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , Hal Feng , , References: <20230221083323.302471-1-xingyu.wu@starfivetech.com> <20230221083323.302471-11-xingyu.wu@starfivetech.com> From: Xingyu Wu In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.145.171] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/2/28 3:55, Conor Dooley wrote: > On Tue, Feb 21, 2023 at 04:33:22PM +0800, Xingyu Wu wrote: >> Add DVP and HDMI TX pixel external fixed clocks and the rates are >> 74.25MHz and 297MHz. >> >> Signed-off-by: Xingyu Wu >> --- >> .../dts/starfive/jh7110-starfive-visionfive-2.dtsi | 8 ++++++++ >> arch/riscv/boot/dts/starfive/jh7110.dtsi | 12 ++++++++++++ >> 2 files changed, 20 insertions(+) >> >> diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> index c2aa8946a0f1..27af817a55aa 100644 >> --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi >> @@ -86,6 +86,14 @@ &mclk_ext { >> clock-frequency = <12288000>; >> }; >> >> +&dvp_clk { >> + clock-frequency = <74250000>; >> +}; >> + >> +&hdmitx0_pixelclk { >> + clock-frequency = <297000000>; >> +}; >> + >> &uart0 { >> pinctrl-names = "default"; >> pinctrl-0 = <&uart0_pins>; >> diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi >> index 005ead2624d4..a5e6fb3ad188 100644 >> --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi >> +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi >> @@ -245,6 +245,18 @@ mclk_ext: mclk-ext-clock { >> #clock-cells = <0>; >> }; >> >> + dvp_clk: dvp-clk-clock { >> + compatible = "fixed-clock"; >> + clock-output-names = "dvp_clk"; >> + #clock-cells = <0>; >> + }; >> + >> + hdmitx0_pixelclk: hdmitx0-pixelclk-clock { >> + compatible = "fixed-clock"; >> + clock-output-names = "hdmitx0_pixelclk"; >> + #clock-cells = <0>; >> + }; >> + > > Hmm, would you mind adding these entries with no unit addresses in > alphanumerical order? Both in the soc & board dtsi files. > Oh, It was my negligence. I will adjust it. Thanks. Best regards, Xingyu Wu