Commit aba9f8b0 authored by Wolfram Sang's avatar Wolfram Sang Committed by Johan Hovold
Browse files

dt-bindings: gnss: u-blox: add "reset-gpios" binding



The Renesas KingFisher board includes a U-Blox Neo-M8 chip. This chip
has a reset pin which is also wired on the board. Introduce a binding to
support this reset pin.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent ac142f2b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ properties:
      port or the USB host-controller port to which this device is attached,
      depending on the bus used. Required for the DDC, SPI or USB busses.

  reset-gpios:
    maxItems: 1

  vcc-supply:
    description: >
      Main voltage regulator
@@ -49,10 +52,13 @@ unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    serial {
        gnss {
            compatible = "u-blox,neo-8";
            v-bckp-supply = <&gnss_v_bckp_reg>;
            vcc-supply = <&gnss_vcc_reg>;
            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
        };
    };