* [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active state
@ 2014-01-20 11:42 Anson Huang
[not found] ` <1390218153-11034-1-git-send-email-b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Anson Huang @ 2014-01-20 11:42 UTC (permalink / raw)
To: shawn.guo-QSEj5FYQhm4dnm+yROfE0A; +Cc: devicetree-u79uwXL29TY76Z2rM5mHXA
>From schematic, the power, vol+/- key's active state is low,
so we need to set the gpio flag to active low.
Signed-off-by: Anson Huang <b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 91e5dd4..f7689b4 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -58,21 +58,21 @@
power {
label = "Power Button";
- gpios = <&gpio3 29 0>;
+ gpios = <&gpio3 29 1>;
gpio-key,wakeup;
linux,code = <KEY_POWER>;
};
volume-up {
label = "Volume Up";
- gpios = <&gpio1 4 0>;
+ gpios = <&gpio1 4 1>;
gpio-key,wakeup;
linux,code = <KEY_VOLUMEUP>;
};
volume-down {
label = "Volume Down";
- gpios = <&gpio1 5 0>;
+ gpios = <&gpio1 5 1>;
gpio-key,wakeup;
linux,code = <KEY_VOLUMEDOWN>;
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1390218153-11034-1-git-send-email-b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org>]
* Re: [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active state [not found] ` <1390218153-11034-1-git-send-email-b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org> @ 2014-01-20 11:54 ` Sascha Hauer [not found] ` <20140120115421.GO16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Sascha Hauer @ 2014-01-20 11:54 UTC (permalink / raw) To: Anson Huang Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA On Mon, Jan 20, 2014 at 07:42:33PM +0800, Anson Huang wrote: > From schematic, the power, vol+/- key's active state is low, > so we need to set the gpio flag to active low. > > Signed-off-by: Anson Huang <b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org> > --- > arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > index 91e5dd4..f7689b4 100644 > --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > @@ -58,21 +58,21 @@ > > power { > label = "Power Button"; > - gpios = <&gpio3 29 0>; > + gpios = <&gpio3 29 1>; When touching this you could take the opportunity and use GPIO_ACTIVE_LOW. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20140120115421.GO16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>]
* RE: [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active state [not found] ` <20140120115421.GO16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> @ 2014-01-20 12:00 ` Anson.Huang-KZfg59tc24xl57MIdRCFDg 0 siblings, 0 replies; 3+ messages in thread From: Anson.Huang-KZfg59tc24xl57MIdRCFDg @ 2014-01-20 12:00 UTC (permalink / raw) To: Sascha Hauer Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Hi, Sascha Thanks for the reminder, will improve it in V2. Best Regards. Anson huang 黄勇才 Freescale Semiconductor Shanghai 上海浦东新区亮景路192号A座2楼 201203 Tel:021-28937058 >-----Original Message----- >From: Sascha Hauer [mailto:s.hauer@pengutronix.de] >Sent: Monday, January 20, 2014 7:54 PM >To: Huang Yongcai-B20788 >Cc: shawn.guo@linaro.org; devicetree@vger.kernel.org >Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active >state > >On Mon, Jan 20, 2014 at 07:42:33PM +0800, Anson Huang wrote: >> From schematic, the power, vol+/- key's active state is low, so we >> need to set the gpio flag to active low. >> >> Signed-off-by: Anson Huang <b20788@freescale.com> >> --- >> arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi >> b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi >> index 91e5dd4..f7689b4 100644 >> --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi >> +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi >> @@ -58,21 +58,21 @@ >> >> power { >> label = "Power Button"; >> - gpios = <&gpio3 29 0>; >> + gpios = <&gpio3 29 1>; > >When touching this you could take the opportunity and use GPIO_ACTIVE_LOW. > >Sascha > >-- >Pengutronix e.K. | | >Industrial Linux Solutions | http://www.pengutronix.de/ | >Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | >Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-20 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 11:42 [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active state Anson Huang
[not found] ` <1390218153-11034-1-git-send-email-b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-01-20 11:54 ` Sascha Hauer
[not found] ` <20140120115421.GO16215-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-01-20 12:00 ` Anson.Huang-KZfg59tc24xl57MIdRCFDg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox