Skip to content

Commit 38415a8

Browse files
krzkrobherring
authored andcommitted
dt-bindings: gnss: reference serial-peripheral-props.yaml
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 <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20240811-dt-bindings-serial-peripheral-props-v1-4-1dba258b7492@linaro.org Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent ab00f2a commit 38415a8

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ description:
1818

1919
allOf:
2020
- $ref: gnss-common.yaml#
21+
- $ref: /schemas/serial/serial-peripheral-props.yaml#
2122

2223
properties:
2324
compatible:

Documentation/devicetree/bindings/gnss/gnss-common.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ properties:
3535
GPIO line, this is used.
3636
maxItems: 1
3737

38-
current-speed:
39-
description: The baudrate in bits per second of the device as it comes
40-
online, current active speed.
41-
$ref: /schemas/types.yaml#/definitions/uint32
42-
4338
additionalProperties: true
4439

4540
examples:

Documentation/devicetree/bindings/gnss/mediatek.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description:
1515

1616
allOf:
1717
- $ref: gnss-common.yaml#
18+
- $ref: /schemas/serial/serial-peripheral-props.yaml#
1819

1920
properties:
2021
compatible:

Documentation/devicetree/bindings/gnss/sirfstar.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ description:
2121

2222
allOf:
2323
- $ref: gnss-common.yaml#
24+
- $ref: /schemas/serial/serial-peripheral-props.yaml#
2425

2526
properties:
2627
compatible:

Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: U-blox GNSS Receiver
88

99
allOf:
1010
- $ref: gnss-common.yaml#
11+
- $ref: /schemas/serial/serial-peripheral-props.yaml#
1112

1213
maintainers:
1314
- Johan Hovold <[email protected]>

0 commit comments

Comments
 (0)