netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Move hwmon support out of switch and into PHYs.
@ 2017-01-11  1:03 Andrew Lunn
  2017-01-11  1:03 ` [PATCH net-next 1/2] phy: marvell: Add support for temperature sensor Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andrew Lunn @ 2017-01-11  1:03 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Vivien Didelot, Florian Fainelli, Andrew Lunn

Marvell Ethernet switches contain temperature sensors. They are inside
the embedded PHYs. Move the code into the PHY driver, so that discrete
PHY drivers also export there temperature sensor.

Andrew Lunn (2):
  phy: marvell: Add support for temperature sensor
  net: dsa: Remove hwmon support

 drivers/net/dsa/mv88e6xxx/chip.c      | 154 ------------
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h |  16 --
 drivers/net/phy/marvell.c             | 426 +++++++++++++++++++++++++++++++++-
 include/net/dsa.h                     |   8 -
 net/dsa/Kconfig                       |  11 -
 net/dsa/Makefile                      |   1 -
 net/dsa/dsa.c                         |   4 -
 net/dsa/dsa_priv.h                    |   9 -
 net/dsa/hwmon.c                       | 147 ------------
 9 files changed, 423 insertions(+), 353 deletions(-)
 delete mode 100644 net/dsa/hwmon.c

-- 
2.11.0

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

end of thread, other threads:[~2017-01-11 20:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-11  1:03 [PATCH net-next 0/2] Move hwmon support out of switch and into PHYs Andrew Lunn
2017-01-11  1:03 ` [PATCH net-next 1/2] phy: marvell: Add support for temperature sensor Andrew Lunn
2017-01-11 15:09   ` Andrew Lunn
2017-01-11 16:29     ` Sergei Shtylyov
2017-01-11  1:03 ` [PATCH net-next 2/2] net: dsa: Remove hwmon support Andrew Lunn
2017-01-11 17:06 ` [PATCH net-next 0/2] Move hwmon support out of switch and into PHYs Vivien Didelot
2017-01-11 17:37   ` Andrew Lunn
2017-01-11 17:55     ` Florian Fainelli
2017-01-11 19:19       ` Andrew Lunn
2017-01-11 18:00     ` Guenter Roeck
2017-01-11 19:16       ` Andrew Lunn
2017-01-11 20:00         ` Guenter Roeck

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