Merge branch 'net-qualcomm-add-QCA7000-UART-driver'
Stefan Wahren says:
====================
net: qualcomm: add QCA7000 UART driver
The Qualcomm QCA7000 HomePlug GreenPHY supports two interfaces:
UART and SPI. This patch series adds the missing support for UART.
This driver based on the Qualcomm code [1], but contains some changes:
* use random MAC address per default
* use net_device_stats from device
* share frame decoding between SPI and UART driver
* improve error handling
* reimplement tty_wakeup with work queue (based on slcan)
* use new serial device bus instead of ldisc
The patches 1 - 3 are just for clean up and are not related to
the UART support. Patch 4 adds SET_NETDEV_DEV() to qca_spi.
Patches 5 - 16 prepare the existing QCA7000 code for UART support.
The last patch contains the new driver.
The code itself has been tested on a Freescale i.MX28 board and
a Raspberry Pi Zero.
Changes in v8:
* add necessary header includes to qca_7k.c in order to reflect
dependencies
Changes in v7:
* fix race between tx workqueue and device deregistration (reported by Lino)
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- Documentation/devicetree/bindings/net/qca,qca7000.txt 88 additions, 0 deletionsDocumentation/devicetree/bindings/net/qca,qca7000.txt
- Documentation/devicetree/bindings/net/qca-qca7000-spi.txt 0 additions, 47 deletionsDocumentation/devicetree/bindings/net/qca-qca7000-spi.txt
- Documentation/devicetree/bindings/serial/slave-device.txt 9 additions, 0 deletionsDocumentation/devicetree/bindings/serial/slave-device.txt
- drivers/net/ethernet/qualcomm/Kconfig 23 additions, 1 deletiondrivers/net/ethernet/qualcomm/Kconfig
- drivers/net/ethernet/qualcomm/Makefile 5 additions, 2 deletionsdrivers/net/ethernet/qualcomm/Makefile
- drivers/net/ethernet/qualcomm/qca_7k.c 2 additions, 28 deletionsdrivers/net/ethernet/qualcomm/qca_7k.c
- drivers/net/ethernet/qualcomm/qca_7k.h 7 additions, 8 deletionsdrivers/net/ethernet/qualcomm/qca_7k.h
- drivers/net/ethernet/qualcomm/qca_7k_common.c 18 additions, 8 deletionsdrivers/net/ethernet/qualcomm/qca_7k_common.c
- drivers/net/ethernet/qualcomm/qca_7k_common.h 17 additions, 7 deletionsdrivers/net/ethernet/qualcomm/qca_7k_common.h
- drivers/net/ethernet/qualcomm/qca_debug.c 3 additions, 2 deletionsdrivers/net/ethernet/qualcomm/qca_debug.c
- drivers/net/ethernet/qualcomm/qca_spi.c 36 additions, 12 deletionsdrivers/net/ethernet/qualcomm/qca_spi.c
- drivers/net/ethernet/qualcomm/qca_spi.h 1 addition, 4 deletionsdrivers/net/ethernet/qualcomm/qca_spi.h
- drivers/net/ethernet/qualcomm/qca_uart.c 423 additions, 0 deletionsdrivers/net/ethernet/qualcomm/qca_uart.c
Loading
Please register or sign in to comment