From patchwork Mon Mar 14 16:29:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12780380 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 E0CD8C433F5 for ; Mon, 14 Mar 2022 16:32:58 +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=B+D7BBRH59/i7teGAVDVqQyPVwzlVVHyZ4dvnUujAgk=; b=qKUcdXatIoahTD ufI7PEyLasbAAD42GkgVCK6mR31LgWQo7IvUERhO+SorpgAO1x9XN3Lw0kZbnghZy7oH/TWH0NFLN K6ro/pF+Mr0foooAOUot2PePSlcEebSx69cAFKYKp8Cm2r4M0m+fnZHyRJd5/0tKCDNRTPf5zeGms 74HNtEek0bvpCWGmUBMGW6Srb4KmRn3uS7tk+fyHc/PHMPMJT9LcRzqZEZbo3QwWcrUl7aLoNXk51 hxm3hGlXBZBC4zN3pMt1j5v/8jHZG4wpc6Qh6PKvjmvWUqD71Ms8Gl68xNSbac5njwkCXfxI6sJye 0lo8l7SzBuzO+EBRyC7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTnbc-0061at-Qo; Mon, 14 Mar 2022 16:31:36 +0000 Received: from mail-wr1-f43.google.com ([209.85.221.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTnaR-00611u-Qg for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 16:30:25 +0000 Received: by mail-wr1-f43.google.com with SMTP id e24so24844917wrc.10 for ; Mon, 14 Mar 2022 09:30:23 -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=Q6mwrSZ3sKKJkfTkUxwWv397hDHEAar1in3QIeHPxyE=; b=qkkXmTRgi7hsytH3PlMi1UnafR81qBMQQA+IGS+NFKOZV3lNrJ3G1XB+2nUbDCujQk Oy3jc3h6i9qud5dzPi3hCfqPkrITgND6+dN3WMevl4/apO1mYfyQC3nlfzfgzWIh2LSk uD0O7OeBZ2l4UZctH0xV3vSvq+btH4y+gXwBlYtwfNLNkPwy9fZEjJ2/95pNynKJLwcj UsDbX8mK9hXEVk2jNlbWnmld7JT2wBjpFxer0uFHRA6jj3M6tZhP23kX/kqthESk6Un8 jv1Z63rIL2W9tMHOy2GdtbCFKYat9MV/AisA27SbK1SwcDikNr2JXZ2MxXABYHqQz6HF UzkA== 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=Q6mwrSZ3sKKJkfTkUxwWv397hDHEAar1in3QIeHPxyE=; b=fL4CxwGZ0N5RzUxUK2HAu+cB7xTEUSiDExkxmOYqg8hvhb5jaa94ISi0v0n6+k7jOH rtA61SLLJbW+JfZ6C3lUiJ/rD/9oyJHEvelpGOf5uxkLypTskoPyOpF5NKE/3fbpQkpA hUQlzi3l89f9/6eD0p/JQ6Kr66RI2nG2Chljam5TUnTvmSIwykjlDqcT5+gXEX1sMIQp iDtD5iX/IY+5OzqPMHsmLkuNGl2lKFu0Ekza7yYNZhhP++bDc4CfMrnyNdMSRbsUwzHP RwrQiTcNKaHgWYECXflXLqgHK8oynO11ilxAk6ZeLfECUJu9qEsjutekjrjpto1dtY96 xchg== X-Gm-Message-State: AOAM532MfisJMkfEX1Ge+wBA1esDz0jkj/saGujH25b5Dojz5YlAaS4t rYUkY19rOXcLEgYnMN+vL0VPFh3sk3I7jw== X-Google-Smtp-Source: ABdhPJx3E3lbDaxL2T5+GPEswJGtMU7Vp9nlST6a84vlY158GegDVSFH/0lVvTpc7025Z24uTTSigA== X-Received: by 2002:a05:6000:2c6:b0:203:871d:aaa4 with SMTP id o6-20020a05600002c600b00203871daaa4mr16231458wry.47.1647275421636; Mon, 14 Mar 2022 09:30:21 -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 w10-20020a5d680a000000b001f1dabec837sm13476817wru.113.2022.03.14.09.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 09:30:21 -0700 (PDT) From: Max Krummenacher X-Google-Original-From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Fabio Estevam , 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 v1 07/14] ARM: dts: imx6dl-colibri: Command pmic to standby for poweroff Date: Mon, 14 Mar 2022 17:29:51 +0100 Message-Id: <20220314162958.40361-8-max.krummenacher@toradex.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220314162958.40361-1-max.krummenacher@toradex.com> References: <20220314162958.40361-1-max.krummenacher@toradex.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220314_093023_913665_7DDC0361 X-CRM114-Status: GOOD ( 11.54 ) 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 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 --- 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 {