Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <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>

authored by

Krzysztof Kozlowski and committed by
Rob Herring (Arm)
38415a81 ab00f2ab

+4 -5
+1
Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml
··· 18 18 19 19 allOf: 20 20 - $ref: gnss-common.yaml# 21 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 21 22 22 23 properties: 23 24 compatible:
-5
Documentation/devicetree/bindings/gnss/gnss-common.yaml
··· 35 35 GPIO line, this is used. 36 36 maxItems: 1 37 37 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 - 43 38 additionalProperties: true 44 39 45 40 examples:
+1
Documentation/devicetree/bindings/gnss/mediatek.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: gnss-common.yaml# 18 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible:
+1
Documentation/devicetree/bindings/gnss/sirfstar.yaml
··· 21 21 22 22 allOf: 23 23 - $ref: gnss-common.yaml# 24 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 24 25 25 26 properties: 26 27 compatible:
+1
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
··· 8 8 9 9 allOf: 10 10 - $ref: gnss-common.yaml# 11 + - $ref: /schemas/serial/serial-peripheral-props.yaml# 11 12 12 13 maintainers: 13 14 - Johan Hovold <johan@kernel.org>