<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gnss, branch v5.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.1</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-02-15T15:54:38Z</updated>
<entry>
<title>gnss: add driver for mediatek receivers</title>
<updated>2019-02-15T15:54:38Z</updated>
<author>
<name>Loys Ollivier</name>
<email>lollivier@baylibre.com</email>
</author>
<published>2019-02-13T15:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d4584bbfcf2a8f5b6605be9eba465bba59ce68c8'/>
<id>urn:sha1:d4584bbfcf2a8f5b6605be9eba465bba59ce68c8</id>
<content type='text'>
Add driver for serial-connected Mediatek-based GNSS receivers.

These devices typically boot transmitting vendor specific NMEA output
sequences. The serial port bit rate is read from the device tree
"current-speed".

Note that the driver uses the generic GNSS serial implementation and
therefore essentially only manages power abstracted into three power
states: ACTIVE, STANDBY, and OFF.

For mediatek receivers with a main supply and no enable-gpios, this simply
means that the main supply is disabled in STANDBY and OFF (the optional
backup supply is kept enabled while the driver is bound).

Note that the timepulse-support is left unimplemented.

Signed-off-by: Loys Ollivier &lt;lollivier@baylibre.com&gt;
[ johan: rename backup supply ]
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: add mtk receiver type support</title>
<updated>2019-02-15T15:54:38Z</updated>
<author>
<name>Loys Ollivier</name>
<email>lollivier@baylibre.com</email>
</author>
<published>2019-02-13T15:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=625239d4ad43590f6639737ee900884f7d801411'/>
<id>urn:sha1:625239d4ad43590f6639737ee900884f7d801411</id>
<content type='text'>
Add an MTK (Mediatek) type to the "GNSS_TYPE" attribute.

Note that MTK receivers support a subset of NMEA 0183 with vendor
extensions.

Signed-off-by: Loys Ollivier &lt;lollivier@baylibre.com&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: add a separate supply for a lna</title>
<updated>2019-01-25T11:07:42Z</updated>
<author>
<name>Andreas Kemnade</name>
<email>andreas@kemnade.info</email>
</author>
<published>2019-01-24T06:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8fafef42c799eed3afe9abbd3ad517bb8223bc37'/>
<id>urn:sha1:8fafef42c799eed3afe9abbd3ad517bb8223bc37</id>
<content type='text'>
Devices might have a separate lna between antenna input of the gps
chip and the antenna which might have a separate supply.

Signed-off-by: Andreas Kemnade &lt;andreas@kemnade.info&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: add support for configurations without wakeup signal</title>
<updated>2019-01-25T11:07:42Z</updated>
<author>
<name>Andreas Kemnade</name>
<email>andreas@kemnade.info</email>
</author>
<published>2019-01-24T06:34:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ccd0e4963f552213bc977be31158a153992558af'/>
<id>urn:sha1:ccd0e4963f552213bc977be31158a153992558af</id>
<content type='text'>
Some Wi2Wi devices do not have a wakeup output, so device state can
only be indirectly detected by looking whether there is communication
over the serial lines.
This approach requires a report cycle set to a value less than 2 seconds
to be reliable.

Signed-off-by: Andreas Kemnade &lt;andreas@kemnade.info&gt;
[ johan: simplify sirf_set_active(), style changes ]
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: write data to gnss only when the gnss device is open</title>
<updated>2019-01-25T10:35:06Z</updated>
<author>
<name>Andreas Kemnade</name>
<email>andreas@kemnade.info</email>
</author>
<published>2019-01-24T06:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=196d91846099fb49b45fb14b0f47b9af3b721b94'/>
<id>urn:sha1:196d91846099fb49b45fb14b0f47b9af3b721b94</id>
<content type='text'>
The api forbids writing data there otherwise. Prepare for the
serdev_open()/close() being a part of sirf_set_active.

Signed-off-by: Andreas Kemnade &lt;andreas@kemnade.info&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: drop redundant double negation</title>
<updated>2019-01-25T09:58:56Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2019-01-22T17:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f1623fdb399e5cf677f042e3bff3beec70376f6'/>
<id>urn:sha1:9f1623fdb399e5cf677f042e3bff3beec70376f6</id>
<content type='text'>
The active flag is of type bool so drop the redundant double negation
when storing the gpio state.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: force hibernate mode on probe</title>
<updated>2019-01-25T09:58:54Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2019-01-22T17:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ceda5f654c350faa5b80f89625673a882735a54'/>
<id>urn:sha1:4ceda5f654c350faa5b80f89625673a882735a54</id>
<content type='text'>
Make sure to put the receiver in hibernate mode in case it is already
active during probe in order to avoid wasting power until first open or
suspend.

This can happen, for example, after a reset or non-clean shutdown, and
possibly also due to glitches during power-on.

Reported-by: Andreas Kemnade &lt;andreas@kemnade.info&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: fix premature wakeup interrupt enable</title>
<updated>2019-01-25T09:58:52Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2019-01-22T17:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=82f844c22588bf47132c82faeda50b6db473162c'/>
<id>urn:sha1:82f844c22588bf47132c82faeda50b6db473162c</id>
<content type='text'>
Make sure the receiver is powered (and booted) before enabling the
wakeup interrupt to avoid spurious interrupts due to a floating input.

Similarly, disable the interrupt before powering off on probe errors and
on unbind.

Fixes: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers")
Cc: stable &lt;stable@vger.kernel.org&gt;	# 4.19
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge 4.20-rc6 into tty-next</title>
<updated>2018-12-10T09:17:45Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-12-10T09:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9c96f401e91a4358eb4a5e227c1521dea1c20127'/>
<id>urn:sha1:9c96f401e91a4358eb4a5e227c1521dea1c20127</id>
<content type='text'>
We want the TTY changes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gnss: sirf: fix activation retry handling</title>
<updated>2018-12-06T16:22:23Z</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2018-12-05T10:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06fd9ab12b804451b14d538adbf98a57c2d6846b'/>
<id>urn:sha1:06fd9ab12b804451b14d538adbf98a57c2d6846b</id>
<content type='text'>
Fix activation helper which would return -ETIMEDOUT even if the last
retry attempt was successful.

Also change the semantics of the retries variable so that it actually
holds the number of retries (rather than tries).

Fixes: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers")
Cc: stable &lt;stable@vger.kernel.org&gt;	# 4.19
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
</feed>
