From: William Qiu Date: Fri, 4 Aug 2023 02:02:52 +0000 (+0800) Subject: dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0d2b6a1b8515204924b9174ae0135e1f4ff29b21;p=linux.git dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC The QSPI controller needs three clock items to work properly on StarFive JH7110 SoC, so there is need to change the maxItems's value to 3. Signed-off-by: William Qiu Reviewed-by: Hal Feng Reviewed-by: Conor Dooley Link: https://lore.kernel.org/r/20230804020254.291239-2-william.qiu@starfivetech.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index 4f15f9a0cc34a..cca81f89e252d 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -86,7 +86,17 @@ properties: maxItems: 1 clocks: - maxItems: 1 + minItems: 1 + maxItems: 3 + + clock-names: + oneOf: + - items: + - const: ref + - items: + - const: ref + - const: ahb + - const: apb cdns,fifo-depth: description: