[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210415101037.1465-9-alexandre.torgue@foss.st.com>
Date: Thu, 15 Apr 2021 12:10:32 +0200
From: Alexandre Torgue <alexandre.torgue@...s.st.com>
To: <arnd@...db.de>, <robh+dt@...nel.org>, Marek Vasut <marex@...x.de>,
<jagan@...rulasolutions.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Marcin Sloniewski <marcin.sloniewski@...il.com>,
Ahmad Fatoum <a.fatoum@...gutronix.de>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-kernel@...r.kernel.org>, Lee Jones <lee.jones@...aro.org>,
<kuba@...nel.org>
Subject: [PATCH 08/13] dt-bindings: net: document ptp_ref clk in dwmac
ptp_ref clk has been added in DT but not documented which makes yaml
validation failed:
ethernet@...0a000: clocks: [[6, 105], [6, 103], [6, 104], [6, 123],
[6, 169], [6, 112]] is too long
ethernet@...0a000: clock-names: ['stmmaceth', 'mac-clk-tx', 'mac-clk-rx',
'eth-ck', 'ptp_ref', 'ethstp'] is too long
Signed-off-by: Alexandre Torgue <alexandre.torgue@...s.st.com>
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"
--
2.17.1
Powered by blists - more mailing lists