From patchwork Fri Aug 12 17:35:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 12942441 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59838C00140 for ; Fri, 12 Aug 2022 17:39:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xt2EtFnueYUYI+qV6JzjhYDyaBMP1bf4pIcOY6JF+f8=; b=YYxkQ4cDU4LWhK tAX5dzJNiPTaJ0KH5np++JlN5DpFsQg6yDrG6WxCeiCDTHJNnYYTG+kAsiUt28gJoMChgYxAGZnEh KPhlV5A35wupsUztKQsJUK3UOoRSPQjO4YWBjs6TxBWdngTK7WpFrtnHEGoHHPDToloipogZiw+U8 ZR5YsqfB3T9P8eYyl+5ki2ItQFhTsd1L4zQ0YQtA5PxCgGVS0FmMz+PjwkOXkmCo6quxMQSPEy+W7 VZ4PswtNQWt2kTST4a1pDGF8JaPEIQ3rlqlQ5gIp9W5rytO1DGHRKu2b2UOhkF2wC3X3pQ8mklaNb 0HOzTudcGc8BqgkPIdrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMYcS-00BbqI-Uz; Fri, 12 Aug 2022 17:38:49 +0000 Received: from finn.gateworks.com ([108.161.129.64] helo=finn.localdomain) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMYZP-00Ba4e-K4 for linux-arm-kernel@lists.infradead.org; Fri, 12 Aug 2022 17:35:40 +0000 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 1oMYZI-00FqKk-GZ; Fri, 12 Aug 2022 17:35:32 +0000 From: Tim Harvey To: Shawn Guo , Fabio Estevam , NXP Linux Team , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Pengutronix Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tim Harvey Subject: [PATCH 5/6] arm64: dts: imx8mp-venice-gw74xx: add cpu-supply node for cpufreq Date: Fri, 12 Aug 2022 10:35:25 -0700 Message-Id: <20220812173526.15537-5-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812173526.15537-1-tharvey@gateworks.com> References: <20220812173526.15537-1-tharvey@gateworks.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220812_103539_709445_59FCF1CE X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add regulator config for cpu-supply in order to support cpufreq. Signed-off-by: Tim Harvey --- .../dts/freescale/imx8mp-venice-gw74xx.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts index cb4cf293a7b7..bfc480aaf54d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts @@ -142,6 +142,22 @@ reg_wifi_en: regulator-wifi-en { }; }; +&A53_0 { + cpu-supply = <®_arm>; +}; + +&A53_1 { + cpu-supply = <®_arm>; +}; + +&A53_2 { + cpu-supply = <®_arm>; +}; + +&A53_3 { + cpu-supply = <®_arm>; +}; + /* off-board header */ &ecspi2 { pinctrl-names = "default"; @@ -362,7 +378,7 @@ BUCK1 { regulator-ramp-delay = <3125>; }; - BUCK2 { + reg_arm: BUCK2 { regulator-name = "BUCK2"; regulator-min-microvolt = <720000>; regulator-max-microvolt = <1025000>;