Skip to contentSkip to conversation

dt-bindings: rcc: Add optional external ethernet RX clock properties

PATCH Applied Marek Vasut 2 participants 2 messages Apr 10, 2022 – Apr 13, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: rcc: Add optional external ethernet RX clock properties

Describe optional external ethernet RX clock in the DT binding to fix dtbs_check warnings like:

arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: rcc@50000000: 'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'

Cc Alexandre Torgue <[email protected]>
Cc Gabriel Fernandez <[email protected]>
Cc Rob Herring <[email protected]>

To: [email protected]

---
V2: Add AB from Gabriel
V3: - Describe the optional clocks and clock names
- Update commit message

---
 .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml        | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml +8 -0
index a0ae4867ed27e..7a251264582db 100644
@@ -59,6 +59,14 @@ properties:
           - st,stm32mp1-rcc
       - const: syscon
 
+  clocks:
+    description:
+      Specifies the external RX clock for ethernet MAC.
+    maxItems: 1
+
+  clock-names:
+    const: ETH_RX_CLK/ETH_REF_CLK
+
   reg:
     maxItems: 1
 
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Marek Vasut

Describe optional external ethernet RX clock in the DT binding to fix dtbs_check warnings like:

arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: rcc@50000000: 'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'

Cc Alexandre Torgue <[email protected]>
Cc Gabriel Fernandez <[email protected]>
Cc Rob Herring <[email protected]>

To: [email protected]

Quoted 9 lines

---
V2: Add AB from Gabriel
V3: - Describe the optional clocks and clock names
- Update commit message

---
 .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml        | 8 ++++++++
 1 file changed, 8 insertions(+)

Applied, thanks!