Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3189783imu; Sun, 27 Jan 2019 23:55:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6eLgkWiZF1eUGt3pYo6uH8ELBA/npT1owJWni5gsrb4z+YUtjrrSzE2vT/O01ZJHMQG6bC X-Received: by 2002:a17:902:2b84:: with SMTP id l4mr20895316plb.191.1548662105832; Sun, 27 Jan 2019 23:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548662105; cv=none; d=google.com; s=arc-20160816; b=kmqNIfN+1jbVlWyNPuXHRv2A4ihi7L7Ectih1dU6bg5g9j8l8YgD864xQ3yGD3zPAv MurYU4ViStIdNnujjfCDRIN8qQWgRSvcQGnZh5FRuqxaBSUKT9khgyyaqmAm8ciyvc9a ML33+93AIYHlevM5rsIgYBmHggaA/I6A2osiAcplUyhjST86f6x1dmKb4yXW04XvcQM4 OTju314hUzcMOLpxkRVdRfQ9sAbDcJzJ9Atg0AoTz2LdPU/EzJ1Tjo2iqmundF61gmdQ KHMKVQ8U43gQgnofeIOhi93OYkSj7b3WWKa9iYc9t/MwyMTmX5MvCVvqaCMUqVyiHONi N0aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5d5z7YJ+QIkJKJh8YBd60GvrST4LwX3jt6JysFLbk5s=; b=wOfHibaYFvVbLXsokyc9Vx/TF+/WEfdzO8PXx2NE2M1zRrxEo5FikNbQWp55F5ChxW P6JupGrmr9sr4nSCmd69UXn68dkBQ28osEXbKQ07asfp+Ie/lsA14ccExZTLlcOI8MDs XEH3gjMHLLQ8FWJHwRGjEmeY35wd8FaVbg1xP8fCpBy1U6Cs1HtC/AVUPewg6YWJO8E6 5MuNVlHdUlrv54Pkvr4E0jKOW304wNt0Su2OhrhgSwsSMVXo5Ff/wJZX83WyB/Uh437G tBQsrPgveYfq3u16qJsg7RRsiqNe5uUDjl64sJGGnd3cKeV/3u1Z8CPdNSLfhQfa1K7S XCvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si28577284pgg.204.2019.01.27.23.54.50; Sun, 27 Jan 2019 23:55:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbfA1HyF (ORCPT + 99 others); Mon, 28 Jan 2019 02:54:05 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38990 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbfA1HyF (ORCPT ); Mon, 28 Jan 2019 02:54:05 -0500 Received: by mail-lj1-f193.google.com with SMTP id t9-v6so13328726ljh.6; Sun, 27 Jan 2019 23:54:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5d5z7YJ+QIkJKJh8YBd60GvrST4LwX3jt6JysFLbk5s=; b=JKbkBiMaVXeg2FZo8QoDsB+/dTUwUSLUzCwynb0WGNmnM4WilUq8MJRAo0BXT0VIO/ yMlOdydpYbwsJC1lnfHlxEAvFN2wD3Pal8jwaYWY108pPk95q/PGIZwhVZGazQ4l4asN FjCxpmdwvrsipQXJvRK4kp1owrj2p0UaXyfoq1grUCw+yiGDpeyUOgZYf14JtQ16GzdA 2rvyxCmv9OCknZF3Z/LeVTaVYCEgu8+s8zn8Vo3xtXP0HwpT2Hlyt3cZ+Zho2FLqOesS vKz9b0r/zGkKPVL5LkcA8+N3faWi6jjbRVksbf1FJcOizpY1jqJWskGuQX/j7/Bw8Pp8 b6bw== X-Gm-Message-State: AHQUAubn/D6S+ObvQ+MuyIRwqaCXdphh0YxoU7aYir+ZbQ7P0eK+47GB vPrOC8m5jS1OQVxUv6W7j9w= X-Received: by 2002:a2e:6a13:: with SMTP id f19-v6mr10174995ljc.41.1548662042946; Sun, 27 Jan 2019 23:54:02 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id u11sm2801357lfb.85.2019.01.27.23.54.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 23:54:02 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1go1jw-0000PT-8i; Mon, 28 Jan 2019 08:53:56 +0100 Date: Mon, 28 Jan 2019 08:53:56 +0100 From: Johan Hovold To: Andreas Kemnade Cc: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org Subject: Re: [PATCH] arm: dts: gta04: add gps support Message-ID: <20190128075356.GJ3691@localhost> References: <20190125194310.11170-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190125194310.11170-1-andreas@kemnade.info> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 08:43:10PM +0100, Andreas Kemnade wrote: > The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable > which one is mounted so use the compatibility entry for w2sg0004 > for all which will work for both. > > Signed-off-by: Andreas Kemnade > --- > w2sg0004 bindings (together with the corresponding support is in > https://git.kernel.org/pub/scm/linux/kernel/git/johan/gnss gnss-next) > arch/arm/boot/dts/omap3-gta04.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi > index e53d32691308..d58c117e429f 100644 > --- a/arch/arm/boot/dts/omap3-gta04.dtsi > +++ b/arch/arm/boot/dts/omap3-gta04.dtsi > @@ -312,6 +312,12 @@ > >; > }; > > + gps_pins: pinmux_gps_pins { > + pinctrl-single,pins = < > + OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* gpio145 */ > + >; > + }; > + > hdq_pins: hdq_pins { > pinctrl-single,pins = < > OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */ > @@ -644,6 +650,13 @@ > &uart2 { > pinctrl-names = "default"; > pinctrl-0 = <&uart2_pins>; > + gps: gps { The node should be named "gnss" as per the binding. > + compatible = "wi2wi,w2sg0004"; > + pinctrl-names = "default"; > + pinctrl-0 = <&gps_pins>; > + sirf,onoff-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; > + lna-supply = <&vsim>; Also, the vcc-supply is a required property. > + }; > }; > > &uart3 { Johan