Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2455196imj; Mon, 18 Feb 2019 06:20:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IY9LdIgkj76wspAKYmv/BLjCgEPYrr3KpCLXoXgIq6YqjfpN5gP3VamF18W13cg1/yw8QrJ X-Received: by 2002:a17:902:298a:: with SMTP id h10mr25751206plb.312.1550499653282; Mon, 18 Feb 2019 06:20:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550499653; cv=none; d=google.com; s=arc-20160816; b=tCBDEcpIP7wlh159CEpgtOncjLDC+otCN4cmcc0BNam2IcGjL+xGcJWirzBi+Nq2cD NWSvqQ1l9ek4x5OCbHwZLLvO0ag4UM2hmbyjbyZcf9JW0BqqyXiWk8yra9e5/ojIozvp MPKwAwmojlLFgBZLT/1RwvlLThqy70TClJZdOI9ioQWVF4MOAvqoT8Oz8kxZfOsm32ch 5hHFLnqetrMpd+DuBAj332Dvml4B8KgELu1J1PdYv6C9Lfjhfqpl2W+SiFIYvdTBc+tO rArj753Ehe/+VaBdEDADRKRjOzr2cu5xiunklA1C+iUX7JrcEE+nVKYllgmcpbEou84c ML6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=gFO8LwK33ywbW9SIa15Cb2gHG5oozM6OBAvVIPZVXeQ=; b=WTV5vdV7WaiaXJxfmFqXaNYEnUdEysGHHvPph7EZVwASzdD8ZOWuX7yuko9bKBZsww ptyB/Do0UWNL0uTak6DNFjazmUp8ewRPtYBNA5zkje1lcXNsXu+koPcihN4KYqWkIjv4 +u+Oyd4NJ1J7RmEUGvLq1oYme2s3UBdood6BTo/4S5fdxKnFgGrygsAdUHyBKyd8WXWG 4O+8kRpbgyOwgcxtrKhKIxcAtgLOqxG7yuRy4HGHPJHjCS9MBzP5WJM+DWatX0hHPjf0 Hb6BTeBux/YX5AU7mjbR2m/WxTH4RdN1JZH40iuI+KrBq3+8Foe6toZ7wEI0naHh/wco lxkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DNzyc+qY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s12si13341468plp.194.2019.02.18.06.20.37; Mon, 18 Feb 2019 06:20:53 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DNzyc+qY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391013AbfBROIr (ORCPT + 99 others); Mon, 18 Feb 2019 09:08:47 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40655 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390319AbfBROIo (ORCPT ); Mon, 18 Feb 2019 09:08:44 -0500 Received: by mail-ed1-f65.google.com with SMTP id 10so13913079eds.7 for ; Mon, 18 Feb 2019 06:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=gFO8LwK33ywbW9SIa15Cb2gHG5oozM6OBAvVIPZVXeQ=; b=DNzyc+qYAb0NALeJg8RzVLqy5pj2aOWYWpkgh1UJ75D0mESwiTMtROi3ixJjqTPXgs VeRsa5L7avUdKK1tal1QfU61H8ifm6m51boKWdKoYDnEWmNsloICO2Vpm86J0eiGCUeY n9Mi2RwB6INJ/TVB8wv+hhPNizbA/eIruGJErj4amKoHGCpc3U97kMAlix7KAtYnzBwB gsC1NP5118CAiIHviDvpcjV0a2F4XvP1bkctr+D9jejS9NZjliNxCAqgBiNDZXsVtxIh W4CRh6NlpS4djp47IcObWOS/rfu28g2TO3oBZHS3PzN1yah0rakfKdtOSaN5qSeshENr O6Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=gFO8LwK33ywbW9SIa15Cb2gHG5oozM6OBAvVIPZVXeQ=; b=dCTU9Xouud4Zz6B1H7ef8CC2QpvxSrQPpAg0QljUR4ZGnwm/BydU3GdmPmsZ+lj9BP HBaLOiBY4dTtbDHCMQpNkoYyJVQlmpm3r84fm3hm5PNtbiH5JazlY5qHjjuzaEHlaCOF m4grw2+7kaeUwkc+rbvTC1FGCjc8/1RHPHPZSmJydAa3bSmA6FzcRX4G3hd4aQa7lqz7 MzOMNaRKULb3nCMPkDEueZjiMu8bGL9K6GIWFkoAeP7HB8NkJVkGB8Z9l3bL+GXCeIua 5loAlOvJe6FiicKt4veIFihjF/XdaQp9jh1gT/XfrHV483VW2Rf/0ERMkArZ7Vyavosh zmOw== X-Gm-Message-State: AHQUAuaACQM8AoRYgUAcrm/NVkxigHQujj+wFHKq8mJh3aU58Z4NJpkD 9C4O0vQ+OwTWOShZo00fSHWEsw== X-Received: by 2002:a50:9927:: with SMTP id k36mr19279800edb.31.1550498921640; Mon, 18 Feb 2019 06:08:41 -0800 (PST) Received: from localhost ([2620:10d:c092:180::1:3053]) by smtp.gmail.com with ESMTPSA id k4sm3094441ejj.32.2019.02.18.06.08.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 06:08:40 -0800 (PST) References: <1550070569-18588-1-git-send-email-lollivier@baylibre.com> <1550070569-18588-3-git-send-email-lollivier@baylibre.com> <20190215160457.GO28278@localhost> User-agent: mu4e 1.0; emacs 25.3.2 From: Loys Ollivier To: Johan Hovold Cc: Loys Ollivier , devicetree@vger.kernel.org, Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, Kevin Hilman , linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl Subject: Re: [PATCH v4 2/4] dt-bindings: gnss: add mediatek binding In-reply-to: <20190215160457.GO28278@localhost> Date: Mon, 18 Feb 2019 15:08:38 +0100 Message-ID: <86k1hxur2x.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 15 Feb 2019 at 16:04, Johan Hovold wrote: > On Wed, Feb 13, 2019 at 04:09:27PM +0100, Loys Ollivier wrote: >> Add binding for Mediatek-based GNSS receivers. >> >> Signed-off-by: Loys Ollivier >> --- >> v4: >> Use standard names for reset-gpios and gnss-fix-gpios >> s/an/a UART >> >> v3: >> Removed the I2C and SPI interfaces references. >> Removed the "mediatek,mt3339" compatible line. >> Added the optional propertied (reset, fix) >> Added the pin names for the optional properties. >> >> v2: >> Renamed bindings from Globaltop/gtop to Mediatek/mtk. >> Moved current-speed as an optional propertie. >> Removed the status line in the example. >> Added "mediatek,mt3339" compatible. >> >> .../devicetree/bindings/gnss/mediatek.txt | 37 ++++++++++++++++++++++ >> 1 file changed, 37 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/gnss/mediatek.txt >> >> diff --git a/Documentation/devicetree/bindings/gnss/mediatek.txt b/Documentation/devicetree/bindings/gnss/mediatek.txt >> new file mode 100644 >> index 000000000000..12283d429baa >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/gnss/mediatek.txt >> @@ -0,0 +1,37 @@ >> +Mediatek-based GNSS Receiver DT binding >> + >> +Mediatek chipsets are used in GNSS-receiver modules produced by several >> +vendors and can use a UART interface. >> + >> +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic >> +properties. >> + >> +Required properties: >> + >> +- compatible : Must be >> + >> + "globaltop,pa6h" >> + >> +- vcc-supply : Main voltage regulator (pin name: VCC) >> + >> +Optional properties: >> + >> +- current-speed : Default UART baud rate >> +- gnss-fix-gpios : GPIO used to determine device position fix state >> + (pin name: FIX, 3D_FIX) >> +- reset-gpios : GPIO used to reset the device >> + (pin name: RESET, NRESET) >> +- timepulse-gpios : Time pulse GPIO (pin name: PPS1, 1PPS) >> +- v-bckp-supply : Backup voltage regulator >> + (pin name: VBAT, VBACKUP) > > As we discussed, I changed this to "vbackup-supply" (here and in the > driver) before applying. > > Note that git reported some whitespace errors above too (spaces before > tabs) that I fixed up. Not sure why checkpatch doesn't complain. > Oops, thanks for fixing it. I ran checkpatch again and it did not complain. Apprently it's not checking for spaces before tabs in "txt" files. I'll add a step in my flow to apply the patches I create before sending them to the list so that won't happen again ;) > All now applied. > Yay ! Thanks ! Loys > Thanks, > Johan -- -L