netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] net: dsa: abstract PHY accesses
@ 2016-08-15 21:18 Vivien Didelot
  2016-08-15 21:18 ` [PATCH net-next 1/6] net: dsa: mv88e6xxx: rename _mv88e6xxx_wait Vivien Didelot
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Vivien Didelot @ 2016-08-15 21:18 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Florian Fainelli,
	Andrew Lunn, Vivien Didelot

The Marvell 88E6xxx switch chips have different way to access the PHY
devices registers. 

Old chips use a direct access to the PHY registers. Next chips have a
PHY Polling Unit (PPU) which needs to be disabled before accessing PHY
registers. Newer chips have an indirect access to the PHY devices so
that disabling the PPU is not necessary.

This patchset abstracts these accesses behind a new mv88e6xxx_phy_* API.

It also has the side effect to fix the temperature access code for
88E61xx chips which were using the wrong PHY access functions.

Vivien Didelot (6):
  net: dsa: mv88e6xxx: rename _mv88e6xxx_wait
  net: dsa: mv88e6xxx: describe Multi-chip registers
  net: dsa: mv88e6xxx: rework Global2 SMI PHY access
  net: dsa: mv88e6xxx: abstract PHY ops
  net: dsa: mv88e6xxx: describe PHY page and SerDes
  net: dsa: mv88e6xxx: use the new PHY API

 drivers/net/dsa/mv88e6xxx/chip.c      | 541 ++++++++++++++++++----------------
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 117 +++++---
 2 files changed, 369 insertions(+), 289 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2016-08-16 14:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 21:18 [PATCH net-next 0/6] net: dsa: abstract PHY accesses Vivien Didelot
2016-08-15 21:18 ` [PATCH net-next 1/6] net: dsa: mv88e6xxx: rename _mv88e6xxx_wait Vivien Didelot
2016-08-15 21:18 ` [PATCH net-next 2/6] net: dsa: mv88e6xxx: describe Multi-chip registers Vivien Didelot
2016-08-15 21:18 ` [PATCH net-next 3/6] net: dsa: mv88e6xxx: rework Global2 SMI PHY access Vivien Didelot
2016-08-15 21:19 ` [PATCH net-next 4/6] net: dsa: mv88e6xxx: abstract PHY ops Vivien Didelot
2016-08-15 21:19 ` [PATCH net-next 5/6] net: dsa: mv88e6xxx: describe PHY page and SerDes Vivien Didelot
2016-08-16  1:16   ` Andrew Lunn
2016-08-16 14:57     ` Vivien Didelot
2016-08-15 21:19 ` [PATCH net-next 6/6] net: dsa: mv88e6xxx: use the new PHY API Vivien Didelot
2016-08-15 23:44 ` [PATCH net-next 0/6] net: dsa: abstract PHY accesses David Miller

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).