From patchwork Wed Sep 15 12:03:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 12496101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0C94C433EF for ; Wed, 15 Sep 2021 12:05:56 +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 ADED061247 for ; Wed, 15 Sep 2021 12:05:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ADED061247 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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: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:In-Reply-To:References: List-Owner; bh=ZFhPLav2hOd3TaowYeI7AMilUZKbd/xNk98YPSV3BXg=; b=VFBzO2Bbc1T/Br 8CK+LD2jvtAr2nPo0F0q9yLpWDXkZgtGeJZuWH1UeAVATp6jxABxih++9BGN78G/QUYRrr/fxgamz MMwZJcR9fDuNo5gfF1ITDGkc6aFsUdiEO+jXZp8QTdw5FP+hT8oXo25ng9i81XXTjJnUBhe8dNXYQ pOvUSvog/2xmlPkT6LGLIwXZPloUEA1uTU7uQCZxYLpRXPvPLacbd5o5Pe2KYudP4d42X2pjh9ii9 1AxiGAC0obNAMPBBVKsgRv8lTHGotRQSPpVm7vpFu6WMTGN8UC4A9VLCnzkIEnPe1eU6ds1GIWjQW 3PnC9N4a3FaYDBeaufZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQTdh-008wFk-78; Wed, 15 Sep 2021 12:03:45 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQTdd-008wEp-Iv for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 12:03:42 +0000 Received: by mail-wm1-x329.google.com with SMTP id g128so1930772wma.5 for ; Wed, 15 Sep 2021 05:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1v2Wz7r3SRYsAbKV8aTYHRg0UikNp3UThAxS/q0C7w0=; b=pJcFYnCZ8mO09t/6PwPkutiVf+XGgNkmftb1IuFOZXt0/x8j+s+H4eR/7UzdUyAM7C khmxYCeBsk4uAVQx1i5PBYDwZDOe1u4KMw7JhoEhPakkRCo07QdtkH78Av2fCGSCH23k 3tzcnXxsXbOmAA+3woN6NKipC2prvgM5pg2d5oNyapMVCSG76VHvDSlU3Ix092eObs/m tIvMspswgtt18S75p/g/AFfAvzdUNtgTU0b5waeZvuFG94lnkhM70LxRHlieept0Wtwv v3g441vIHUDTNNB7NdeljkjO2Hf05FLuZ2v7ZA9FeT3bISHeLqTis7rkzi3f6p+yHoUP g8RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1v2Wz7r3SRYsAbKV8aTYHRg0UikNp3UThAxS/q0C7w0=; b=LpYnM3hozwtWEO0yjX5MgVwYfRkXbdRCYyR3b2Nc/+mFqVYLP3ksImpdTQ/7T2rgkP denfP2mRrBrdzquGUcFOV+dVovKCqLIKj89V41160I69/VNqZZ0+teiTf3+R1fXgmgLn rxqUNX05XDOJ8pTjoYHArGq7yS0AIJJvo8YXANwdPvDwgorxcqxzUKPTCvmzFP4phoDs E4Gv5pWurqGO63WjFZoP2SjegxhiYojSd47XQrwfRj6A8GniUXgbZkUDA6zW6pVP5N9l I9pu8nRxOW+slpyZX0TeuTv1ZTLgaaRETZD1et4ZtQA90apkL3ycKvKqJ1uNSMaJ7kQI A/gg== X-Gm-Message-State: AOAM530rWW1aODZmztpoRrOuZBfdF/xEvVkMmnRfj1lkZwFKw2ZueDL/ hxJ6ZgODJwjfzvojCxJC/bY= X-Google-Smtp-Source: ABdhPJzj+iZK8kf6OaDYgEGXfwizWgHXHzrMImbX/tAurZLPWH3d0i0/2suPJkytb2HGqkkfixSqyw== X-Received: by 2002:a05:600c:35c4:: with SMTP id r4mr4201100wmq.194.1631707417203; Wed, 15 Sep 2021 05:03:37 -0700 (PDT) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id p21sm4255497wmi.30.2021.09.15.05.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 05:03:36 -0700 (PDT) From: Heiko Thiery To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Michael Walle , Joakim Zhang , Shengjiu Wang , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Heiko Thiery , Frieder Schrempf Subject: [PATCH] arm64: dts: imx8mm-kontron-n801x-som: do not allow to switch off buck2 Date: Wed, 15 Sep 2021 14:03:26 +0200 Message-Id: <20210915120325.20248-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210915_050341_667028_6C6861D5 X-CRM114-Status: GOOD ( 11.56 ) 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 The buck2 output of the PMIC is the VDD core voltage of the cpu. Switching off this will poweroff the CPU. Add the 'regulator-always-on' property to avoid this. Fixes: 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") Signed-off-by: Heiko Thiery Reviewed-by: Frieder Schrempf --- 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 d0456daefda8..9db9b90bf2bc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi @@ -102,6 +102,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>;