Skip to content

gnss: sirf: add support for w2sg0004 + lna

Andreas Kemnade linux-devicetree lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyIn review
  2. v36 patches 5 repliesSuperseded
  3. v25 patches 16 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches20 repliesSuperseded

Changes in v4 from the cover letter

- rebased on top of "gnss: sirf: fixes and cleanups" so the initial powerdown patch is unneeded
- cleanups

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gnss: sirf: write data to gnss only when the gnss device is opendrivers/gnss/sirf.c+30 -20 replies
2/5gnss: sirf: add support for configurations without wakeup signaldrivers/gnss/sirf.c+105 -191 reply
3/5dt-bindings: gnss: add w2sg0004 compatible stringDocumentation/devicetree/bindings/gnss/sirfstar.txt+1 -00 replies
4/5gnss: sirf: add a separate supply for a lnadrivers/gnss/sirf.c+52 -60 replies
5/5dt-bindings: gnss: add lna-supply propertyDocumentation/devicetree/bindings/gnss/gnss.txt+1 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchRob HerringJohan Hovold
1/5
2/5
3/5R-b R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] gnss: sirf: add support for w2sg0004 + lna

Here is another chapter of the story to get gta04 gnss power management into the mainline kernel.
There is a w2sg0004 without wakeup line in there, so power state can only be determined indirectly by looking at the serial data lines. Then there as also an lna which needs to be powered for real gps reception.

Changes in v2:
- do not change behavior of devices with wakeup line
- do not keep serdev open if runtime is active and device is not used
- style cleanup
- locking of sirf_close() vs. gnss_insert_raw()
- name reordering

Changes in v3:
- more style cleanup
- more locking
- better regulator error handling
- timeout logic cleaned up and problems documented
- initial power off sorted out as a separate patch
- renamed patch gnss: sirf: power on logic for devices without wakeup signal

Changes in v4:
- rebased on top of "gnss: sirf: fixes and cleanups" so the initial powerdown patch is unneeded
- cleanups

Andreas Kemnade (5):
gnss: sirf: write data to gnss only when the gnss device is open
gnss: sirf: add support for configurations without wakeup signal
dt-bindings: gnss: add w2sg0004 compatible string
gnss: sirf: add a separate supply for a lna
dt-bindings: gnss: add lna-supply property

 Documentation/devicetree/bindings/gnss/gnss.txt    |   1 +
 .../devicetree/bindings/gnss/sirfstar.txt          |   1 +
 drivers/gnss/sirf.c                                | 212 ++++++++++++++++++---
 3 files changed, 188 insertions(+), 26 deletions(-)
Signature · 1 line
2.11.0