2022-04-28 04:15:57

by Michael Walle

[permalink] [raw]
Subject: [PATCH net-next v1 0/3] net: phy: micrel: add coma mode support

Add support to disable coma mode by a GPIO line.

Michael Walle (3):
dt-bindings: net: micrel: add coma-mode-gpios property
net: phy: micrel: move the PHY timestamping check
net: phy: micrel: add coma mode GPIO

.../devicetree/bindings/net/micrel.txt | 9 ++++++
drivers/net/phy/micrel.c | 32 ++++++++++++++++---
2 files changed, 37 insertions(+), 4 deletions(-)

--
2.30.2


2022-04-28 07:35:07

by Michael Walle

[permalink] [raw]
Subject: [PATCH net-next v1 1/3] dt-bindings: net: micrel: add coma-mode-gpios property

The LAN8814 has a coma mode pin which is used to put the PHY into
isolate and power-down mode. Usually strapped to be asserted by default.
A GPIO is then used to take the PHY out of this mode.

Signed-off-by: Michael Walle <[email protected]>
---
Documentation/devicetree/bindings/net/micrel.txt | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/micrel.txt b/Documentation/devicetree/bindings/net/micrel.txt
index 8d157f0295a5..a9ed691ffb03 100644
--- a/Documentation/devicetree/bindings/net/micrel.txt
+++ b/Documentation/devicetree/bindings/net/micrel.txt
@@ -45,3 +45,12 @@ Optional properties:

In fiber mode, auto-negotiation is disabled and the PHY can only work in
100base-fx (full and half duplex) modes.
+
+ - coma-mode-gpios: If present the given gpio will be deasserted when the
+ PHY is probed.
+
+ Some PHYs have a COMA mode input pin which puts the PHY into
+ isolate and power-down mode. On some boards this input is connected
+ to a GPIO of the SoC.
+
+ Supported on the LAN8814.
--
2.30.2

2022-05-01 22:55:33

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next v1 0/3] net: phy: micrel: add coma mode support

Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email protected]>:

On Wed, 27 Apr 2022 23:44:03 +0200 you wrote:
> Add support to disable coma mode by a GPIO line.
>
> Michael Walle (3):
> dt-bindings: net: micrel: add coma-mode-gpios property
> net: phy: micrel: move the PHY timestamping check
> net: phy: micrel: add coma mode GPIO
>
> [...]

Here is the summary with links:
- [net-next,v1,1/3] dt-bindings: net: micrel: add coma-mode-gpios property
https://git.kernel.org/netdev/net-next/c/749c61e5b30a
- [net-next,v1,2/3] net: phy: micrel: move the PHY timestamping check
https://git.kernel.org/netdev/net-next/c/31d00ca4ce0e
- [net-next,v1,3/3] net: phy: micrel: add coma mode GPIO
https://git.kernel.org/netdev/net-next/c/738871b09250

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


2022-05-02 11:13:17

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH net-next v1 1/3] dt-bindings: net: micrel: add coma-mode-gpios property

On Wed, 27 Apr 2022 23:44:04 +0200, Michael Walle wrote:
> The LAN8814 has a coma mode pin which is used to put the PHY into
> isolate and power-down mode. Usually strapped to be asserted by default.
> A GPIO is then used to take the PHY out of this mode.
>
> Signed-off-by: Michael Walle <[email protected]>
> ---
> Documentation/devicetree/bindings/net/micrel.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
>

Acked-by: Rob Herring <[email protected]>