From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966047AbdKQRJK (ORCPT ); Fri, 17 Nov 2017 12:09:10 -0500 Received: from muru.com ([72.249.23.125]:49132 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbdKQRJC (ORCPT ); Fri, 17 Nov 2017 12:09:02 -0500 Date: Fri, 17 Nov 2017 09:08:57 -0800 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Rob Herring , Mark Rutland , =?utf-8?Q?Beno=C3=AEt?= Cousson , Russell King , Arnd Bergmann , Greg Kroah-Hartman , Kevin Hilman , Andreas =?utf-8?Q?F=C3=A4rber?= , Thierry Reding , Jonathan Cameron , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 4/5] DTS: gta04: add serdev node for w2sg00x4 Message-ID: <20171117170857.GO28152@atomide.com> References: <02dde546157359316eebe8e90f5f1de7177bbffa.1510781876.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02dde546157359316eebe8e90f5f1de7177bbffa.1510781876.git.hns@goldelico.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Nikolaus Schaller [171115 21:41]: > GTA04 has a W2SG0004/84 connected to UART2 of the OMAP3 > processor. A GPIO can pulse the on/off toggle switch. > > The VSIM regulator is used to power on/off the LNA of an external > active GPS antenna so that a driver can turn the LNA off if GPS is > not needed to save battery energy. > > Signed-off-by: H. Nikolaus Schaller > --- > arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi > index 4504908c23fe..e967d738aaaf 100644 > --- a/arch/arm/boot/dts/omap3-gta04.dtsi > +++ b/arch/arm/boot/dts/omap3-gta04.dtsi > @@ -477,6 +477,12 @@ > &uart2 { > pinctrl-names = "default"; > pinctrl-0 = <&uart2_pins>; > + > + gps: gps { > + compatible = "wi2wi,w2sg0004"; > + lna-supply = <&vsim>; /* LNA regulator */ > + enable-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; /* GPIO_145: trigger for turning on/off w2sg0004 */ > + }; > }; How about move the comment above the node to avoid long lines? Or just change it to gpio_145 for the comment as the property is already enable-gpios? Regards, Tony