From patchwork Mon Jul 17 02:30:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xingyu Wu X-Patchwork-Id: 120991 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp867814vqt; Sun, 16 Jul 2023 19:35:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFuqzKdgHXlJHMsLeNOohFjevJCRrOomqZGFq7GdBPTvB4nNFP6PqveNodD5KRPTAaZg4i4 X-Received: by 2002:a05:6512:304a:b0:4fb:8cd1:1679 with SMTP id b10-20020a056512304a00b004fb8cd11679mr8309109lfb.44.1689561302904; Sun, 16 Jul 2023 19:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689561302; cv=none; d=google.com; s=arc-20160816; b=FmfJHeGQvrylytAUCWzS9c38SojQM8f5r6x2Wg6SMSMEZoiSsvBRaVQmMfO1UBcU1p GcC256lHyUSMTHDc/mFNsrcVrwLTyoar22qYTpKj/74b7JwAzWX2nf2YJQi0R4tw4ciz dc0xBqTDhk+NflLAN8bWaHC6XShET4EEGOnJrGy5RDUu4Br8eC97X72cMTHMX9o9tUCB Gtz6+FzQ4nWgsL7HU3BnRk1LxQy8wKrq/gkScsgyoCmKCPgNlg2J9YFGTBnHjxDZiMDA J0/85lUKv1LwmXxbn17dFlt2d/cB31GtBhViXM+j4FnOHMI2GWv1IoynbZhuKZCCBi6H 6R3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+hSQOhQ6JIuxqc5zfQuQshwaXsda6NpbnsIZzabueCI=; fh=L5BHRvtUZAZ8Rhz2I9jy0uMRl6XQRieQsKquOzHZx+Q=; b=VNlUaESlgf6nEU+wn+0n6NFL0lx4BZtINNYY8La+GlyFDzbapprKbxXXUvVFiwqFh2 GJ0eA5ysF6bBf3g8PlTA729AiEnM/B3J+FP1OaUL8HN+c2P6nMFGgrgAe6iqyEZ1U8Hz whs2/Eg4K0n7q3gOIrw+hVlGCpr7AraHQcUiiBA/kGB5LY4odadiFEq0fFTPLyuk/K7F 3pFXxYEZfczwtKZrWnL/GQCHi+FL1qI4AMOXAQR55PUgFxb8PQRkJVFhqwCUKj6SXDEu cDESRc6lKM8NUq7ufe9WYORuLftEEm21RfyfgtovG9YP3E43LoPNbe8bAKtVZPwVEW6z o+Tw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020aa7dcd4000000b0051e252568besi3532542edu.662.2023.07.16.19.34.39; Sun, 16 Jul 2023 19:35:02 -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; 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 S231187AbjGQCbL convert rfc822-to-8bit (ORCPT + 99 others); Sun, 16 Jul 2023 22:31:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjGQCau (ORCPT ); Sun, 16 Jul 2023 22:30:50 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3910A1AA; Sun, 16 Jul 2023 19:30:49 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 0489E24E29D; Mon, 17 Jul 2023 10:30:48 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 17 Jul 2023 10:30:48 +0800 Received: from localhost.localdomain (113.72.147.86) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 17 Jul 2023 10:30:46 +0800 From: Xingyu Wu To: , , "Michael Turquette" , Stephen Boyd , "Rob Herring" , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , Emil Renner Berthing CC: Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , Xingyu Wu , "William Qiu" , , Subject: [PATCH v7 7/7] riscv: dts: starfive: jh7110: Add PLL clocks source in SYSCRG node Date: Mon, 17 Jul 2023 10:30:40 +0800 Message-ID: <20230717023040.78860-8-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230717023040.78860-1-xingyu.wu@starfivetech.com> References: <20230717023040.78860-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.147.86] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771633432457589660 X-GMAIL-MSGID: 1771633432457589660 Add PLL clocks input from PLL clocks driver in SYSCRG node. Reviewed-by: Emil Renner Berthing Reviewed-by: Conor Dooley Signed-off-by: Xingyu Wu --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index c49f5570625c..0067f1fd2cb1 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -485,12 +485,16 @@ syscrg: clock-controller@13020000 { <&gmac1_rgmii_rxin>, <&i2stx_bclk_ext>, <&i2stx_lrck_ext>, <&i2srx_bclk_ext>, <&i2srx_lrck_ext>, - <&tdm_ext>, <&mclk_ext>; + <&tdm_ext>, <&mclk_ext>, + <&pllclk JH7110_PLLCLK_PLL0_OUT>, + <&pllclk JH7110_PLLCLK_PLL1_OUT>, + <&pllclk JH7110_PLLCLK_PLL2_OUT>; clock-names = "osc", "gmac1_rmii_refin", "gmac1_rgmii_rxin", "i2stx_bclk_ext", "i2stx_lrck_ext", "i2srx_bclk_ext", "i2srx_lrck_ext", - "tdm_ext", "mclk_ext"; + "tdm_ext", "mclk_ext", + "pll0_out", "pll1_out", "pll2_out"; #clock-cells = <1>; #reset-cells = <1>; };