Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5223891rwl; Tue, 11 Apr 2023 02:11:37 -0700 (PDT) X-Google-Smtp-Source: AKy350YAtTIk0wKnSxj2m9AYiDJMsaPoYW2VUYqhZz0PIsRKw/YnkCn6Z1J2/JkPxRqG6ptKXi1j X-Received: by 2002:a17:90b:1c0e:b0:23f:680e:78bf with SMTP id oc14-20020a17090b1c0e00b0023f680e78bfmr17651628pjb.29.1681204296786; Tue, 11 Apr 2023 02:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681204296; cv=none; d=google.com; s=arc-20160816; b=TUPnDKb5ga3tBsqvgvXJhCoplfs0H0CuWi0BI1ejYI2G7xEfktYuN4JS6f0PKq05Fk 1PeT/rqk7Hr6/lxyhHHNyHOh8ayfDk+fA+yv7wkG9fjXOHPtPrcu9kmgmccuyy358tv7 /6IfdnJaGwkvvCWP2J/eUFDZJ0iY+7Uqozej/4OLs6xVXV6i+dICmKkSNa0xTLg0irBt K0JgEe/26kGb/BlpjU9Eh1gQrrQP4k8yk2PybI9GoyguqgquBaFZ1pFSiVr2PpnYcA1D iVkeKJyhjqRUldeCwTJc18s3257i04aQSILj1Fkj2M7bgL0m98mJ+yoCSe1QtCDrOG7H 9Amw== 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=EQ0lblWoifktq5FVR9z3NPm/FBq0LQwtU2bj8GcWTaI=; b=y7J03eaDc5v9VYik9FV2EXHmW5sH6zzZsccDsnXz8FPOXTpsASxTaG2dZgz6SNOJyV kRIVc7dfD3qvua5xFSnyKIkwzTwJ3CaWfq3OQCu1NwJcg+zhBo5Fu1mBGMolKZZU2TAs TqbjKmam7xRwyqhmit5Gp03inU6b7eLbFxYchmHwLELGH+ZyHnQ3gxk8koOhNIt3DvS3 7/gfARo0XSQvQpCg155e32/N1sRVS4rD+oAS7/WfAykoSyLSsmO0JNPZoYtO9TmxvwWh 002idcst4c6UDjKCXjx4R/Wssg/ZIkbuW9sI/X7lly3yv8ZYQ7gHp8Vlqr70gm/4msfl 1v4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=P9ktXEDz; 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 jp14-20020a17090ae44e00b0023fc0a96e42si10672819pjb.181.2023.04.11.02.11.24; Tue, 11 Apr 2023 02:11:36 -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=P9ktXEDz; 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 S230392AbjDKJIa (ORCPT + 99 others); Tue, 11 Apr 2023 05:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjDKJID (ORCPT ); Tue, 11 Apr 2023 05:08:03 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C83448B; Tue, 11 Apr 2023 02:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1681204022; x=1712740022; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vEZy6BehLxjne3ptGrDQ5tuFpZWO8/3pHXdX7Cm/X0w=; b=P9ktXEDzgCNa6OzamQ3C7TpP2wmTaCuL8tjqG3MnpW3xsJbqPD/87wYz O1EC/D0+GzCIcKLwphnEZ9zI+eObF+7oKzBDgj3f8g7xjPv7F6QbKAsnS mSsXbOin4aNYaWpm1nTVnz+J53dac6mNX3xWvFpezFCzk/xjhwYypHuyl vAYTuiI4YTItJqPgqv4nTU7YgF4YIpJ9HeWZlczJbp0WAsnT5haX4Scws 3eOOHGlnEBX1E8VUAkyztOJwm3ucIOpoYjwRqruTZwg2mQ/6Sfyi7VmIC QOhCcA4hEvOiaQd7mwfQNIzCwm+Q6TruPtKeMGT/5gsLUv1erDDcuiMAS w==; X-IronPort-AV: E=Sophos;i="5.98,336,1673938800"; d="asc'?scan'208";a="146439286" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Apr 2023 02:06:31 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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; Tue, 11 Apr 2023 02:06:24 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 11 Apr 2023 02:06:22 -0700 Date: Tue, 11 Apr 2023 10:06:06 +0100 From: Conor Dooley To: Mason Huo CC: "Rafael J. Wysocki" , Viresh Kumar , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Shengyu Qu , , , , Subject: Re: [PATCH v1 3/3] riscv: dts: starfive: Add cpu scaling for JH7110 SoC Message-ID: <20230411-darling-chump-faaf8dec29ef@wendy> References: <20230411083257.16155-1-mason.huo@starfivetech.com> <20230411083257.16155-4-mason.huo@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9RmMYoUwAG4qQ11d" Content-Disposition: inline In-Reply-To: <20230411083257.16155-4-mason.huo@starfivetech.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=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_PASS autolearn=unavailable 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 --9RmMYoUwAG4qQ11d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Mason, On Tue, Apr 11, 2023 at 04:32:57PM +0800, Mason Huo wrote: > Add the operating-points-v2 to support cpu scaling > on StarFive JH7110 SoC. (btw, there's no need to wrap commit messages at 52 columns, you have 72 to work with) > It supports up to 4 cpu frequency loads. >=20 > Signed-off-by: Mason Huo > --- > .../jh7110-starfive-visionfive-2.dtsi | 25 +++++++++++++++++++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 25 +++++++++++++++++++ > 2 files changed, 50 insertions(+) >=20 > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dt= si b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > index df582bddae4b..ae446b268e78 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -228,3 +228,28 @@ &uart0 { > pinctrl-0 =3D <&uart0_pins>; > status =3D "okay"; > }; > + > +&U74_1 { > + clocks =3D <&syscrg JH7110_SYSCLK_CPU_CORE>; > + clock-names =3D "cpu"; > + cpu-supply =3D <®_dcdc2>; > +}; > + > +&U74_2 { > + clocks =3D <&syscrg JH7110_SYSCLK_CPU_CORE>; > + clock-names =3D "cpu"; > + cpu-supply =3D <®_dcdc2>; > +}; > + > +&U74_3 { > + clocks =3D <&syscrg JH7110_SYSCLK_CPU_CORE>; > + clock-names =3D "cpu"; > + cpu-supply =3D <®_dcdc2>; > +}; > + > +&U74_4 { > + clocks =3D <&syscrg JH7110_SYSCLK_CPU_CORE>; ^^ There's a double space in each of these. > + clock-names =3D "cpu"; > + cpu-supply =3D <®_dcdc2>; > +}; How come these two clock properties are being added in .dtsi? Should they not be in .dtsi? Thanks, Conor. --9RmMYoUwAG4qQ11d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZDUi/gAKCRB4tDGHoIJi 0nEZAP9rj/CuBXvNfE91n2hagQY3313ZTlg0J0xHWjSonAhoBwD/cwrCXvzzmaqL aVdM9JA8ul3lc3HBxlANw2iL7G3eWAI= =Ix5Y -----END PGP SIGNATURE----- --9RmMYoUwAG4qQ11d--