| From 2558df8c13ae3bd6c303b28f240ceb0189519c91 Mon Sep 17 00:00:00 2001 |
| From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| Date: Sun, 20 Jul 2025 14:30:05 +0200 |
| Subject: dt-bindings: display: sprd,sharkl3-dsi-host: Fix missing clocks constraints |
| |
| From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| |
| commit 2558df8c13ae3bd6c303b28f240ceb0189519c91 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: 2295bbd35edb ("dt-bindings: display: add Unisoc's mipi dsi controller bindings") |
| Cc: stable@vger.kernel.org |
| Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| Link: https://lore.kernel.org/r/20250720123003.37662-4-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-dsi-host.yaml | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml |
| +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml |
| @@ -20,7 +20,7 @@ properties: |
| maxItems: 2 |
| |
| clocks: |
| - minItems: 1 |
| + maxItems: 1 |
| |
| clock-names: |
| items: |