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

dt-bindings: display: renesas,du: add top-level constraints

Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:". Add missing top-level constraints
for clocks, clock-names, interrupts, resets, reset-names, renesas,cmms
and renesas,vsps.

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250128094719.63776-2-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Tomi Valkeinen
c51549cf aa77a016

+19 -5
+19 -5
Documentation/devicetree/bindings/display/renesas,du.yaml
··· 47 47 maxItems: 1 48 48 49 49 # See compatible-specific constraints below. 50 - clocks: true 51 - clock-names: true 50 + clocks: 51 + minItems: 1 52 + maxItems: 8 53 + 54 + clock-names: 55 + minItems: 1 56 + maxItems: 8 57 + 52 58 interrupts: 59 + minItems: 1 60 + maxItems: 4 53 61 description: Interrupt specifiers, one per DU channel 54 - resets: true 55 - reset-names: true 62 + 63 + resets: 64 + minItems: 1 65 + maxItems: 2 66 + 67 + reset-names: 68 + minItems: 1 69 + maxItems: 2 56 70 57 71 power-domains: 58 72 maxItems: 1 ··· 88 74 89 75 renesas,cmms: 90 76 $ref: /schemas/types.yaml#/definitions/phandle-array 91 - minItems: 1 77 + minItems: 2 92 78 maxItems: 4 93 79 items: 94 80 maxItems: 1