Re: [PATCH 1/2] dt-bindings: net: dwmac: increase 'maxItems' for 'clocks', 'clock-names' properties

Maxime Ripard
2019-11-08T10:42:37Z

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

Hi,

On Fri, Nov 08, 2019 at 11:35:25AM +0100, Christophe Roullier wrote:
> This change is needed for some soc based on snps,dwmac, which have
> more than 3 clocks.
>
> Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
> ---
> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> index 4845e29411e4..376a531062c2 100644
> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
> @@ -27,6 +27,7 @@ select:
> - snps,dwmac-3.710
> - snps,dwmac-4.00
> - snps,dwmac-4.10a
> + - snps,dwmac-4.20a
> - snps,dwxgmac
> - snps,dwxgmac-2.10
>
> @@ -62,6 +63,7 @@ properties:
> - snps,dwmac-3.710
> - snps,dwmac-4.00
> - snps,dwmac-4.10a
> + - snps,dwmac-4.20a
> - snps,dwxgmac
> - snps,dwxgmac-2.10
>
> @@ -87,7 +89,8 @@ properties:
>
> clocks:
> minItems: 1
> - maxItems: 3
> + maxItems: 5
> + additionalItems: true

Those additional clocks should be documented

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]