Commit 2b97f5b5 authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Greg Kroah-Hartman
Browse files

dt-bindings: serial: sc16is7xx: move 'allOf' block after 'required'



The 'allOf' block should go after the 'required' block according to DT
bindings best practices.

Signed-off-by: default avatarHugo Villeneuve <hvilleneuve@dimonoff.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231013141925.3427158-2-hugo@hugovil.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b169177
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -70,16 +70,16 @@ properties:
      minimum: 0
      maximum: 1

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#
  - $ref: /schemas/serial/serial.yaml#
  - $ref: /schemas/serial/rs485.yaml#

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#
  - $ref: /schemas/serial/serial.yaml#
  - $ref: /schemas/serial/rs485.yaml#

oneOf:
  - required:
      - clocks