Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp185874rwp; Wed, 12 Jul 2023 11:35:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlGZT8+MaXTjqaylZwgSQedUDzM/t/dsqEch61RLGyvtkaX7SVGl/L/c6ynVQWCh0xgzj10t X-Received: by 2002:a17:906:7a08:b0:974:1ef1:81ad with SMTP id d8-20020a1709067a0800b009741ef181admr20012353ejo.4.1689186930303; Wed, 12 Jul 2023 11:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689186930; cv=none; d=google.com; s=arc-20160816; b=zGXeEah1lbP8B0Fq2xpF+G264SeXMpFdCmLc+wTIrHXhNnS4RPmLTmDeOt+pn7G4bu iRnkGcvaNmIVFYYBECIJuivIJIW6PaP+6bSo9jgnCeXpY/Xp8+RL2UOTgGrwhWYRiqUu QbwYyPuqmP2KbUletXiiL64x552REDuvTyX73T0r+U9h0a4rGoEly3TvUg5uI/sIHpqe PECS3AIP9stASU4ss8b2xvhViZeJ9yiiEWowPjhKlVTBCLWN9GXRwl4kqiYjmRPCudZi /sHkqockpSqyTc5FlGkJQyQfrURc6meIUlbGzvM7VkUsm2ILZGBtTfU5lGMm981t78ON qHBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jZV4lxXU1ZB6Js3u/270T4FZAtmvDEeFk82+tjv5Ytg=; fh=YXdnwW4c1KmW6sMhai6l6POFtWtDjQ2e2cQTDIuDoGY=; b=1E8lkVjktuY6xqBdy/ZlozIxnxiCF6DSD1ilqgF1kLgA1ew8XfmPqTH5ozzB+Ik+b1 XziQOcUklxQOjnll9c1kC5SFnhpab01e95n9Mwh3+YTnIKjBfc27KCsVOj1P8hxfG5Bj FQvcPvh5rl54NbLY4MvaAEjswIEVCkjkFqI4ua1vV5idRCps+Ga+mZ7CH37XeAyI5NIG TNnVeUuImIADEJxFEGRUSGGq+v+nP+V4xVDAr4yB/9fsjHPkFB8UA9z2V+89zGnJM5iW gOe6FXlwIatIsipoVP9FLvPy4WDEx9YAMh8rnvrsGBAlFm35LQbZIRLbjRw7LZ0GOdWz ci3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=k+dhtSXX; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rn2-20020a170906d92200b009938899a110si5416804ejb.877.2023.07.12.11.35.04; Wed, 12 Jul 2023 11:35:30 -0700 (PDT) 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=@canonical.com header.s=20210705 header.b=k+dhtSXX; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbjGLSLH (ORCPT + 99 others); Wed, 12 Jul 2023 14:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbjGLSLF (ORCPT ); Wed, 12 Jul 2023 14:11:05 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2439D11B for ; Wed, 12 Jul 2023 11:11:04 -0700 (PDT) Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (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-1.canonical.com (Postfix) with ESMTPS id C25F73F171 for ; Wed, 12 Jul 2023 18:11:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1689185462; bh=jZV4lxXU1ZB6Js3u/270T4FZAtmvDEeFk82+tjv5Ytg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=k+dhtSXXEJf3TwV8UMej0Qy7H1jmmXmM2SgJiEaEx2ygj/Zv16HoFWaMDpSaK9nyy /+u3uJ/y/yT63x+/16hxibe3kYD5hTcZL0+MrqmzZcc1+0xDrX6qeHuI4xQSmRt2bK 3iXWre/neluC+inZuf8TVDBM2QoyHnD9MWt5nYEGPCh4CYxJUCRzD9n+IM13SznXp+ EmG4njcrJgVKP9gMkLvIpBpLCMuvhSBgXym9CCDZ2Dv3cRKPpW2AAwveLdfTSriNOx 5lBIlVUX8Q3RldOV3R8zBIvAigUHj35tnBj0ijl55iFkK0a3W3KLQlWUtFEm6Gtvga 6MuVRBAmlKUSw== Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7623a4864c2so948641785a.3 for ; Wed, 12 Jul 2023 11:11:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689185462; x=1691777462; 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=lhb6kdQyeXYPGnlHLuI0fK9/dRkM2P3b1PyuDf4fQq9yBxbPLW6V9aDE3CRnfaP3XY OvWlT/BwfAW3Mra7cJ2+nzO3VR4aGN4RS8+NgvsY/BZrrPNoYEKXHN6Z3urpueYM9WXR 2VkpDnuQ7cQw65q2+WqlhpTL8AgvloKlt2a2BCO6GlsdwhkuyrTt23jIONqptNKyYrT/ 0Br1lcfXDHuF38UfOj9XotT8gjNZTk8poMfgYvCl5KnNrb19tzPhrIuHatGTGUvfmYWi GgIZ789R796U4+QjGBfWerpCXiP4tnZNcD4qswoSy/IahRNixqIXi3uHc9RkT5bs2SSN 0xxg== X-Gm-Message-State: ABy/qLYOUO9VahzgAogjArSAcUzlYtNowbwjOBLsFqwGFvpreW3AikUI 4tTN7X2jQlImtINRCk4VLr4hKBcz6OvErVO4jqxqEh6wiB9Bq/mEgbfgwGxAzJr05CsO4sSIFnl k2+T/2MPVmHeGfBXLTMFylT4MmjMVnJC6bUDJYWXjA/VA5gdO+ZGMn1tq9g== X-Received: by 2002:a05:622a:144d:b0:403:b395:b3c0 with SMTP id v13-20020a05622a144d00b00403b395b3c0mr9913188qtx.3.1689185461751; Wed, 12 Jul 2023 11:11:01 -0700 (PDT) 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" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 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