mbox series

[net-next,v7,0/2] net: dsa: microchip: enable setting rmii reference

Message ID cover.1701770394.git.ante.knezic@helmholz.de (mailing list archive)
Headers show
Series net: dsa: microchip: enable setting rmii reference | expand

Message

Ante Knezic Dec. 5, 2023, 10:03 a.m. UTC
KSZ88X3 devices can select between internal and external RMII reference clock.
This patch series introduces new device tree property for setting reference
clock to internal.

---
V7:
  - adapt dt schema as suggested by Rob Herring
V6:
  - use dev->cpu_port and dsa_to_port() instead of parsing the device tree.
V5:
  - move rmii-clk-internal to be a port device tree property.
V4:
  - remove rmii_clk_internal from ksz_device, as its not needed any more
  - move rmii clk config as well as ksz8795_cpu_interface_select to 
    ksz8_config_cpu_port
V3: 
  - move ksz_cfg from global switch config to port config as suggested by Vladimir
    Oltean
  - reverse patch order as suggested by Vladimir Oltean
  - adapt dt schema as suggested by Conor Dooley
V2: 
  - don't rely on default register settings - enforce set/clear property as
    suggested by Andrew Lunn
  - enforce dt schema as suggested by Conor Dooley

Ante Knezic (2):
  dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal
  net: dsa: microchip: add property to select internal RMII reference
    clock

 .../devicetree/bindings/net/dsa/microchip,ksz.yaml | 34 +++++++++++++++++++++-
 drivers/net/dsa/microchip/ksz8795.c                | 29 ++++++++++++++----
 drivers/net/dsa/microchip/ksz8795_reg.h            |  3 ++
 3 files changed, 59 insertions(+), 7 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 7, 2023, 10:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 5 Dec 2023 11:03:37 +0100 you wrote:
> KSZ88X3 devices can select between internal and external RMII reference clock.
> This patch series introduces new device tree property for setting reference
> clock to internal.
> 
> ---
> V7:
>   - adapt dt schema as suggested by Rob Herring
> V6:
>   - use dev->cpu_port and dsa_to_port() instead of parsing the device tree.
> V5:
>   - move rmii-clk-internal to be a port device tree property.
> V4:
>   - remove rmii_clk_internal from ksz_device, as its not needed any more
>   - move rmii clk config as well as ksz8795_cpu_interface_select to
>     ksz8_config_cpu_port
> V3:
>   - move ksz_cfg from global switch config to port config as suggested by Vladimir
>     Oltean
>   - reverse patch order as suggested by Vladimir Oltean
>   - adapt dt schema as suggested by Conor Dooley
> V2:
>   - don't rely on default register settings - enforce set/clear property as
>     suggested by Andrew Lunn
>   - enforce dt schema as suggested by Conor Dooley
> 
> [...]

Here is the summary with links:
  - [net-next,v7,1/2] dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal
    https://git.kernel.org/netdev/net-next/c/8e3bfaab2ad9
  - [net-next,v7,2/2] net: dsa: microchip: add property to select internal RMII reference clock
    https://git.kernel.org/netdev/net-next/c/9f19a4ebc80a

You are awesome, thank you!