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

dt-bindings: serial: Change to reference the kernel-defined serial.yaml

The /schemas/serial.yaml from dt-schema only has the property $nodename,
whereas the kernel-defined /schemas/serial/serial.yaml contains more
useful properties, support for more complex application scenarios.

For example:
1) The property "current-speed" in fsl-lx2160a.dtsi
2) The subnode "bluetooth" in hi3660-hikey960.dts

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210506132049.1513-2-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Zhen Lei and committed by
Greg Kroah-Hartman
8f082dcf 54da3e38

+13 -14
+1 -1
Documentation/devicetree/bindings/serial/8250.yaml
··· 10 10 - devicetree@vger.kernel.org 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 - if: 15 15 anyOf: 16 16 - required:
+1 -1
Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
··· 10 10 - Al Cooper <alcooperx@gmail.com> 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 15 15 description: |+ 16 16 The Broadcom UART is based on the basic 8250 UART but with
+1 -1
Documentation/devicetree/bindings/serial/ingenic,uart.yaml
··· 10 10 - Paul Cercueil <paul@crapouillou.net> 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 15 15 properties: 16 16 $nodename:
+2 -2
Documentation/devicetree/bindings/serial/pl011.yaml
··· 10 10 - Rob Herring <robh@kernel.org> 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 15 15 # Need a custom select here or 'arm,primecell' will match on lots of nodes 16 16 select: ··· 103 103 poll-rate-ms: [ auto-poll ] 104 104 poll-timeout-ms: [ auto-poll ] 105 105 106 - additionalProperties: false 106 + unevaluatedProperties: false 107 107 108 108 examples: 109 109 - |
+2 -2
Documentation/devicetree/bindings/serial/qca,ar9330-uart.yaml
··· 10 10 - Oleksij Rempel <o.rempel@pengutronix.de> 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 15 15 properties: 16 16 compatible: ··· 35 35 - clocks 36 36 - clock-names 37 37 38 - additionalProperties: false 38 + unevaluatedProperties: false 39 39 40 40 examples: 41 41 - |
+1 -1
Documentation/devicetree/bindings/serial/renesas,em-uart.yaml
··· 35 35 - clocks 36 36 - clock-names 37 37 38 - additionalProperties: false 38 + unevaluatedProperties: false 39 39 40 40 examples: 41 41 - |
+1 -1
Documentation/devicetree/bindings/serial/samsung_uart.yaml
··· 82 82 unevaluatedProperties: false 83 83 84 84 allOf: 85 - - $ref: /schemas/serial.yaml# 85 + - $ref: serial.yaml# 86 86 87 87 - if: 88 88 properties:
+2 -2
Documentation/devicetree/bindings/serial/sifive-serial.yaml
··· 12 12 - Palmer Dabbelt <palmer@sifive.com> 13 13 14 14 allOf: 15 - - $ref: /schemas/serial.yaml# 15 + - $ref: serial.yaml# 16 16 17 17 properties: 18 18 compatible: ··· 49 49 - interrupts 50 50 - clocks 51 51 52 - additionalProperties: false 52 + unevaluatedProperties: false 53 53 54 54 examples: 55 55 - |
+1 -1
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
··· 10 10 - Rob Herring <robh@kernel.org> 11 11 12 12 allOf: 13 - - $ref: /schemas/serial.yaml# 13 + - $ref: serial.yaml# 14 14 15 15 properties: 16 16 compatible:
+1 -2
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
··· 112 112 - interrupts 113 113 - clocks 114 114 115 - additionalProperties: 116 - type: object 115 + unevaluatedProperties: false 117 116 118 117 examples: 119 118 - |