Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1932843imm; Thu, 2 Aug 2018 03:36:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdqfm5lrBhDbx6B6e4pjakmaDS9XToD1kh9hKExdAK7gtICB/lmQTdhJaWcQMYnm/3UQMzQ X-Received: by 2002:aa7:8307:: with SMTP id t7-v6mr2334974pfm.81.1533206193779; Thu, 02 Aug 2018 03:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533206193; cv=none; d=google.com; s=arc-20160816; b=GHDpyrVlDdKsnF4ESQBaBVdvZdkPW3JeN42QzodxGxsO32x1OniY9utcVkI2Is4F7h 21BcW8cjgg2QKpeD7MuIqVyW8SkK+cb5LXqjhkyGdWYkL0eLde1w2WykmxmqXmerjPc4 HZTtRdtWBijqg4QFdSQ3A3P8BbAftfQRTOEh+iBniTa1Wvctd1ERHDkHVx14ep76p8si wzyNin1F6T13u7brs85PAFSdj63HdwMwDdWjHSmvPCEaVPGL35ef5D7C74O9VK+YHIQv Iy1rDz5JOEXQ9urZQZqwfJDvcciecArlnQNg6ReuOIRdo3wXsebEkAWuLk0/2+5Jj6hW YfyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=1kbiIa14X2h2wfpoW6Y7K1MOBZOk8Kgu4oSHDBKFQFw=; b=gLC5XZMiywUClkKbcXsKdGy9+uzSd8AW8gyGhoLhYgUjyoAHpRUaDvyeFLbtsqlt+a UuoIuQ4O7vHPp7/kEZuEmL53KwwBOgU4u6ZBUqSg5617X61uG84n3eoWRbY0yJEji1rH kl8Rde9tN0WQpPMo7n5QKo95RlAmQaLhPe9KRd/HfDDlGJZenPkE9qtS+tYHJ7qtEmk8 9mg/J0n7YvvqgcUIUJi6u+N3sphQMGrwji5eMd7+Dz4+YX9LbJVwn5CCvf4oJWWEAhm7 CpIuXYCi0UIkXWd1sREE/kE9DQq3360iXO0dyqhB3OfSO37f1Plq6kDyTVjL8tz6xmBX rJGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h71-v6si1649898pge.13.2018.08.02.03.36.19; Thu, 02 Aug 2018 03:36:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732255AbeHBMZW (ORCPT + 99 others); Thu, 2 Aug 2018 08:25:22 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:40135 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726739AbeHBMZK (ORCPT ); Thu, 2 Aug 2018 08:25:10 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1flAw9-0004Zz-Mq; Thu, 02 Aug 2018 12:34:29 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1flAw6-0000p9-WF; Thu, 02 Aug 2018 12:34:27 +0200 From: Oleksij Rempel To: Shawn Guo , Mark Brown , "Rafael J. Wysocki" Cc: Oleksij Rempel , kernel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Liam Girdwood , Leonard Crestez , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Fabio Estevam , Russell King , linux-imx@nxp.com, yibin.gong@nxp.com, "A.s. Dong" Subject: [PATCH v9 6/6] ARM: dts: imx6: RIoTboard provide standby on power off option Date: Thu, 2 Aug 2018 12:34:25 +0200 Message-Id: <20180802103425.3053-7-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180802103425.3053-1-o.rempel@pengutronix.de> References: <20180802103425.3053-1-o.rempel@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This board, as well as some other boards with i.MX6 and a PMIC, uses a "PMIC_STBY_REQ" line to notify the PMIC about a state change. The PMIC is programmed for a specific state change before triggering the line. In this case, PMIC_STBY_REQ can be used for stand by, sleep and power off modes. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-riotboard.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 2e98c92adff7..a0e9753ee767 100644 --- a/arch/arm/boot/dts/imx6dl-riotboard.dts +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts @@ -90,6 +90,10 @@ status = "okay"; }; +&clks { + fsl,pmic-stby-poweroff; +}; + &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; @@ -170,6 +174,7 @@ reg = <0x08>; interrupt-parent = <&gpio5>; interrupts = <16 8>; + fsl,pmic-stby-poweroff; regulators { reg_vddcore: sw1ab { /* VDDARM_IN */ -- 2.18.0