mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for safeboot pin to UBlox GNSS driver
@ 2025-05-14 13:54 Alejandro Enrique via B4 Relay
  2025-05-14 13:54 ` [PATCH 1/2] dt-bindings: gnss: u-blox: add "safeboot-gpios" binding Alejandro Enrique via B4 Relay
  2025-05-14 13:54 ` [PATCH 2/2] gnss: ubx: add support for the safeboot gpio Alejandro Enrique via B4 Relay
  0 siblings, 2 replies; 6+ messages in thread
From: Alejandro Enrique via B4 Relay @ 2025-05-14 13:54 UTC (permalink / raw)
  To: Johan Hovold, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: devicetree, linux-kernel, Alejandro Enrique

U-Blox M9 and M8 chips have a pin to start it in safeboot mode, to be
used to recover from situations where the flash content has become
corrupted and needs to be restored. If this pin is asserted at power
up or reset, the receiver starts in safeboot mode and GNSS operation
is disabled.

If this pin is wired to a GPIO in the host it should be deasserted
before powering up or resetting the GNSS.

This series adds support for handling the safeboot pin when probing
the driver.

Signed-off-by: Alejandro Enrique <alejandroe1@geotab.com>
---
Alejandro Enrique (2):
      dt-bindings: gnss: u-blox: add "safeboot-gpios" binding
      gnss: ubx: add support for the safeboot gpio

 Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml | 4 ++++
 drivers/gnss/ubx.c                                        | 8 ++++++++
 2 files changed, 12 insertions(+)
---
base-commit: 9c32cda43eb78f78c73aee4aa344b777714e259b
change-id: 20250514-ubx-safeboot-3758f22225ec

Best regards,
-- 
Alejandro Enrique <alejandroe1@geotab.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-22 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-14 13:54 [PATCH 0/2] Add support for safeboot pin to UBlox GNSS driver Alejandro Enrique via B4 Relay
2025-05-14 13:54 ` [PATCH 1/2] dt-bindings: gnss: u-blox: add "safeboot-gpios" binding Alejandro Enrique via B4 Relay
2025-05-21  9:27   ` Krzysztof Kozlowski
2025-05-22 16:32     ` Alejandro Enrique
2025-05-14 13:54 ` [PATCH 2/2] gnss: ubx: add support for the safeboot gpio Alejandro Enrique via B4 Relay
2025-05-21  9:29   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®