Message ID | 20210415101037.1465-9-alexandre.torgue@foss.st.com |
---|---|
State | New |
Headers | show |
Series | ARM: dts: stm32: fix "make dtbs_check W=1" round1 | expand |
On Thu, 15 Apr 2021 12:10:32 +0200, Alexandre Torgue wrote: > ptp_ref clk has been added in DT but not documented which makes yaml > validation failed: > > ethernet@5800a000: clocks: [[6, 105], [6, 103], [6, 104], [6, 123], > [6, 169], [6, 112]] is too long > ethernet@5800a000: clock-names: ['stmmaceth', 'mac-clk-tx', 'mac-clk-rx', > 'eth-ck', 'ptp_ref', 'ethstp'] is too long > > Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 0642b0f59491..0201a879399f 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -89,7 +89,7 @@ properties: clocks: minItems: 1 - maxItems: 5 + maxItems: 6 additionalItems: true items: - description: GMAC main clock @@ -101,7 +101,7 @@ properties: clock-names: minItems: 1 - maxItems: 5 + maxItems: 6 additionalItems: true contains: enum: diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml index 27eb6066793f..a1c490f3af02 100644 --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml @@ -46,17 +46,18 @@ properties: clocks: minItems: 3 - maxItems: 5 + maxItems: 6 items: - description: GMAC main clock - description: MAC TX clock - description: MAC RX clock - description: For MPU family, used for power mode - description: For MPU family, used for PHY without quartz + - description: PTP clock clock-names: minItems: 3 - maxItems: 5 + maxItems: 6 contains: enum: - stmmaceth @@ -64,6 +65,7 @@ properties: - mac-clk-rx - ethstp - eth-ck + - ptp_ref st,syscon: $ref: "/schemas/types.yaml#/definitions/phandle-array"
ptp_ref clk has been added in DT but not documented which makes yaml validation failed: ethernet@5800a000: clocks: [[6, 105], [6, 103], [6, 104], [6, 123], [6, 169], [6, 112]] is too long ethernet@5800a000: clock-names: ['stmmaceth', 'mac-clk-tx', 'mac-clk-rx', 'eth-ck', 'ptp_ref', 'ethstp'] is too long Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>