From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF69FC433FE for ; Tue, 5 Oct 2021 07:27:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D89F2611CA for ; Tue, 5 Oct 2021 07:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232740AbhJEH3W (ORCPT ); Tue, 5 Oct 2021 03:29:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:59266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbhJEH3U (ORCPT ); Tue, 5 Oct 2021 03:29:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 75C40610E6; Tue, 5 Oct 2021 07:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633418850; bh=Dtz3i1SFKI5GY8VCxINDdZpDjS8RSAbKBaCuSTV/w+s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Dz9QQX6lZm+Mhi3j3D0tA42c7f6CEg9u71g1TixOT+kjVhBq/HTMKZfcpkd6pPH91 EbaB8fNhSuqR7U78T39bAcieHTwB4iRwHyzT7vkbTZiP8tB/okhQXwwLeVbV+cJ68F 1xNXrYH83x/WoYSihwW0/VsTqKpbtoeVfwUjlqtpjBeBSrJ9PHpyipH4cJ7KxQtCbk ZlCdZ4Dv+uNKXjNvD5ldjqfe1OY0rRcRpFC6zESdklh2T2AyHtRF6VrvGmHXitI9Y3 lyjUeyzKFrynfIq+1hMV69qVaYdgS8ll32BGFK+3SdI0J5EuZJRnJqZEc3jX58g/Mi 5r8o/uG3ALXpg== Date: Tue, 5 Oct 2021 15:27:24 +0800 From: Shawn Guo To: Frieder Schrempf Cc: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Heiko Thiery , stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: Re: [PATCH 8/8] arm64: dts: imx8mm-kontron: Leave reg_vdd_arm always powered on Message-ID: <20211005072723.GE20743@dragon> References: <20210930155633.2745201-1-frieder@fris.de> <20210930155633.2745201-9-frieder@fris.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210930155633.2745201-9-frieder@fris.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 05:56:31PM +0200, Frieder Schrempf wrote: > From: Frieder Schrempf > > When the cpufreq driver is enabled, the buck2 regulator is kept powered on > by the dependency between the CPU nodes with 'cpu-supply' set. Without the > cpufreq driver the kernel will power off the regulator as it doesn't see > any users. This is obviously not what we want, therefore keep the regulator > powered on in any case. > > Reported-by: Heiko Thiery > Fixes: 21c4f45b335f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") > Cc: stable@vger.kernel.org > Signed-off-by: Frieder Schrempf Already picked up the one from Heiko. https://lore.kernel.org/all/20210915120325.20248-1-heiko.thiery@gmail.com/ Shawn > --- > arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > index 213014f59b46..c3418d263eb4 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > @@ -105,6 +105,7 @@ reg_vdd_arm: BUCK2 { > regulator-min-microvolt = <850000>; > regulator-max-microvolt = <950000>; > regulator-boot-on; > + regulator-always-on; > regulator-ramp-delay = <3125>; > nxp,dvs-run-voltage = <950000>; > nxp,dvs-standby-voltage = <850000>; > -- > 2.33.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 697CBC433EF for ; Tue, 5 Oct 2021 07:29:14 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 27570613B5 for ; Tue, 5 Oct 2021 07:29:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 27570613B5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eW0i6V+lmm8ozJ00JBBT9vklslrjm0GoGzPVtCvFE0U=; b=pv7rpsoc2W9k/5 /MnUaLZXW/DBJeqNR8SVFe6R2/kUio9gjzz5dr6U4EYUSg/qw0k8/LM5vnL0scF6/G+CkSTiQqAVK pep0/vkt1ElDj6pzxUEQlQBil3wz5ne/QfgALK/WFAA0lR6Hgf5EPkbbyqh7iN3B+bqIisNq6A2O+ S6bCq7JTHnFGbL/mzpLb2rKf4aDXyZelW8ptVFGeo3c5SfPPLA4cKIqqY/yA6LZ1QCIfhkn5b/Rv3 hU15+NObxvmyBcT/FURJZqLD6gYCb1stsxKZGbottMMxL+K3zQHzQytAXKGygoayil0f3gi9jkExF cseH3TtFuTdU/GLOmkKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXerP-009NJp-RZ; Tue, 05 Oct 2021 07:27:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXerL-009NII-2P for linux-arm-kernel@lists.infradead.org; Tue, 05 Oct 2021 07:27:32 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 75C40610E6; Tue, 5 Oct 2021 07:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633418850; bh=Dtz3i1SFKI5GY8VCxINDdZpDjS8RSAbKBaCuSTV/w+s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Dz9QQX6lZm+Mhi3j3D0tA42c7f6CEg9u71g1TixOT+kjVhBq/HTMKZfcpkd6pPH91 EbaB8fNhSuqR7U78T39bAcieHTwB4iRwHyzT7vkbTZiP8tB/okhQXwwLeVbV+cJ68F 1xNXrYH83x/WoYSihwW0/VsTqKpbtoeVfwUjlqtpjBeBSrJ9PHpyipH4cJ7KxQtCbk ZlCdZ4Dv+uNKXjNvD5ldjqfe1OY0rRcRpFC6zESdklh2T2AyHtRF6VrvGmHXitI9Y3 lyjUeyzKFrynfIq+1hMV69qVaYdgS8ll32BGFK+3SdI0J5EuZJRnJqZEc3jX58g/Mi 5r8o/uG3ALXpg== Date: Tue, 5 Oct 2021 15:27:24 +0800 From: Shawn Guo To: Frieder Schrempf Cc: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Heiko Thiery , stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: Re: [PATCH 8/8] arm64: dts: imx8mm-kontron: Leave reg_vdd_arm always powered on Message-ID: <20211005072723.GE20743@dragon> References: <20210930155633.2745201-1-frieder@fris.de> <20210930155633.2745201-9-frieder@fris.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210930155633.2745201-9-frieder@fris.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211005_002731_161969_140212AC X-CRM114-Status: GOOD ( 17.89 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 30, 2021 at 05:56:31PM +0200, Frieder Schrempf wrote: > From: Frieder Schrempf > > When the cpufreq driver is enabled, the buck2 regulator is kept powered on > by the dependency between the CPU nodes with 'cpu-supply' set. Without the > cpufreq driver the kernel will power off the regulator as it doesn't see > any users. This is obviously not what we want, therefore keep the regulator > powered on in any case. > > Reported-by: Heiko Thiery > Fixes: 21c4f45b335f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") > Cc: stable@vger.kernel.org > Signed-off-by: Frieder Schrempf Already picked up the one from Heiko. https://lore.kernel.org/all/20210915120325.20248-1-heiko.thiery@gmail.com/ Shawn > --- > arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > index 213014f59b46..c3418d263eb4 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > @@ -105,6 +105,7 @@ reg_vdd_arm: BUCK2 { > regulator-min-microvolt = <850000>; > regulator-max-microvolt = <950000>; > regulator-boot-on; > + regulator-always-on; > regulator-ramp-delay = <3125>; > nxp,dvs-run-voltage = <950000>; > nxp,dvs-standby-voltage = <850000>; > -- > 2.33.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel