Skip to content

Commit

Permalink
dt-bindings: serial: sc16is7xx: move 'allOf' block after 'required'
Browse files Browse the repository at this point in the history
The 'allOf' block should go after the 'required' block according to DT
bindings best practices.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231013141925.3427158-2-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Hugo Villeneuve authored and Greg Kroah-Hartman committed Oct 16, 2023
1 parent 0b16917 commit 2b97f5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/devicetree/bindings/serial/nxp,sc16is7xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b97f5b

Please sign in to comment.