linux/drivers/net/dsa/microchip
Marek Vasut 46558d601c net: dsa: microchip: Initial SPI regmap support
Add basic SPI regmap support into the driver.

Previous patches unconver that ksz_spi_write() is always ever called
with len = 1, 2 or 4. We can thus drop the if (len > SPI_TX_BUF_LEN)
check and we can also drop the allocation of the txbuf which is part
of the driver data and wastes 256 bytes for no reason. Regmap covers
the whole thing now.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-27 11:00:31 -07:00
..
Kconfig net: dsa: microchip: Initial SPI regmap support 2019-06-27 11:00:31 -07:00
ksz9477_reg.h net: dsa: microchip: rename ksz_9477_reg.h to ksz9477_reg.h 2018-11-20 20:57:12 -08:00
ksz9477_spi.c net: dsa: microchip: Initial SPI regmap support 2019-06-27 11:00:31 -07:00
ksz9477.c net: dsa: microchip: Use PORT_CTRL_ADDR() instead of indirect function call 2019-06-27 11:00:31 -07:00
ksz_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-17 20:20:36 -07:00
ksz_common.h net: dsa: microchip: Move ksz_cfg and ksz_port_cfg to ksz9477.c 2019-06-27 11:00:31 -07:00
ksz_priv.h net: dsa: microchip: Initial SPI regmap support 2019-06-27 11:00:31 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00