| From 934da599e694d476f493d3927a30414e98a81561 Mon Sep 17 00:00:00 2001 |
| From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| Date: Sun, 20 Jul 2025 14:30:04 +0200 |
| Subject: dt-bindings: display: sprd,sharkl3-dpu: Fix missing clocks constraints |
| |
| From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| |
| commit 934da599e694d476f493d3927a30414e98a81561 upstream. |
| |
| 'minItems' alone does not impose upper bound, unlike 'maxItems' which |
| implies lower bound. Add missing clock constraint so the list will have |
| exact number of items (clocks). |
| |
| Fixes: 8cae15c60cf0 ("dt-bindings: display: add Unisoc's dpu bindings") |
| Cc: stable@vger.kernel.org |
| Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| Link: https://lore.kernel.org/r/20250720123003.37662-3-krzysztof.kozlowski@linaro.org |
| Signed-off-by: Rob Herring (Arm) <robh@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml |
| +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml |
| @@ -25,7 +25,7 @@ properties: |
| maxItems: 1 |
| |
| clocks: |
| - minItems: 2 |
| + maxItems: 2 |
| |
| clock-names: |
| items: |