[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181220010647.4059-1-marex@denx.de>
Date: Thu, 20 Dec 2018 02:06:40 +0100
From: Marek Vasut <marex@...x.de>
To: netdev@...r.kernel.org
Cc: f.fainelli@...il.com, andrew@...n.ch, Marek Vasut <marex@...x.de>,
Tristram Ha <Tristram.Ha@...rochip.com>,
Woojung Huh <Woojung.Huh@...rochip.com>
Subject: [RFT][PATCH 0/7] net: dsa: microchip: Convert to regmap
This patchset converts KSZ9477 switch driver to regmap.
This was only compile-tested as I don't own a device with
KSZ9477, but is implemented in hope that it will help with
proper regmap conversion.
Note that the first 5 patches might just go in as cleanups,
the 6/7 and 7/7 probably need more debugging and/or work.
Tristram, I hope this helps you get started with the regmap.
Please test on the KSZ9477 and let me know how it works, or
ideally provide fixes :)
Signed-off-by: Marek Vasut <marex@...x.de>
Cc: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>
Cc: Tristram Ha <Tristram.Ha@...rochip.com>
Cc: Woojung Huh <Woojung.Huh@...rochip.com>
Marek Vasut (7):
net: dsa: microchip: Remove ksz_{read,write}24()
net: dsa: microchip: Remove ksz_{get,set}24()
net: dsa: microchip: Inline ksz_spi.h
net: dsa: microchip: Remove dev->txbuf
net: dsa: microchip: Factor out register access opcode generation
net: dsa: microchip: Initial SPI regmap support
net: dsa: microchip: Dispose of ksz_io_ops
drivers/net/dsa/microchip/Kconfig | 1 +
drivers/net/dsa/microchip/ksz9477_spi.c | 106 ++++--------------------
drivers/net/dsa/microchip/ksz_common.c | 6 +-
drivers/net/dsa/microchip/ksz_common.h | 96 ++++-----------------
drivers/net/dsa/microchip/ksz_priv.h | 23 +----
drivers/net/dsa/microchip/ksz_spi.h | 69 ---------------
6 files changed, 38 insertions(+), 263 deletions(-)
delete mode 100644 drivers/net/dsa/microchip/ksz_spi.h
--
2.19.2
Powered by blists - more mailing lists