Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp820285rdg; Fri, 11 Aug 2023 00:07:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERJEMtiBOXd9URTz6vUyjKe8TZFtnR3VyVO3AQbd1l4PvckJXGyfvXXpumHSmaToDSgiPC X-Received: by 2002:a05:6a20:7286:b0:133:38cb:2b93 with SMTP id o6-20020a056a20728600b0013338cb2b93mr1434801pzk.9.1691737630521; Fri, 11 Aug 2023 00:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691737630; cv=none; d=google.com; s=arc-20160816; b=A1e0I+O1oKM0DpC30eOaSMDOc1NxzfpzTIWovX0l8U4F0vViqgXl286U8lV8IV2IMg OvZzZyr4HAsxBXwPOSHAHFqjlnU95zuwPOPXFg9vohi4WUEBKjPJ33ydgs8UrfUYYpzq I00ShxMVRAhjKZDFXiK5TIVzlynONOssiByACgoWBGaOSFC8BTGA9DB3NVgx9MaXQR5e qXQvrk0FKKg/9Y7KnFfgvJ2kDlc/2zlHfAr6ASf+rNHfi+5GnfG907vufMVhaet4DgHq /4EmXbBFnKAUQZksknM1tIYMV8Tou1WE9C1N+1/ZDAHuVoG9g43LzzqNjLttFNSRAQL7 NkNw== 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=62aZCWkl304Ybn00jUKrwjIQ+57E/+NemMNU6pZ9RYQ=; fh=eSIspBAozIlr0QSFa7bBh4+ycPs3m2zFyi4RzPgx930=; b=Kpz0i0BiaoUDKv5A3JvsEtMMgzb2kaAoqDROwRnwlwWHRv9X5eHUvBfRJnz+F8q5Z9 0NxLBliSTQj9tCLpAwIrenabVqCrVWrrJQvALP/OlHD16Y2k+VsCnYpspamIhBp0CjsM Dg0aY8EdkihQY8uSJS/rNSfy1tHTHWNwzN4/AWoe7j2EFj3SB5sx5dChsLj+9+IFvF7a HssXqnhY6qtksnCqBF5heTOCf56E0Z6qMFCXq/7neBaAE/7SrxoAoYYmVq8z/ffwazzD 0zALY+6hvthr6Qi6QZ0mClW/OQr2ZNEloZJKQNH0RRjQKy2s0PFIcv4xBzGeluZscvfh ppuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=qZTvf0M4; 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 cr8-20020a056a000f0800b0067af445c0dfsi2944965pfb.290.2023.08.11.00.06.57; Fri, 11 Aug 2023 00:07:10 -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=qZTvf0M4; 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 S232435AbjHKGoZ (ORCPT + 99 others); Fri, 11 Aug 2023 02:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232351AbjHKGoY (ORCPT ); Fri, 11 Aug 2023 02:44:24 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D95722D44; Thu, 10 Aug 2023 23:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1691736265; x=1723272265; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=62aZCWkl304Ybn00jUKrwjIQ+57E/+NemMNU6pZ9RYQ=; b=qZTvf0M4nvTaGF01EK3cu3sa0ytndsPE8Bz9NJa0Ar56h3qPgDSws8qC FDcbbQKh7hjeH+4RhG0DJ5Zyv/Eb57QCYYBvY6tN/Eukv5JJUwyIq/zXF JWFl6cuipwnNxIwgyyyyroov3Pn8UvLfnYoPGjwiwzsk4LOgoyCLn0Y1F X4yh4EVaHwgRS4+cQU0m9bUgheQK2/mlljAjMkU65yVsaXEdwbk94t4q/ T/97Ow5sKJ2zLG0H4JCirfewMjJhXQS8jyA02P5K9lxdCWXQMHDdOQjVT ooBZ/ojDv/SZGF7m1M/5Idtqloj5ufwGIVOySmzMi5lZBzDoquVYzHE8s Q==; X-IronPort-AV: E=Sophos;i="6.01,164,1684825200"; d="asc'?scan'208";a="229269131" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 10 Aug 2023 23:44:24 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 10 Aug 2023 23:44:22 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 10 Aug 2023 23:44:21 -0700 Date: Fri, 11 Aug 2023 07:43:43 +0100 From: Conor Dooley To: Xingyu Wu CC: Michael Turquette , Stephen Boyd , Emil Renner Berthing , Conor Dooley , Hal Feng , , Subject: Re: [PATCH v1] clk: starfive: jh7110-sys: Set PLL0 rate to 1.5GHz Message-ID: <20230811-jiffy-nebula-a8ea5ef15eee@wendy> References: <20230811033631.160912-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hZwpuXrQpI5n8goB" Content-Disposition: inline In-Reply-To: <20230811033631.160912-1-xingyu.wu@starfivetech.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,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 --hZwpuXrQpI5n8goB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 11, 2023 at 11:36:31AM +0800, Xingyu Wu wrote: > Set PLL0 rate to 1.5GHz. Why are you doing that though? > Change the parent of cpu_root clock > and the divider of cpu_core before setting. >=20 > Signed-off-by: Xingyu Wu > --- >=20 > Hi Stephen and Emil, >=20 > This patch sets PLL0 rate to 1.5GHz. In order not to affect the cpu=20 > operation, the cpu_root's parent clock should be changed first. > And the divider of the cpu_core clock should be set to 2 so they > won't crash when setting 1.5GHz without voltage regulation. >=20 > This patch is based on linux-next which has merge PLL driver on > StarFive JH7110 SoC. >=20 > Thanks, > Xingyu Wu --hZwpuXrQpI5n8goB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNXYnwAKCRB4tDGHoIJi 0uWJAP9mVNiZnBYeDdnT4omRhp6951eRqXNkvFzp2LLd6LmcSQEAxpUscGjdQm5E 5D/O5d3cn4SpHxtz/HRSOeD/OopQFwo= =t6g3 -----END PGP SIGNATURE----- --hZwpuXrQpI5n8goB--