[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1547695326-31553-1-git-send-email-Tristram.Ha@microchip.com>
Date: Wed, 16 Jan 2019 19:22:02 -0800
From: <Tristram.Ha@...rochip.com>
To: Sergio Paracuellos <sergio.paracuellos@...il.com>,
Marek Vasut <marex@...x.de>, Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Pavel Machek <pavel@....cz>,
Dan Carpenter <dan.carpenter@...cle.com>
CC: Tristram Ha <Tristram.Ha@...rochip.com>,
<vivien.didelot@...oirfairelinux.com>,
<UNGLinuxDriver@...rochip.com>, <netdev@...r.kernel.org>
Subject: [PATCH RFC 0/4] Convert KSZ9477 SPI driver to use regmap
From: Tristram Ha <Tristram.Ha@...rochip.com>
Convert KSZ9477 SPI driver to use regmap mechanism so that an I2C
driver can be easily added.
Original regmap implementation was submitted by Marek Vasut. Modified
and verified the implementation on real hardware.
Tristram Ha (4):
net: dsa: microchip: convert KSZ9477 SPI driver to use regmap
net: dsa: microchip: Use regmap_update_bits
net: dsa: microchip: remove ksz9477_get_port_addr
net: dsa: microchip: remove ksz_spi.h
drivers/net/dsa/microchip/Kconfig | 1 +
drivers/net/dsa/microchip/ksz9477.c | 34 +--------
drivers/net/dsa/microchip/ksz9477_spi.c | 131 ++++++++++----------------------
drivers/net/dsa/microchip/ksz_common.c | 9 +--
drivers/net/dsa/microchip/ksz_common.h | 113 ++++++++-------------------
drivers/net/dsa/microchip/ksz_priv.h | 29 +------
drivers/net/dsa/microchip/ksz_spi.h | 69 -----------------
7 files changed, 84 insertions(+), 302 deletions(-)
delete mode 100644 drivers/net/dsa/microchip/ksz_spi.h
--
1.9.1
Powered by blists - more mailing lists