From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=27Ond=C5=99ej_Jirman=27_via_linux=2Dsunxi?= Subject: Re: [PATCH v2 5/5] ARM: dts: sun8i: tbs-a711: Enable UART2 (for NEO-6M GPS module) Date: Thu, 4 Apr 2019 14:43:22 +0200 Message-ID: <20190404124322.aejij7qomgoco37u@core.my.home> References: <20190401115616.21337-1-megous@megous.com> <20190401115616.21337-6-megous@megous.com> Reply-To: megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Content-Disposition: inline In-Reply-To: <20190401115616.21337-6-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, wens-jdAy2FN1RRM@public.gmane.org, robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org Hello Maxime, On Mon, Apr 01, 2019 at 01:56:16PM +0200, megous via linux-sunxi wrote: > From: Ondrej Jirman > > TBS A711 tablet contains u-blox NEO-6M module connected to UART2. > Enable UART2 to gain access to the module from userspace. Other GPS bits are now applied (thank you, Johan), so if this last bit can go in too via a sunxi tree, the series will be complete. thank you, Ondrej > Signed-off-by: Ondrej Jirman > --- > arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > index d70fe04b66f0..fd170bc45927 100644 > --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > @@ -98,6 +98,13 @@ > }; > }; > > + reg_gps: reg-gps { > + compatible = "regulator-fixed"; > + regulator-name = "gps"; > + regulator-min-microvolt = <3000000>; > + regulator-max-microvolt = <3000000>; > + }; > + > reg_vbat: reg-vbat { > compatible = "regulator-fixed"; > regulator-name = "vbat"; > @@ -422,6 +429,20 @@ > status = "okay"; > }; > > +&uart2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart2_pb_pins>; > + status = "okay"; > + > + gnss { > + compatible = "u-blox,neo-6m"; > + > + v-bckp-supply = <®_rtc_ldo>; > + vcc-supply = <®_gps>; > + current-speed = <9600>; > + }; > +}; > + > &usb_otg { > dr_mode = "otg"; > status = "okay"; > -- > 2.21.0 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/d/optout.