From: Loys Ollivier <lollivier@baylibre.com> To: devicetree@vger.kernel.org, Johan Hovold <johan@kernel.org> Cc: Loys Ollivier <lollivier@baylibre.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, linux-kernel@vger.kernel.org, Kevin Hilman <khilman@baylibre.com>, linux-amlogic@lists.infradead.org Subject: [PATCH 0/4] Add driver for globaltop GNSS receivers Date: Fri, 28 Dec 2018 11:50:31 +0100 [thread overview] Message-ID: <1545994235-8309-1-git-send-email-lollivier@baylibre.com> (raw) Hello ! This patch series adds a new GNSS driver for the globaltop GNSS receivers. These receivers transmits NMEA output sequence as soon as they have booted. Power management can be done via the main supply and optional backup supply as defined in the device tree. The driver has been tested using a GlobalTop pa6h chipset on a Libretech-cc board using the expansion header. Changes made in the board device tree can be found below for reference and testing. Loys Loys Ollivier (4): dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc." dt-bindings: gnss: add gtop binding gnss: add gtop receiver type support gnss: add driver for globaltop receivers Documentation/devicetree/bindings/gnss/gtop.txt | 33 +++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/gnss/Kconfig | 13 ++ drivers/gnss/Makefile | 3 + drivers/gnss/core.c | 1 + drivers/gnss/gtop.c | 152 +++++++++++++++++++++ include/linux/gnss.h | 1 + 7 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/gtop.txt create mode 100644 drivers/gnss/gtop.c --- diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 90a56af967a7..3b3d4dcc47aa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -17,6 +17,7 @@ aliases { serial0 = &uart_AO; + serial1 = &uart_A; ethernet0 = ðmac; }; @@ -269,7 +270,20 @@ pinctrl-names = "default"; }; +/* This is brought out on the UART_A_TX (8) and UART_A_RX (10) pins: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>; + pinctrl-names = "default"; + + gnss { + compatible = "globaltop,pa6h"; + v-bckp-supply = <&vcc_3v3>; + vcc-supply = <&vcc_3v3>; + current-speed = <9600>; + }; +}; + &usb0 { status = "okay"; }; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Loys Ollivier <lollivier@baylibre.com> To: devicetree@vger.kernel.org, Johan Hovold <johan@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com>, Kevin Hilman <khilman@baylibre.com>, Loys Ollivier <lollivier@baylibre.com>, linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, linux-amlogic@lists.infradead.org Subject: [PATCH 0/4] Add driver for globaltop GNSS receivers Date: Fri, 28 Dec 2018 11:50:31 +0100 [thread overview] Message-ID: <1545994235-8309-1-git-send-email-lollivier@baylibre.com> (raw) Hello ! This patch series adds a new GNSS driver for the globaltop GNSS receivers. These receivers transmits NMEA output sequence as soon as they have booted. Power management can be done via the main supply and optional backup supply as defined in the device tree. The driver has been tested using a GlobalTop pa6h chipset on a Libretech-cc board using the expansion header. Changes made in the board device tree can be found below for reference and testing. Loys Loys Ollivier (4): dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc." dt-bindings: gnss: add gtop binding gnss: add gtop receiver type support gnss: add driver for globaltop receivers Documentation/devicetree/bindings/gnss/gtop.txt | 33 +++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/gnss/Kconfig | 13 ++ drivers/gnss/Makefile | 3 + drivers/gnss/core.c | 1 + drivers/gnss/gtop.c | 152 +++++++++++++++++++++ include/linux/gnss.h | 1 + 7 files changed, 204 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/gtop.txt create mode 100644 drivers/gnss/gtop.c --- diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 90a56af967a7..3b3d4dcc47aa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -17,6 +17,7 @@ aliases { serial0 = &uart_AO; + serial1 = &uart_A; ethernet0 = ðmac; }; @@ -269,7 +270,20 @@ pinctrl-names = "default"; }; +/* This is brought out on the UART_A_TX (8) and UART_A_RX (10) pins: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>; + pinctrl-names = "default"; + + gnss { + compatible = "globaltop,pa6h"; + v-bckp-supply = <&vcc_3v3>; + vcc-supply = <&vcc_3v3>; + current-speed = <9600>; + }; +}; + &usb0 { status = "okay"; }; -- 2.7.4 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2018-12-28 10:51 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-28 10:50 Loys Ollivier [this message] 2018-12-28 10:50 ` [PATCH 0/4] Add driver for globaltop GNSS receivers Loys Ollivier 2018-12-28 10:50 ` [PATCH 1/4] dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc." Loys Ollivier 2018-12-28 10:50 ` Loys Ollivier 2019-01-11 14:40 ` Rob Herring 2019-01-11 14:40 ` Rob Herring 2018-12-28 10:50 ` [PATCH 2/4] dt-bindings: gnss: add gtop binding Loys Ollivier 2018-12-28 10:50 ` Loys Ollivier 2019-01-11 14:43 ` Rob Herring 2019-01-11 14:43 ` Rob Herring 2018-12-28 10:50 ` [PATCH 3/4] gnss: add gtop receiver type support Loys Ollivier 2018-12-28 10:50 ` Loys Ollivier 2018-12-28 10:50 ` [PATCH 4/4] gnss: add driver for globaltop receivers Loys Ollivier 2018-12-28 10:50 ` Loys Ollivier 2019-01-03 16:04 ` [PATCH 0/4] Add driver for globaltop GNSS receivers Loys Ollivier 2019-01-03 16:04 ` Loys Ollivier 2019-01-04 9:19 ` Johan Hovold 2019-01-04 9:19 ` Johan Hovold 2019-01-07 16:21 ` Loys Ollivier 2019-01-07 16:21 ` Loys Ollivier 2019-01-07 16:37 ` Johan Hovold 2019-01-07 16:37 ` Johan Hovold 2019-01-04 17:51 ` Rob Herring 2019-01-04 17:51 ` Rob Herring 2019-01-15 10:00 ` Loys Ollivier 2019-01-15 10:00 ` Loys Ollivier 2019-01-15 10:00 ` Loys Ollivier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1545994235-8309-1-git-send-email-lollivier@baylibre.com \ --to=lollivier@baylibre.com \ --cc=devicetree@vger.kernel.org \ --cc=johan@kernel.org \ --cc=khilman@baylibre.com \ --cc=linux-amlogic@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.