All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6q-bx50v3: Add gpio power off support
@ 2016-06-22 14:25 Akshay Bhat
  2016-06-28  1:55 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Akshay Bhat @ 2016-06-22 14:25 UTC (permalink / raw)
  To: linux-arm-kernel

From: Ken Lin <ken.lin@advantech.com.tw>

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 <ken.lin@advantech.com.tw>
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
---
 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";
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: imx6q-bx50v3: Add gpio power off support
  2016-06-22 14:25 [PATCH] ARM: dts: imx6q-bx50v3: Add gpio power off support Akshay Bhat
@ 2016-06-28  1:55 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2016-06-28  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jun 22, 2016 at 10:25:56AM -0400, Akshay Bhat wrote:
> From: Ken Lin <ken.lin@advantech.com.tw>
> 
> 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 <ken.lin@advantech.com.tw>
> Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-28  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 14:25 [PATCH] ARM: dts: imx6q-bx50v3: Add gpio power off support Akshay Bhat
2016-06-28  1:55 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.