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(-) -- 2.31.1