Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp405127iog; Wed, 15 Jun 2022 04:53:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sLCOISGq3nAGYE2BQstAY8h0OhTAcMB9xwtrMJz+X+RyN4oe1qdGxy5fdqiYvqrs4BFdvv X-Received: by 2002:a17:903:44d:b0:167:6c02:3372 with SMTP id iw13-20020a170903044d00b001676c023372mr8707172plb.45.1655293979846; Wed, 15 Jun 2022 04:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655293979; cv=none; d=google.com; s=arc-20160816; b=WayoxkxRIisEetCnSknXuRYPJFnVx9thBcmJPXVjQ2i+qXH/Ec/9g59aKfCWP/2YnD Rq0MJ4OF0LcKuOiVxZeyQtWs3X/mCOlI40escFtoUEw40tqlldxQ2GZb6NbuN/55ysZ2 3VherQq7/2sG112CqVey87RALluuAthbvjSTaNjzyuqaABIFRGVyiw4Fs/JwFQMR4Frb U72CfL9qzbATHuuyINb4xcoqELweELP9P38K+YIZUY8K2bOL5oQiaYF/kSArWq4McYFX YBLjsSBwVAxBIq3toOs/gy4IRlPJtO/Calwrfpdbpbis3zf1G/dskmv2lj391LcIv3gv u1kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6suKy/7DRYloQtzVBGS1osgjJ67TW7jgZjipxxbY9yQ=; b=HjxqTlqwrDT0x0cP6tV0DW9b+MldJ4fsjJ27adCVFNMxfJ681zE+iP8z/+PiGOhJjz p6S1OazR4j5ozkmDTheCklJOloWpaeePkmIIzZQMac7D3Q/vXoNeWTlVRJkKMApzROIQ 5g8sThfB+IxDdnJklIqBSa414ICPP8GXe8A+ZvH36//vlceQ3nIZeUQbs534Ac2H1B2L uSdgj642QtywzntAH7bRjj8DbFMd8QK12DyTvcuEYNgSAtUGzpgSxnCxT1dd2qc0H6lL 9gqiPzo/esDuKp1kU4mkJWyfv/UlBeY9J6xS9Zz7hvnx1PqiJ3yYojE4b4nx/HHVteGy MKiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="gke4V+Z/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a170902dacb00b00153b2d16643si21905959plx.587.2022.06.15.04.52.46; Wed, 15 Jun 2022 04:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="gke4V+Z/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346744AbiFOLu7 (ORCPT + 99 others); Wed, 15 Jun 2022 07:50:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345234AbiFOLut (ORCPT ); Wed, 15 Jun 2022 07:50:49 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07D704B87F; Wed, 15 Jun 2022 04:50:49 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id v19so15755427edd.4; Wed, 15 Jun 2022 04:50:48 -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=6suKy/7DRYloQtzVBGS1osgjJ67TW7jgZjipxxbY9yQ=; b=gke4V+Z/RKABnEbZgf/+QUsdUxDyB1a+O2y3AAyzhwRpc3IwxvK/LqOFuaTXfbuhLk I93XSx4kMV3F2d4GwupCUgbs9E2TYwdfIjwJUTCJkmA5idIaNomntclg+Q7AZyZ9K+Tk wtC7+kZRWkx2LeJ2lVoWjy4dEQ1ujlu/IPZYgdjf9H1IlwvCCboioTwOf2a1fiorEiNq QytHSMWCn4H87N213GbGchUfGYbKrFucjgLg3zLY9IZXIV11pHIOWMjugYPDW9xsbkKL xaRk1eNC64yU+SHmbcsoxM4Gza2P3BOWFGzfilXhXZ3Mcq/rSNycBrzzHzVDlvPY/2hL VcIw== 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=6suKy/7DRYloQtzVBGS1osgjJ67TW7jgZjipxxbY9yQ=; b=e6OC9lQ423pmv05bYYOKwaN7HnbEXYgbP12hy/aGknGfEA3+1dO++/g1BXiEaxxdIr 4zQ8QQM2SPwdzxYSc0YHcX4KbPHm3Q0OgAJyQNVnV/VllDkdWPOpPx90mfKwP83LM5+U ZxUkm/+8p37SJ4OpatIBm9pyQyp5mGSQYMStxD6u2s3YDZNldtvCRpth+sYBkN3wk38Y RtLDxmB5KsdYijJSIj00UVFcqLnXOUTZTAh0OUhqlIFfEdElaN2/47KBEFtjxxd9aMEn swyDT+lF0Ox03PcJ2TDq4ktGe3GztdsVoVOhnl1Kq19X9N1iJMtUrJz9jhNvQ6sYaik+ t1sQ== X-Gm-Message-State: AJIora9JpEboxaM5FmiKiPecAIrTgoiIAxOw+yOJ39KW3ICol2B9Qzur gnYmj6PWHE7S/yjHcyvrdVk= X-Received: by 2002:a05:6402:380a:b0:435:2019:52ab with SMTP id es10-20020a056402380a00b00435201952abmr3191545edb.44.1655293848675; Wed, 15 Jun 2022 04:50:48 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00715a02874acsm4561158ejd.35.2022.06.15.04.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 04:50:48 -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 04/18] ARM: dts: imx6q-apalis: Command pmic to standby for poweroff Date: Wed, 15 Jun 2022 13:49:52 +0200 Message-Id: <20220615115006.45672-5-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220615115006.45672-1-max.oss.09@gmail.com> References: <20220615115006.45672-1-max.oss.09@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Krummenacher The Apalis 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-apalis.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index e56451651a6d..668793356b46 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -125,6 +125,10 @@ status = "disabled"; }; +&clks { + fsl,pmic-stby-poweroff; +}; + /* Apalis SPI1 */ &ecspi1 { cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; @@ -387,6 +391,7 @@ pmic: pfuze100@8 { compatible = "fsl,pfuze100"; + fsl,pmic-stby-poweroff; reg = <0x08>; regulators { -- 2.20.1