dt-bindings: gnss: Modify u-blox to use common bindings
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Mar 2022 22:58:41 +0000 (23:58 +0100)
committerRob Herring <robh@kernel.org>
Sun, 20 Mar 2022 18:54:56 +0000 (14:54 -0400)
This modifies the existing U-Blox GNSS bindings to reference
the common GNSS YAML bindings.

Fixed an unrelated whitespace error while at it.

Cc: devicetree@vger.kernel.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220317225844.1262643-2-linus.walleij@linaro.org
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml

index 396101a223e722429e85b01207d1bd576a26e5e2..35a760cfd3430a1ce48c201abaf1e4e4c08b6742 100644 (file)
@@ -6,6 +6,9 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: U-blox GNSS Receiver Device Tree Bindings
 
+allOf:
+  - $ref: gnss-common.yaml#
+
 maintainers:
   - Johan Hovold <johan@kernel.org>
 
@@ -29,27 +32,20 @@ properties:
     description: >
       Main voltage regulator
 
-  timepulse-gpios:
-    maxItems: 1
-    description: >
-      Time pulse GPIO
-
   u-blox,extint-gpios:
     maxItems: 1
     description: >
       GPIO connected to the "external interrupt" input pin
-  
+
   v-bckp-supply:
     description: >
       Backup voltage regulator
 
-  current-speed: true
-
 required:
   - compatible
   - vcc-supply
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |