From patchwork Thu Sep 30 15:56:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 12528833 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 860A6C433F5 for ; Thu, 30 Sep 2021 16:05:19 +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 4E7F761269 for ; Thu, 30 Sep 2021 16:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4E7F761269 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fris.de 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: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=2NsV8t0NX6oRWlJ78ZpqWMToaQvSrbQzQ7pc1++iobk=; b=P2/+s//ql/rVmZ wJJAxQIRz6ey6mQv3i2cccSB7GIy2YnlRX7f5V/UvIXdrCLzsiSfOZIoqUz8OYCRxLTD+WvTlKlro TOKzWBGx5/f7h37r2tJEnR44/UuL73njg8O4dZoSbCVUPsZQVR06uz4h21c7fK21/z5ITRIYYc4x8 M9NTo+d2rrIsJLGtEgfeCqmQ824ESHERQWdjIp/gByjpw+IdgG4jwUOs5iGLVEIg3KISSqekTlc4U YEXtr5ST8ZN1RGShHVQjle7lKLez/NPOzmSo7YWkhTe0r6xcPGIO+IcSxt0wrpN4A8EowIanC8dIF 5cP5mziRaCSe/9h7q/kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyWI-00F6R4-JN; Thu, 30 Sep 2021 16:02:51 +0000 Received: from mail.fris.de ([116.203.77.234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyR1-00F4Ci-Ut for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 15:57:25 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7B0DABFBF7; Thu, 30 Sep 2021 17:57:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1633017442; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=vmXGHfv62cic9GjQFFUjFhCG+ijbcaRskAQhxjIcXoE=; b=FZMI34FBsad6MwaZOnpht2abn/MRxRhLG8/VLYj4PqLhqLs/neL/4NhFlQK9BtHnMnvPAf QZTlGyWPQTWEZzOt2pSQELwMdqiuznO8qEKOSGWd1RlcZ1kxlz2Wdq0Lq8873P1GAR2JsI Np8wzJYBmaSCGOa1s/mvtzavGbfeyCd2qSXMzSFcTZEeNnzrD2QGwxu1hl4nws+sSuckJ0 VVyAGWGcK88/H0ZQ7dIKr7HJy5qgHrjtjM8Xut741fgemnIrsiD1U90+PV4glybS4oqPL4 0y4YGsoVNa12ObvEgVlk3zwWMN9c69B6mRkeuoLVhTQM34AFGVE3ypCvXFGvLw== From: Frieder Schrempf To: devicetree@vger.kernel.org, Frieder Schrempf , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Heiko Thiery , stable@vger.kernel.org, Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 8/8] arm64: dts: imx8mm-kontron: Leave reg_vdd_arm always powered on Date: Thu, 30 Sep 2021 17:56:31 +0200 Message-Id: <20210930155633.2745201-9-frieder@fris.de> In-Reply-To: <20210930155633.2745201-1-frieder@fris.de> References: <20210930155633.2745201-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_085724_198600_76A5602E X-CRM114-Status: GOOD ( 10.01 ) 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 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 Tested-by: Heiko Thiery --- 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>;