[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250911-ubx-safeboot-v3-0-32fe6b882a3c@geotab.com>
Date: Thu, 11 Sep 2025 14:58:27 +0200
From: Alejandro Enrique via B4 Relay <devnull+alejandroe1.geotab.com@...nel.org>
To: Johan Hovold <johan@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Alejandro Enrique <alejandroe1@...tab.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH v3 0/2] Add support for safeboot pin to UBlox GNSS driver
U-Blox 8/M8 and M9 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@...tab.com>
---
Changes in v3:
- Rebase on top of latest gnss-linus tree
- Link to v2: https://lore.kernel.org/r/20250522-ubx-safeboot-v2-0-08c22378b8c9@geotab.com
Changes in v2:
- Add if/then to dt binding to disallow safeboot-gpios property for neo-6m
- Link to v1: https://lore.kernel.org/r/20250514-ubx-safeboot-v1-0-1ae771335356@geotab.com
---
Alejandro Enrique (2):
dt-bindings: gnss: u-blox: add "safeboot-gpios" binding
gnss: ubx: add support for the safeboot gpio
.../devicetree/bindings/gnss/u-blox,neo-6m.yaml | 20 ++++++++++++++++----
drivers/gnss/ubx.c | 8 ++++++++
2 files changed, 24 insertions(+), 4 deletions(-)
---
base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00
change-id: 20250514-ubx-safeboot-3758f22225ec
Best regards,
--
Alejandro Enrique <alejandroe1@...tab.com>
Powered by blists - more mailing lists