From patchwork Tue Jun 6 15:32:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 103965 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3507007vqr; Tue, 6 Jun 2023 09:08:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rwfdLEGdzXqTNvxrE/PUHZuQC7R+gPRrnCe1a4iSS1iiskR5fiXKD/q/XLWTwYEA2CcbA X-Received: by 2002:a05:6a20:8414:b0:110:29dc:612e with SMTP id c20-20020a056a20841400b0011029dc612emr135231pzd.33.1686067709202; Tue, 06 Jun 2023 09:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686067709; cv=none; d=google.com; s=arc-20160816; b=q0Pg5Tt18adQXEG/CU9tD1XCpv5fUTynqZ0lUd/l0K8r279DBJ8sSB4/ckIXCmO5Lv 3p1p6EpsCi6X5ldLOzxrwHf0kO1XXvmUA7hw+pAg2i7bYnYoVWTDDiNm12AP9k/aCy9o lLKtn2AR8CuHtJzKP5OHISKXuQ5Ljg2aw+zwWwqHwXQDCkbC+LPmo/8OkaUcengr4yKM BVgEp7EokublIRIMBOYAkQOyLRhXXgmKko3rUDigpAryM1sRM+YVUb1K60pn8lJq0oKl yxC1x6lIsR6NOIARDACOAx9FEqAygz0r5aN9AAhbT5AQVAaVIPCPvs23o6mcCicmd8CP P7jw== 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 :message-id:date:subject:cc:to:from; bh=uMJIABKGpgc/pFoKlOifScSk8iEeDp8Y+WPYtl7eBbU=; b=ROi1/tn4Z1GbS0D963Ami71LT7lU5Dg/EDK20K3UXXx9Ocr1dPaAIoJmaQSiv3x3ln QAd2mpiQRNtc8oCy9gH7vGe8wuAPNVP2W9m3PSTb7o1XHucVmY7rmRebLKAaYnxw7/MM idQ6dphBAEopByZJ5XBFk6FA2Y4SSmEauYRxIXgrul9IqKhbn2u2VngOuJ0JkrTvjhqG 49Z56nXMlX8wPLjpary+Zjq3Ml0LuUkhfgHpeJPNKst9pg+ZwUsJn15EaxKvl96WW9uK uZkFznn7UmT2PECb7aPzfZOCrvAkDhQGCrmPkP6GDrH8oL9hxVnDfZadeJQdZ9/8nPfr VxcQ== 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 20-20020a631854000000b0053f0cdab81esi7206947pgy.357.2023.06.06.09.08.16; Tue, 06 Jun 2023 09:08:29 -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 S238319AbjFFPc4 (ORCPT + 99 others); Tue, 6 Jun 2023 11:32:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238196AbjFFPcy (ORCPT ); Tue, 6 Jun 2023 11:32:54 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDC4810D1; Tue, 6 Jun 2023 08:32:49 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1q6Yfn-0067nH-SD; Tue, 06 Jun 2023 15:32:40 +0000 From: Tim Harvey To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Harvey Subject: [PATCH] arm64: dts: imx8mm-venice-gw7901: add cpu-supply node for cpufreq Date: Tue, 6 Jun 2023 08:32:38 -0700 Message-Id: <20230606153238.1448463-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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?1767970133993952528?= X-GMAIL-MSGID: =?utf-8?q?1767970133993952528?= Add regulator config for cpu-supply in order to support cpufreq. Signed-off-by: Tim Harvey Reviewed-by: Peng Fan --- .../dts/freescale/imx8mm-venice-gw7901.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts index df3b2c93d2d5..d022b5807a24 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts @@ -242,6 +242,22 @@ reg_wifi: regulator-wifi { }; }; +&A53_0 { + cpu-supply = <&buck2>; +}; + +&A53_1 { + cpu-supply = <&buck2>; +}; + +&A53_2 { + cpu-supply = <&buck2>; +}; + +&A53_3 { + cpu-supply = <&buck2>; +}; + &ddrc { operating-points-v2 = <&ddrc_opp_table>; @@ -511,7 +527,7 @@ BUCK1 { }; /* vdd_arm: 0.805-1.0V (typ=0.9V) */ - BUCK2 { + buck2: BUCK2 { regulator-name = "buck2"; regulator-min-microvolt = <700000>; regulator-max-microvolt = <1300000>;