mbox series

[net-next,0/2] net: phy: dp83822: Add support for GPIO2 clock output

Message ID 20241209-dp83822-gpio2-clk-out-v1-0-fd3c8af59ff5@liebherr.com (mailing list archive)
Headers show
Series net: phy: dp83822: Add support for GPIO2 clock output | expand

Message

Dimitri Fedrau via B4 Relay Dec. 9, 2024, 8:01 a.m. UTC
The DP83822 has several clock configuration options for pins GPIO1, GPIO2
and GPIO3. Clock options include:
  - MAC IF clock
  - XI clock
  - Free-Running clock
  - Recovered clock
This patch adds support for GPIO2, the support for GPIO1 and GPIO3 can be
easily added if needed. Code and device tree bindings are derived from
dp83867 which has a similar feature.

Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
---
Dimitri Fedrau (2):
      dt-bindings: net: dp83822: Add support for GPIO2 clock output
      net: phy: dp83822: Add support for GPIO2 clock output

 .../devicetree/bindings/net/ti,dp83822.yaml        |  7 ++++
 drivers/net/phy/dp83822.c                          | 44 ++++++++++++++++++++++
 include/dt-bindings/net/ti-dp83822.h               | 21 +++++++++++
 3 files changed, 72 insertions(+)
---
base-commit: 7ea2745766d776866cfbc981b21ed3cfdf50124e
change-id: 20241206-dp83822-gpio2-clk-out-cd9cf63e37df

Best regards,