[PATCH 2/5 v2] dt-bindings: gnss: Modify u-blox to use common bindings

From: Linus Walleij
Date: Thu Mar 17 2022 - 19:01:02 EST


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@xxxxxxxxxxxxxxx
Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
ChangeLog v1->v2:
- Change additionalProperties to unevaluatedProperties and
cut the :true insertion of properties from the common
props so new common properties get available immediately.
---
.../devicetree/bindings/gnss/u-blox,neo-6m.yaml | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
index 396101a223e7..35a760cfd343 100644
--- a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
+++ b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
@@ -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@xxxxxxxxxx>

@@ -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:
- |
--
2.35.1