Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1244909rwd; Tue, 13 Jun 2023 06:51:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iEAJ+0foJilln4ZYrFVslrJ3st92oTthwPazEo6EmLc5ZL7r06jW4YguU8la7WWJ4mR3J X-Received: by 2002:aa7:dcce:0:b0:506:741e:5c14 with SMTP id w14-20020aa7dcce000000b00506741e5c14mr7373120edu.30.1686664283075; Tue, 13 Jun 2023 06:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686664283; cv=none; d=google.com; s=arc-20160816; b=uEbl8APBvXhOl3S/eJ2FnQBd2uAlZGALLZraM85njFCimUKOYVqAajyn/qCA/Kq/Kf s/BsR27v3NV5L8PEdqb3ZphHy/uzKuVlseemvFVdlhD6k9KFF89lz+D32lLLK+hTbUDB 9NzdhyqnBk/ysHXZhcP3Klkg8ODYm9KWTQbghuDbjtdSNGeKCX60Xc0fs3qPFscZ1b4b C5mLlnRVFLz/6783O8QllnSsWNDet1wW9nYBM0UB81PpY6DnuVR6VUIcIrIfaivQs8/L NenhUI+8yXT8ll3v1bxR2hNkvjLUhXOPptaRWfVGZo09vPWqZtfBf/7B88EwD3itw2/Q cKXA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a05640208c600b0050bc1ddc802si7606656edz.633.2023.06.13.06.50.58; Tue, 13 Jun 2023 06:51:23 -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 S242627AbjFMNod 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 Content-Type: text/plain 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 Content-Transfer-Encoding: 8BIT 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 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: -- 2.25.1