From patchwork Tue Jun 13 12:58:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xingyu Wu X-Patchwork-Id: 107387 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp560041vqr; Tue, 13 Jun 2023 06:52:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MIxWSWJuKPKxTeObxXUjuEOiW+npDkgrDIeruSarlEK5qNP+bG0BGNX2foudxFRZJ42ba X-Received: by 2002:a2e:7807:0:b0:2b1:b7e2:705d with SMTP id t7-20020a2e7807000000b002b1b7e2705dmr5028900ljc.5.1686664367997; Tue, 13 Jun 2023 06:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686664367; cv=none; d=google.com; s=arc-20160816; b=Iju/+/UHlzlH9S7KoH2/xo1bj5VB6ZwYUOAxD0Q9PnaRTCHoQNQaMv4jL6emSIZK5S 1/rJAB4Xrc1Lfyz85v3/74mk2Q87ZOXUeBV3vbKJpfyc5iFks6lRkoRESzwyxgTeOeHq tsn+mxT/5G2pLtkeM39XQt82L2UTRR9vXBK2dublGm9LE2UptqjCKadhEGA5zTJp0ec3 AuWVsxBO0MZ8NqsSBa3Wv6B3GQFbJ86egZe1c0azLxeT9Bf0Zc+00iG1pF3Sj+lWWm+5 u9exTzzxUgyI2eaWl9EKutk2Yd0VJeei1snzbKta35QJ/tAGYk22MR5/rC1liNJrvkiG edMg== 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=a1YOe4siEM0C6NoS9zGtK8DS044IrndNplyWxrDqv9M=; b=GF9ueKwncJCVyDX9iWexdEAfT0M5r8E3N7QebYEzYNoguRGA93bBa+eq3lxp/ucksi yq9dyQJ+zNfgE17pPBKoBqKPCxCFDvv+Pem6Lyn62rq9HmbosWYzBheHy4dj8O70w2uA Y+8pyqCo1TKdz25LpJPUrpn3kePiv2la7AooD3tbUgO6q/l2RlIlMi54K5eT6wCR17gR eqPFbCLxttwwe8bk4H0yNc+c3x2w6aGghU4rf3n7d2uFBenHbJIy/S8dLLGAkOxLR3Xd XnfIHE8HVA3OLIZH+9w5yDXi+G3cbUAPPtJNlJendQSejystYyqkjvhTLrOK/8q3r/c3 xFjQ== 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 u20-20020a056402065400b00514a6d05de0si7447439edx.609.2023.06.13.06.52.21; Tue, 13 Jun 2023 06:52:47 -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 S240380AbjFMNod convert rfc822-to-8bit (ORCPT + 99 others); Tue, 13 Jun 2023 09:44:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242557AbjFMNoR (ORCPT ); Tue, 13 Jun 2023 09:44:17 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 791641BC7; Tue, 13 Jun 2023 06:44:05 -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 ED47524E21E; Tue, 13 Jun 2023 21:43:56 +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; Tue, 13 Jun 2023 20:58:56 +0800 Received: from localhost.localdomain (113.72.145.34) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 13 Jun 2023 20:58:55 +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 v5 3/7] dt-bindings: clock: jh7110-syscrg: Add PLL clock inputs Date: Tue, 13 Jun 2023 20:58:48 +0800 Message-ID: <20230613125852.211636-4-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230613125852.211636-1-xingyu.wu@starfivetech.com> References: <20230613125852.211636-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.145.34] 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,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768595776423315392?= X-GMAIL-MSGID: =?utf-8?q?1768595776423315392?= Add optional PLL clock inputs from PLL clock generator. Signed-off-by: Xingyu Wu --- .../clock/starfive,jh7110-syscrg.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml b/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml index 84373ae31644..5536e5f9e20b 100644 --- a/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml +++ b/Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml @@ -39,6 +39,33 @@ properties: - description: External TDM clock - description: External audio master clock + - items: + - description: Main Oscillator (24 MHz) + - description: GMAC1 RMII reference or GMAC1 RGMII RX + - description: External I2S TX bit clock + - description: External I2S TX left/right channel clock + - description: External I2S RX bit clock + - description: External I2S RX left/right channel clock + - description: External TDM clock + - description: External audio master clock + - description: PLL0 + - description: PLL1 + - description: PLL2 + + - items: + - description: Main Oscillator (24 MHz) + - description: GMAC1 RMII reference + - description: GMAC1 RGMII RX + - description: External I2S TX bit clock + - description: External I2S TX left/right channel clock + - description: External I2S RX bit clock + - description: External I2S RX left/right channel clock + - description: External TDM clock + - description: External audio master clock + - description: PLL0 + - description: PLL1 + - description: PLL2 + clock-names: oneOf: - items: @@ -64,6 +91,35 @@ properties: - const: tdm_ext - const: mclk_ext + - items: + - const: osc + - enum: + - gmac1_rmii_refin + - gmac1_rgmii_rxin + - const: i2stx_bclk_ext + - const: i2stx_lrck_ext + - const: i2srx_bclk_ext + - const: i2srx_lrck_ext + - const: tdm_ext + - const: mclk_ext + - const: pll0_out + - const: pll1_out + - const: pll2_out + + - items: + - const: osc + - const: gmac1_rmii_refin + - const: gmac1_rgmii_rxin + - const: i2stx_bclk_ext + - const: i2stx_lrck_ext + - const: i2srx_bclk_ext + - const: i2srx_lrck_ext + - const: tdm_ext + - const: mclk_ext + - const: pll0_out + - const: pll1_out + - const: pll2_out + '#clock-cells': const: 1 description: