From patchwork Mon Apr 11 15:22:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12809325 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 BE018C433F5 for ; Mon, 11 Apr 2022 15:25:06 +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=1w2vDW1yo7KtUihiIZaui1d28yR6imGd6NHsC1SEvvo=; b=lUHZxZN/lkqQ3M aI1rffQgDQhiC5Qb5dNPzWFla5erJn7+5CqLbyKFGjITx53jnilMP6QL+JuaesfwRZh+gRy/RTXPu vCysg8Jgubx4Ig3aRfeoorU97oMXDFLn3WZGSI20OxmxA2mi/WEpgw0gVA0bHdjpCpafyL4maCyZH CTo4Td0QkHwMlDg9gewuCj2QxphYq3H5AcT7hclpGE5sOuqwXlUpyjpQManoua98BzllDcZqjiQky 2xyWpPeudavczO+vftpGqZUXdpBj+WiDRv73a21TdOlpMuQh+VpbLPQJIhTJUbrDAL+L5bdWd6d++ zRl4/GoU3y5zoOErAOGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndvtb-009Wf3-Rd; Mon, 11 Apr 2022 15:24:04 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndvsW-009W5o-N5 for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 15:22:58 +0000 Received: by mail-wm1-x32a.google.com with SMTP id q20so10153112wmq.1 for ; Mon, 11 Apr 2022 08:22:55 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=re3M277LHRm1Y3K/5eu8KfJzK0wKPVbeD/Pm6iYG9cI=; b=f0Z1mGbKgalb/bPn7kXOqzP57T9dWmWOCTw5Mw1gMjvDwH+f+CPRPZrmrZlakKfwqx Fr20tdO3EgeKYV7pep2fHisVO2iPxxYvXQ+WhkHNw/VthGxfcyeVRF7BGDbCFxfIzmrk z0K+39+DnRJJEtIUxHT2Kbgqw1ebfJOyl+AcOgMDlgmpaa1bUCAG7CM9ks21AoCXJl6q KK7OPoLlq99GT50BuySsDyw1ok5LvhNUB4fC9hd9biol1Xmc8Jw761WrySFdcBruqLbX PbrLZFI/WI5Nvr03SOwIEmXjO9YgiRhli/iV/ONz+MU2K2DdKsBqR5Phui6GfWnsjCQq dM4g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=re3M277LHRm1Y3K/5eu8KfJzK0wKPVbeD/Pm6iYG9cI=; b=JtiDXL1TdX7firjA8PVxiFnFwogKwKlE7gCkSSzUS2AV3VeGNwOT3juk6IxbVY+AtG kuTkLUV75jx45kn+X9qAr4qzwiqM/j2l65YQKQSoa2hoagYvMotgBsdh4V6myvhFmCQo DoABx80AqgoP2dmfnYW354FuNdkE05K0SIfs2QPmy8ns5V2hpq4EwTEUJc/3c3uAeHCu 8FCoIbWUO5paAB/s/ct162Ag3AHPr89/cdF3M4AfPzcUCaxfW3Rnqy66Ag1wf7wQeoOL jUgA9dqd5KNO8UknzGzZj/BLJ2H7iVfPZmSJ5lwgJ7iYOFbj5Hkn/3ifpGJYPtxB1NMm ZCSg== X-Gm-Message-State: AOAM532CdtJ5youh01PJP2wFETdRgDOTOBcUQSs+EhrkapYweN3uQz0W 8x5O+ylf1hxu5j35mD83SSI= X-Google-Smtp-Source: ABdhPJzxf6vpHzOLfqn5HiZBq1u3+YXnX9XrTjGUSD3udbnOGF9qTiA3fF/PCWwG7uzQXVg/72/pZA== X-Received: by 2002:a05:600c:3847:b0:38e:8c66:fef with SMTP id s7-20020a05600c384700b0038e8c660fefmr21037202wmr.179.1649690574330; Mon, 11 Apr 2022 08:22:54 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-124.static.upc.ch. [31.10.206.124]) by smtp.gmail.com with ESMTPSA id a9-20020a7bc1c9000000b0038eb67e966esm5209374wmj.29.2022.04.11.08.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 08:22:53 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/14] ARM: dts: imx6dl-colibri: Command pmic to standby for poweroff Date: Mon, 11 Apr 2022 17:22:27 +0200 Message-Id: <20220411152234.12678-8-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220411152234.12678-1-max.oss.09@gmail.com> References: <20220411152234.12678-1-max.oss.09@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_082256_796937_BE26C011 X-CRM114-Status: GOOD ( 11.95 ) 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: Max Krummenacher The Colibri iMX6 HW doesn't allow to use the PWR_ON_REQ signal for poweroff. Use the fsl,pmic-stby-poweroff property to command the PMIC into a low power mode in poweroff. Signed-off-by: Max Krummenacher --- (no changes since v1) arch/arm/boot/dts/imx6qdl-colibri.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index f6243762e918..da52a71bb6e7 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -138,6 +138,10 @@ status = "disabled"; }; +&clks { + fsl,pmic-stby-poweroff; +}; + /* Colibri SSP */ &ecspi4 { cs-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; @@ -403,6 +407,7 @@ pmic: pfuze100@8 { compatible = "fsl,pfuze100"; + fsl,pmic-stby-poweroff; reg = <0x08>; regulators {