From: Marek Vasut <marex@denx.de>
To: netdev@vger.kernel.org
Cc: f.fainelli@gmail.com, andrew@lunn.ch, Marek Vasut <marex@denx.de>,
Tristram Ha <Tristram.Ha@microchip.com>,
Woojung Huh <Woojung.Huh@microchip.com>
Subject: [RFT][PATCH V2 00/10] net: dsa: microchip: Convert to regmap
Date: Fri, 21 Dec 2018 02:58:31 +0100 [thread overview]
Message-ID: <20181221015841.6992-1-marex@denx.de> (raw)
This patchset converts KSZ9477 switch driver to regmap.
This was tested with extra patches on KSZ8795 and compile-tested
for KSZ9477, as I don't own a device with KSZ9477.
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@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Marek Vasut (10):
net: dsa: microchip: Remove ksz_{read,write}24()
net: dsa: microchip: Remove ksz_{get,set}()
net: dsa: microchip: Inline ksz_spi.h
net: dsa: microchip: Move ksz_cfg and ksz_port_cfg to ksz9477.c
net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function
call
net: dsa: microchip: Factor out register access opcode generation
net: dsa: microchip: Initial SPI regmap support
net: dsa: microchip: Dispose of ksz_io_ops
net: dsa: microchip: Factor out regmap config generation into common
header
net: dsa: microchip: Replace ad-hoc bit manipulation with regmap
drivers/net/dsa/microchip/Kconfig | 1 +
drivers/net/dsa/microchip/ksz9477.c | 35 +++---
drivers/net/dsa/microchip/ksz9477_spi.c | 112 +++--------------
drivers/net/dsa/microchip/ksz_common.c | 6 +-
drivers/net/dsa/microchip/ksz_common.h | 153 +++++++-----------------
drivers/net/dsa/microchip/ksz_priv.h | 23 +---
drivers/net/dsa/microchip/ksz_spi.h | 69 -----------
7 files changed, 79 insertions(+), 320 deletions(-)
delete mode 100644 drivers/net/dsa/microchip/ksz_spi.h
--
2.19.2
next reply other threads:[~2018-12-21 1:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-21 1:58 Marek Vasut [this message]
2018-12-21 1:58 ` [RFT][PATCH V2 01/10] net: dsa: microchip: Remove ksz_{read,write}24() Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 02/10] net: dsa: microchip: Remove ksz_{get,set}() Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 03/10] net: dsa: microchip: Inline ksz_spi.h Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 04/10] net: dsa: microchip: Move ksz_cfg and ksz_port_cfg to ksz9477.c Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 05/10] net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function call Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 06/10] net: dsa: microchip: Factor out register access opcode generation Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 07/10] net: dsa: microchip: Initial SPI regmap support Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 08/10] net: dsa: microchip: Dispose of ksz_io_ops Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 09/10] net: dsa: microchip: Factor out regmap config generation into common header Marek Vasut
2018-12-21 4:16 ` Tristram.Ha
2018-12-21 5:23 ` Marek Vasut
2019-01-05 21:50 ` Marek Vasut
2019-01-09 19:08 ` Tristram.Ha
2019-01-09 19:58 ` Tristram.Ha
2019-01-09 21:59 ` Marek Vasut
2019-01-10 2:10 ` Tristram.Ha
2019-01-10 14:37 ` Marek Vasut
2019-01-11 4:04 ` Tristram.Ha
2019-01-11 4:49 ` Marek Vasut
2019-01-11 18:56 ` Tristram.Ha
2019-01-12 0:11 ` Marek Vasut
2019-01-09 21:56 ` Marek Vasut
2018-12-21 1:58 ` [RFT][PATCH V2 10/10] net: dsa: microchip: Replace ad-hoc bit manipulation with regmap Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181221015841.6992-1-marex@denx.de \
--to=marex@denx.de \
--cc=Tristram.Ha@microchip.com \
--cc=Woojung.Huh@microchip.com \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).