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

dt-bindings: i2c: renesas,riic: Move ref for i2c-controller.yaml to the end

In preparation for adding more validation checks, move the `$ref` for
'i2c-controller.yaml' to the end of the file. Also, relocate the
conditional check for 'resets' into the 'allOf' block.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250625104526.101004-2-prabhakar.mahadev-lad.rj@bp.renesas.com

authored by

Lad Prabhakar and committed by
Andi Shyti
be221173 da4eb06e

+15 -15
+15 -15
Documentation/devicetree/bindings/i2c/renesas,riic.yaml
··· 10 10 - Chris Brandt <chris.brandt@renesas.com> 11 11 - Wolfram Sang <wsa+renesas@sang-engineering.com> 12 12 13 - allOf: 14 - - $ref: /schemas/i2c/i2c-controller.yaml# 15 - 16 13 properties: 17 14 compatible: 18 15 oneOf: ··· 81 84 - '#address-cells' 82 85 - '#size-cells' 83 86 84 - if: 85 - properties: 86 - compatible: 87 - contains: 88 - enum: 89 - - renesas,riic-r9a07g043 90 - - renesas,riic-r9a07g044 91 - - renesas,riic-r9a07g054 92 - - renesas,riic-r9a09g057 93 - then: 94 - required: 95 - - resets 87 + allOf: 88 + - $ref: /schemas/i2c/i2c-controller.yaml# 89 + 90 + - if: 91 + properties: 92 + compatible: 93 + contains: 94 + enum: 95 + - renesas,riic-r9a07g043 96 + - renesas,riic-r9a07g044 97 + - renesas,riic-r9a07g054 98 + - renesas,riic-r9a09g057 99 + then: 100 + required: 101 + - resets 96 102 97 103 unevaluatedProperties: false 98 104