On Thu, Jan 03, 2019 at 05:04:35PM +0100, Loys Ollivier wrote:OK, agreed - will rename the driver as Mediatek.
As suggested by Neil Armstrong - this GNSS device seems to behave like
most generic GNSS receivers.
I'll send a v2 with a generic driver that works for both GlobalTop and
u-blox.
That doesn't sound right to me. Judging from a quick look, this device
appears to be based on a mediatek chipset, so I suggest reworking
(renaming) this as a Mediatek driver (gnss type would be MTK, reflecting
the vendor protocol) even if it happens to look a lot like the current
u-blox driver.
If we ever add more features, like support for some part of the vendorYes, I would like indeed to look into 1pps after that patch series.
protocol or maybe 1pps, things will start diverging. As you noticed you
already have the generic serial gnss implementation to handle a lot of
the common bits.
Loys Ollivier writes:
> 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.
Thanks,
Johan