2024-04-11 14:39:18

by Christophe Roullier

[permalink] [raw]
Subject: [PATCH 02/11] 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 20f58eff6e6f9..34650cd9d6702 100644
--- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
@@ -91,6 +91,9 @@ properties:
RCC clock instead of ETH_CLK125.
type: boolean

+ 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-04-12 16:16:50

by Rob Herring (Arm)

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

On Thu, Apr 11, 2024 at 04:36:49PM +0200, 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]>
> ---
> Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 3 +++
> 1 file changed, 3 insertions(+)

Missing Krzysztof's ack or reason it was not added.

>
> diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> index 20f58eff6e6f9..34650cd9d6702 100644
> --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml
> @@ -91,6 +91,9 @@ properties:
> RCC clock instead of ETH_CLK125.
> type: boolean
>
> + 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
>