mbox series

[net-next,v4,0/2] Allow disabling KSZ switch refclock

Message ID 20220127164156.3677856-1-robert.hancock@calian.com
Headers show
Series Allow disabling KSZ switch refclock | expand

Message

Robert Hancock Jan. 27, 2022, 4:41 p.m. UTC
The reference clock output from the KSZ9477 and related Microchip
switch devices is not required on all board designs. Add a device
tree property to disable it for power and EMI reasons.

Changes since v3:
-rework some code for simplicity

Changes since v2:
-check for conflicting options in DT, added note in bindings doc

Changes since v1:
-added Acked-by on patch 1, rebase to net-next

Robert Hancock (2):
  net: dsa: microchip: Document property to disable reference clock
  net: dsa: microchip: Add property to disable reference clock

 .../devicetree/bindings/net/dsa/microchip,ksz.yaml       | 6 ++++++
 drivers/net/dsa/microchip/ksz9477.c                      | 9 ++++++---
 drivers/net/dsa/microchip/ksz_common.c                   | 6 ++++++
 drivers/net/dsa/microchip/ksz_common.h                   | 1 +
 4 files changed, 19 insertions(+), 3 deletions(-)

Comments

Florian Fainelli Jan. 27, 2022, 4:57 p.m. UTC | #1
On 1/27/2022 8:41 AM, Robert Hancock wrote:
> Add a new microchip,synclko-disable property which can be specified
> to disable the reference clock output from the device if not required
> by the board design.
> 
> Signed-off-by: Robert Hancock <robert.hancock@calian.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
patchwork-bot+netdevbpf@kernel.org Jan. 28, 2022, 3:10 p.m. UTC | #2
Hello:

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

On Thu, 27 Jan 2022 10:41:54 -0600 you wrote:
> The reference clock output from the KSZ9477 and related Microchip
> switch devices is not required on all board designs. Add a device
> tree property to disable it for power and EMI reasons.
> 
> Changes since v3:
> -rework some code for simplicity
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/2] net: dsa: microchip: Document property to disable reference clock
    https://git.kernel.org/netdev/net-next/c/eccfecfe587b
  - [net-next,v4,2/2] net: dsa: microchip: Add property to disable reference clock
    https://git.kernel.org/netdev/net-next/c/48bf8b8a04c9

You are awesome, thank you!