devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] net: dsa: microchip: enable setting rmii reference
@ 2023-10-18  9:24 Ante Knezic
  2023-10-18  9:24 ` [PATCH net-next v3 1/2] dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal Ante Knezic
  0 siblings, 1 reply; 11+ messages in thread
From: Ante Knezic @ 2023-10-18  9:24 UTC (permalink / raw)
  To: netdev
  Cc: woojung.huh, andrew, f.fainelli, olteanv, davem, edumazet, kuba,
	pabeni, robh+dt, krzysztof.kozlowski+dt, conor+dt, marex,
	devicetree, linux-kernel, UNGLinuxDriver, Ante Knezic

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.

---
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      | 17 +++++++++++++++++
 drivers/net/dsa/microchip/ksz8795.c                     | 10 +++++++++-
 drivers/net/dsa/microchip/ksz8795_reg.h                 |  3 +++
 drivers/net/dsa/microchip/ksz_common.h                  |  1 +
 4 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-20 10:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18  9:24 [PATCH net-next v3 0/2] net: dsa: microchip: enable setting rmii reference Ante Knezic
2023-10-18  9:24 ` [PATCH net-next v3 1/2] dt-bindings: net: microchip,ksz: document microchip,rmii-clk-internal Ante Knezic
2023-10-18  9:24   ` [PATCH net-next v3 2/2] net:dsa:microchip: add property to select internal RMII reference clock Ante Knezic
2023-10-18 13:52     ` Andrew Lunn
2023-10-18 14:06       ` [PATCH net-next v3 2/2] net:dsa:microchip: add property to select Ante Knezic
2023-10-18 14:09         ` Andrew Lunn
2023-10-19 16:54     ` [PATCH net-next v3 2/2] net:dsa:microchip: add property to select internal RMII reference clock Vladimir Oltean
2023-10-20  8:46       ` [PATCH net-next v3 2/2] net:dsa:microchip: add property to select Ante Knezic
2023-10-20  9:27         ` Vladimir Oltean
2023-10-20 10:00           ` Vladimir Oltean
2023-10-20 10:26             ` Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).