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 5F705C001DD for ; Wed, 12 Jul 2023 18:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232428AbjGLSLI (ORCPT ); Wed, 12 Jul 2023 14:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjGLSLI (ORCPT ); Wed, 12 Jul 2023 14:11:08 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB4F1BF2 for ; Wed, 12 Jul 2023 11:11:07 -0700 (PDT) Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 3A8DC3F438 for ; Wed, 12 Jul 2023 18:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1689185466; bh=jZV4lxXU1ZB6Js3u/270T4FZAtmvDEeFk82+tjv5Ytg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gM0L/0wyX+xfOJaNOiKeibaq+j+3S2u8QK2yJRsrYaUJmmCxQcKsYjWiGtvbMVwNq t0+7gC6As2a/u07UlmzvCJk+sydNaedgkOemRPSHqHugO+BDjvVA8X6bZ4wxUMLBGv QtkvL9WCm4HIDFqT81srSUUlqaAjkwk7JWeEUzDMid23IFMvrdfkxKAnZ0Yg89EcV3 RhjaKNWwllYlHhhqVE8Bzecqf6EIGOHAb5svV+5M9GGiMbcjzrek8kY/SQaVI7jSnI 38s2kRypuqGih/1Fw7mwkyanQIq/ouqYn8Ax0HWhf3XKvjhJMbRbMl5lF1i2Tb5DxS cvEtVZ1TODi5w== Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-765ab532883so950934185a.0 for ; Wed, 12 Jul 2023 11:11:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689185461; x=1691777461; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jZV4lxXU1ZB6Js3u/270T4FZAtmvDEeFk82+tjv5Ytg=; b=GFt6JueAmbs89WymPCD/oB2FKcL5NCNTeg0P1I69sRWFX9K4HpLqQIF5GqFCKQbyPF GH8Faha4ojfLB2AJ3ZVDaJErHPGiutBEV9Rg1adBI1/VpCmib7WL9FVvyhWTmC12Ixjl tb7S0f3glrTRm7wPyk5QyG5km3RFpvqxcW2W67Y9oVjm9LxNOKqU1hRLYd2l3ibPuJ+w /2yqwpUV5DmccgPkdIvI3rEBN7lZbcN4HODSwMsvA2bpl2ObUgA/KBMblBwIzN/o45+2 VbEwu2LQWkrEw23TWrO3pzrpAeAou5aSF1MoCqzcz2BZKNrAyMt6+++VzmvJa7bQt/n6 l5jw== X-Gm-Message-State: ABy/qLbHIbFW8tdi3MRhHN4FdXDOMPi6vJa0UmIoxVTS0sFYgxE3Uga+ OWA5PVEGXZ7Ge/xKv2gA10GFhotWHxuS7cbGXBWuY1A4/qByyEMHOjygZjG6NQ1pKonhH180HlP P0c5HeuKrI6raLsJ6N69mJ6DurbOhjlSsWaqj6zpiy7QBj9PUL7KiWOA= X-Received: by 2002:a05:622a:144d:b0:403:b395:b3c0 with SMTP id v13-20020a05622a144d00b00403b395b3c0mr9913198qtx.3.1689185461756; Wed, 12 Jul 2023 11:11:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlHEi6ZnXrU4jchYntQmVhlI+BbvJ58VQ34IJb9Ptwwjd3rb28kvuNYpTLkLgpIcX7In9qBHKfW1YR3dXyt8LFc= X-Received: by 2002:a05:622a:144d:b0:403:b395:b3c0 with SMTP id v13-20020a05622a144d00b00403b395b3c0mr9913166qtx.3.1689185461476; Wed, 12 Jul 2023 11:11:01 -0700 (PDT) MIME-Version: 1.0 References: <20230712092007.31013-1-xingyu.wu@starfivetech.com> <20230712092007.31013-9-xingyu.wu@starfivetech.com> In-Reply-To: <20230712092007.31013-9-xingyu.wu@starfivetech.com> From: Emil Renner Berthing Date: Wed, 12 Jul 2023 20:10:45 +0200 Message-ID: Subject: Re: [PATCH v7 8/9] riscv: dts: starfive: jh7110: Add DVP and HDMI TX pixel external clocks To: Xingyu Wu Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , Philipp Zabel , Conor Dooley , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, 12 Jul 2023 at 11:22, Xingyu Wu wrote: > > Add DVP and HDMI TX pixel external fixed clocks and the rates are > 74.25MHz and 297MHz. > > Reviewed-by: Conor Dooley Reviewed-by: Emil Renner Berthing > 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 fa0061eb33a7..de0f40a8be93 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -38,6 +38,10 @@ gpio-restart { > }; > }; > > +&dvp_clk { > + clock-frequency = <74250000>; > +}; > + > &gmac0_rgmii_rxin { > clock-frequency = <125000000>; > }; > @@ -54,6 +58,10 @@ &gmac1_rmii_refin { > clock-frequency = <50000000>; > }; > > +&hdmitx0_pixelclk { > + clock-frequency = <297000000>; > +}; > + > &i2srx_bclk_ext { > clock-frequency = <12288000>; > }; > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > index ec2e70011a73..e9c1e4ad71a2 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > @@ -197,6 +197,12 @@ opp-1500000000 { > }; > }; > > + dvp_clk: dvp-clock { > + compatible = "fixed-clock"; > + clock-output-names = "dvp_clk"; > + #clock-cells = <0>; > + }; > + > gmac0_rgmii_rxin: gmac0-rgmii-rxin-clock { > compatible = "fixed-clock"; > clock-output-names = "gmac0_rgmii_rxin"; > @@ -221,6 +227,12 @@ gmac1_rmii_refin: gmac1-rmii-refin-clock { > #clock-cells = <0>; > }; > > + hdmitx0_pixelclk: hdmitx0-pixel-clock { > + compatible = "fixed-clock"; > + clock-output-names = "hdmitx0_pixelclk"; > + #clock-cells = <0>; > + }; > + > i2srx_bclk_ext: i2srx-bclk-ext-clock { > compatible = "fixed-clock"; > clock-output-names = "i2srx_bclk_ext"; > -- > 2.25.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv