From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sascha Hauer Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: correct gpio key's active state Date: Mon, 20 Jan 2014 12:54:22 +0100 Message-ID: <20140120115421.GO16215@pengutronix.de> References: <1390218153-11034-1-git-send-email-b20788@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1390218153-11034-1-git-send-email-b20788-KZfg59tc24xl57MIdRCFDg@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Anson Huang Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org 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 > --- > 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