Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10024841rwr; Fri, 12 May 2023 02:42:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dqb5/CZK4jR5yCqCZfrA0tdI4f3eRsfFppugcjQxL2wvICqbpe9QofvGQhd4OBiTC8d0S X-Received: by 2002:a17:903:120d:b0:1aa:f53a:5e47 with SMTP id l13-20020a170903120d00b001aaf53a5e47mr28637269plh.16.1683884565853; Fri, 12 May 2023 02:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683884565; cv=none; d=google.com; s=arc-20160816; b=dpkJyulW7hjhnWihUU75N1xxFxSxFtBANOp81yz75lCSGiitY7rERmZBkgIPhlgkf0 vUWnxx2I8oGbAvzsnJ6kxcHKIcGXgXXegj23rCpFRD56bklD9/CZhC57QqT9jgcoYV4n cgQRd/6zEKlJVfffotC2UCpZHzB0BJUG9Z+azqIo8z0muWVOpbza3Ak9BigzHRCCD1AZ wrP2D5YFBRIgDqN118He/cfyBs7zmFRvzIgcNHiFKmzWWLYLMHUrNr7f2OpLQaxqfSun Icl1Ghj0U92oWe30TZKIc6KiAkuzUBzalR2YnxxeWWnApSV3LbqkcLt/OO37mPge+Hk5 sptg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0TnKOCoR1YR/T+dr6ntax9IRXCK7Q0HBprg7rDsJZmA=; b=AxXHh+2H/TMsUVib5OnzmW3dhhwvbc2t0mOAOaUtCK14kGx/QGyf6qX6exlhEroafe iJbASd7q/ixXeFQRmJklK3RwCUKUCq8uQ5fhM6SbLZvs8nFoOZc2EusI/Nx6AQQp066q m2WMJOYtA0FzSUuY0RMXHRdDp14F9jGNjA21otkmaQhtdU5L30p1VUAL6vZjjYnc/v7+ bzsusuQjVb862vEfYCZe78yjizqIh0QEwck7AiF+xoXWoe/tU6qrGFvu66piZFl4K8mM ZZzDtMPYX5yBsrx+GRWlnwx230TnWgG2o/79ktn9EiaWopnPgCZDaSPf9ExaO6rsn6Wc iEpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ic5GkReH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a17090332d200b001ab01ba1f89si10271334plr.452.2023.05.12.02.42.33; Fri, 12 May 2023 02:42:45 -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=@microchip.com header.s=mchp header.b=ic5GkReH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240219AbjELJfe (ORCPT + 99 others); Fri, 12 May 2023 05:35:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231767AbjELJfd (ORCPT ); Fri, 12 May 2023 05:35:33 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1428A4C1F; Fri, 12 May 2023 02:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1683884131; x=1715420131; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fimsaLVN3IxgXwB6v4650M8bZOFhhLTgufNrSkX2BtI=; b=ic5GkReHO9v9JdcZGljzbr24fpwf8PWhUnzV+8fCVl0ZmqO2ok/Yoldn emVD9nenNzjdmAcAoSqauy/zddWztZaN/+/4I6+oXMF9ULlToxD/Vu5wQ 1SewJiKZigKMOxaId32XgYPcEGiPPMlfd5Xi+hhSQ6s9Ah65CPUC9ZrXn 7o1sWM9GQ+5Xxvbzf7uC78I94e30dzfnzQW10djbdJ6dDlV7OQSOgz5HG uQTjxr/h48mQx3g93FhtjbRH9UuZB3xxyjiD9qxEw4foBTd+e4ZKvSe3d RDjuSEm9jRxBNqlxefUt+N4+rTJJ76x5pdeT17+BMZmgBlacGzSoKQM4m g==; X-IronPort-AV: E=Sophos;i="5.99,269,1677567600"; d="asc'?scan'208";a="213028836" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 May 2023 02:35:30 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 12 May 2023 02:35:30 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 12 May 2023 02:35:27 -0700 Date: Fri, 12 May 2023 10:35:07 +0100 From: Conor Dooley To: Xingyu Wu CC: , , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , Emil Renner Berthing , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , William Qiu , , Subject: Re: [PATCH v4 3/7] dt-bindings: clock: jh7110-syscrg: Add PLL clock inputs Message-ID: <20230512-backlit-radiated-ded0b38b4a94@wendy> References: <20230512022036.97987-1-xingyu.wu@starfivetech.com> <20230512022036.97987-4-xingyu.wu@starfivetech.com> <20230512-uproar-external-49a9e793fbc4@wendy> <91e4fd3c-20cb-724b-c9a8-e038600aabb7@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QcQ3Y5HHQp1oxn9V" Content-Disposition: inline In-Reply-To: <91e4fd3c-20cb-724b-c9a8-e038600aabb7@starfivetech.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,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 --QcQ3Y5HHQp1oxn9V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 12, 2023 at 04:07:47PM +0800, Xingyu Wu wrote: > On 2023/5/12 14:47, Conor Dooley wrote: > > On Fri, May 12, 2023 at 10:20:32AM +0800, Xingyu Wu wrote: > >> Add PLL clock inputs from PLL clock generator. > >>=20 > >> Acked-by: Krzysztof Kozlowski > >> Signed-off-by: Xingyu Wu > >> --- > >> .../clock/starfive,jh7110-syscrg.yaml | 20 +++++++++++++++++-- > >> 1 file changed, 18 insertions(+), 2 deletions(-) > >=20 > > /tmp/tmp.KDlzwQM5ma/arch/riscv/boot/dts/starfive/jh7110-starfive-vision= five-2-v1.3b.dtb: clock-controller@13020000: clocks: 'oneOf' conditional fa= iled, one must be fixed: > > [[19], [20], [21], [22], [23], [24], [25], [26], [27]] is too short > > From schema: /Documentation/devicetree/bindings/clock/starfive,jh7110-= syscrg.yaml > > /tmp/tmp.KDlzwQM5ma/arch/riscv/boot/dts/starfive/jh7110-starfive-vision= five-2-v1.3b.dtb: clock-controller@13020000: clock-names: 'oneOf' condition= al failed, one must be fixed: > > ['osc', 'gmac1_rmii_refin', 'gmac1_rgmii_rxin', 'i2stx_bclk_ext', 'i2s= tx_lrck_ext', 'i2srx_bclk_ext', 'i2srx_lrck_ext', 'tdm_ext', 'mclk_ext'] is= too short > > 'i2stx_bclk_ext' was expected > > 'i2stx_lrck_ext' was expected > > 'i2srx_bclk_ext' was expected > > 'i2srx_lrck_ext' was expected > > 'tdm_ext' was expected > > 'mclk_ext' was expected > > 'pll0_out' was expected > > From schema: /Documentation/devicetree/bindings/clock/starfive,jh7110-= syscrg.yaml > > /tmp/tmp.KDlzwQM5ma/arch/riscv/boot/dts/starfive/jh7110-starfive-vision= five-2-v1.2a.dtb: clock-controller@13020000: clocks: 'oneOf' conditional fa= iled, one must be fixed: > > [[19], [20], [21], [22], [23], [24], [25], [26], [27]] is too short > > From schema: Documentation/devicetree/bindings/clock/starfive,jh7110-s= yscrg.yaml > > /tmp/tmp.KDlzwQM5ma/arch/riscv/boot/dts/starfive/jh7110-starfive-vision= five-2-v1.2a.dtb: clock-controller@13020000: clock-names: 'oneOf' condition= al failed, one must be fixed: > > ['osc', 'gmac1_rmii_refin', 'gmac1_rgmii_rxin', 'i2stx_bclk_ext', 'i2s= tx_lrck_ext', 'i2srx_bclk_ext', 'i2srx_lrck_ext', 'tdm_ext', 'mclk_ext'] is= too short > > 'i2stx_bclk_ext' was expected > > 'i2stx_lrck_ext' was expected > > 'i2srx_bclk_ext' was expected > > 'i2srx_lrck_ext' was expected > > 'tdm_ext' was expected > > 'mclk_ext' was expected > > 'pll0_out' was expected > > Documentation/devicetree/bindings/clock/starfive,jh7110-syscrg.yaml > >=20 > > This binding change is incompatible with the existing devicetrees for > > the visionfive 2. >=20 > This looks like less clocks about PLL in SYSCRG node. And I add this in p= atch 7. The existing devicetree is a valid, albeit limited, description of the hardware. After your changes to the clock driver in this series, but *without* the changes to the devicetrees, does the system still function? =46rom a quick check of 4/7, it looks like it will not? --QcQ3Y5HHQp1oxn9V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZF4ISwAKCRB4tDGHoIJi 0iZ9AP4u9KYEMY6ijX89u7Z+3hMOXU9bpxiDpvO0ou//U3u5/QEA/iV3wF+GGG2p Xe3b7nBI0NXFjIeBsr4Ow5b4xMFfZQc= =4554 -----END PGP SIGNATURE----- --QcQ3Y5HHQp1oxn9V--