]> www.infradead.org Git - users/willy/xarray.git/commitdiff
dt-bindings: gnss: reference serial-peripheral-props.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 11 Aug 2024 18:17:07 +0000 (20:17 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 19 Aug 2024 22:04:55 +0000 (17:04 -0500)
The "current-speed" property is not a common property for all GNSS
devices, but only to these connected with serial.  Drop the property
from the common GNSS properties schema and instead reference common
serial properties schema (for children of UART controllers).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240811-dt-bindings-serial-peripheral-props-v1-4-1dba258b7492@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml
Documentation/devicetree/bindings/gnss/gnss-common.yaml
Documentation/devicetree/bindings/gnss/mediatek.yaml
Documentation/devicetree/bindings/gnss/sirfstar.yaml
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml

index c21549e0fba6421b2c49a141e0d1d3c787716f13..089166089498d10739bc0cefec7de091fcb34d46 100644 (file)
@@ -18,6 +18,7 @@ description:
 
 allOf:
   - $ref: gnss-common.yaml#
+  - $ref: /schemas/serial/serial-peripheral-props.yaml#
 
 properties:
   compatible:
index 963b926e30a7040c32499a5ca93fabb02d0d2f0e..d4430d2d6855c9f0548ecf94d3c9d25c4220b725 100644 (file)
@@ -35,11 +35,6 @@ properties:
       GPIO line, this is used.
     maxItems: 1
 
-  current-speed:
-    description: The baudrate in bits per second of the device as it comes
-      online, current active speed.
-    $ref: /schemas/types.yaml#/definitions/uint32
-
 additionalProperties: true
 
 examples:
index c0eb35beb2ef39a45cc778dabe31afd1a0ddb1d4..2b9e5be4ebf3021da450c054909d69b015c0dd34 100644 (file)
@@ -15,6 +15,7 @@ description:
 
 allOf:
   - $ref: gnss-common.yaml#
+  - $ref: /schemas/serial/serial-peripheral-props.yaml#
 
 properties:
   compatible:
index 0bbe684d82e105a642ecf2a517f4d8b99ebf437c..7e5da89a5ad718cd6bdf226d0dd7957c26fbbc94 100644 (file)
@@ -21,6 +21,7 @@ description:
 
 allOf:
   - $ref: gnss-common.yaml#
+  - $ref: /schemas/serial/serial-peripheral-props.yaml#
 
 properties:
   compatible:
index cd80668182b608aebaad460f63c558e6387d7076..7d4b6d49e5eea2201ac05ba6d54b1c1721172f26 100644 (file)
@@ -8,6 +8,7 @@ title: U-blox GNSS Receiver
 
 allOf:
   - $ref: gnss-common.yaml#
+  - $ref: /schemas/serial/serial-peripheral-props.yaml#
 
 maintainers:
   - Johan Hovold <johan@kernel.org>