2024-02-29 13:49:33

by Christophe Roullier

[permalink] [raw]
Subject: [PATCH 0/2] Add properties in dwmac-stm32 documentation

Introduce 2 new properties in dwamc-stm32 documentation

- phy-supply: to manage PHY regulator.
- st,ext-phyclk: is present since 2020 in driver so need to explain
it.

Christophe Roullier (2):
dt-bindings: net: add phy-supply property for stm32
dt-bindings: net: add new property st,ext-phyclk in documentation for
stm32

.../devicetree/bindings/net/stm32-dwmac.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)

--
2.25.1



2024-02-29 13:50:04

by Christophe Roullier

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: net: add phy-supply property for stm32

Phandle to a regulator that provides power to the PHY. This
regulator will be managed during the PHY power on/off sequence.

Signed-off-by: Christophe Roullier <[email protected]>
---
Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
index fc8c96b08d7dc..80937b28fa046 100644
--- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
@@ -82,6 +82,9 @@ properties:
Should be phandle/offset pair. The phandle to the syscon node which
encompases the glue register, and the offset of the control register

+ phy-supply:
+ description: PHY regulator
+
st,eth-clk-sel:
description:
set this property in RGMII PHY when you want to select RCC clock instead of ETH_CLK125.
--
2.25.1


2024-02-29 17:33:48

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: net: add phy-supply property for stm32

On 29/02/2024 14:47, Christophe Roullier wrote:
> Phandle to a regulator that provides power to the PHY. This
> regulator will be managed during the PHY power on/off sequence.
>
> Signed-off-by: Christophe Roullier <[email protected]>
> ---

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof