From patchwork Wed Jun 22 14:25:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 9193079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A7D5760756 for ; Wed, 22 Jun 2016 14:28:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99090283E6 for ; Wed, 22 Jun 2016 14:28:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DCE12840C; Wed, 22 Jun 2016 14:28:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 769CE283E6 for ; Wed, 22 Jun 2016 14:28:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFj7I-0006n1-3x; Wed, 22 Jun 2016 14:26:56 +0000 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFj7B-0006k0-S2 for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2016 14:26:51 +0000 Received: by mail-qk0-x232.google.com with SMTP id a186so66721577qkf.0 for ; Wed, 22 Jun 2016 07:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=2eHrMoU3eargyvIpIbcXr5KwEbXpEXzLjRhaVL9suAc=; b=Z/oFF6MU6FPNUFDqSp+AtJI9sl6HyeFrbA2tFQxY2/LXZCRzlD7l0JPqfgp/LBzjqQ /NcXEyY6yR3cImBNWBxG71jM/lLn2I0J7kDrbndKrX4jvXDPVjoKeESmsgSXVeEbivYU ibe1kOLZam2eXhhgHO+Grycgg/XPHKx9IG7AJgfImqcLTvBmKcVfgaStR2L9hxhfbCC3 Xo7G/M/GxTsvArBI7WJPjNVKFZftc+9N7D2tiOCmWc3UO775Nwx3vF+zoYlQhwX1bLe7 koFEa6H7/PNCSn+OUSgMBoGZkqHQtKmC40tAtQl8fdc5a77hxtpAngrbYrw2KsNBSX4D Y8BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2eHrMoU3eargyvIpIbcXr5KwEbXpEXzLjRhaVL9suAc=; b=SybzJUQbN8bY29BrBQ4zenZ4sscyAGOrJnAkKqACr6acRbrbLT+Scf4jrSXPVB0pdf kN4zTWsWpQidod1JoFYQ7H+bqDNjR6kU/glYHCTM9sxiagmTZsLKjpSyzPwwrM+QGTCw CFXB9u5GP4feLi9+IIZEj977Bacu7yKT1JmWKkFGvqpEa2JIrM2CBUAjAJw1bwRcrPAe 0U6cnvl2LozqxsPBVi+CK6UdP7cBE+zIidAMHkmHl6HEjpaTm7F+qDUNE9+P+fX8+ULk 7EULyDheLij2p4fclOQPn2LjCO1kgrd6eh+CWtNsnMebRWh2/L2ohokfQ4VEKmVghPBi yS0g== X-Gm-Message-State: ALyK8tKoLPXnrrTmMgiwMx2zMM3YooVSLzrOiZB831wazHler285bSds3wLv9U9cfZp+lhbb X-Received: by 10.200.56.13 with SMTP id q13mr35997502qtb.29.1466605585916; Wed, 22 Jun 2016 07:26:25 -0700 (PDT) Received: from timesysab.timesys.com ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id l27sm18898536qtc.34.2016.06.22.07.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jun 2016 07:26:16 -0700 (PDT) From: Akshay Bhat To: shawnguo@kernel.org Subject: [PATCH] ARM: dts: imx6q-bx50v3: Add gpio power off support Date: Wed, 22 Jun 2016 10:25:56 -0400 Message-Id: <1466605556-11009-1-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.8.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160622_072650_000363_C9C21C7F X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Akshay Bhat , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, Ken Lin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ken Lin bx50v3 boards can be powered off via GPIO, this patch specifies the GPIO to be used with the gpio-poweroff driver. Signed-off-by: Ken Lin Signed-off-by: Akshay Bhat --- arch/arm/boot/dts/imx6q-bx50v3.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi index bb66dfd..cf3fd31 100644 --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi @@ -52,6 +52,12 @@ }; }; + gpio-poweroff { + compatible = "gpio-poweroff"; + gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + status = "okay"; + }; + reg_wl18xx_vmmc: regulator-wl18xx { compatible = "regulator-fixed"; regulator-name = "vwl1807";