]> Gentwo Git Trees - linux/.git/commitdiff
dt-bindings: gnss: u-blox: use open-drain reset and safeboot in example
authorJohan Hovold <johan@kernel.org>
Fri, 14 Nov 2025 15:54:13 +0000 (16:54 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 20 Nov 2025 15:44:48 +0000 (16:44 +0100)
The RESET_N and SAFEBOOT_N pins should typically be left open and only
be connected to ground in rare cases where a device is misbehaving.

Specify GPIO_OPEN_DRAIN in the example as this is what should generally
be used.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml

index 9f14cfe7efd16d93ac83f11048d7eb7ddd341544..d016808f65cb7d782639b8fe54d2670936ea1209 100644 (file)
@@ -67,7 +67,7 @@ examples:
             compatible = "u-blox,neo-8";
             v-bckp-supply = <&gnss_v_bckp_reg>;
             vcc-supply = <&gnss_vcc_reg>;
-            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
-            safeboot-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+            reset-gpios = <&gpio 1 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
+            safeboot-gpios = <&gpio 2 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
         };
     };