From: David S. Miller Date: Tue, 30 May 2017 17:57:33 +0000 (-0400) Subject: Merge branch 'net-qualcomm-add-QCA7000-UART-driver' X-Git-Tag: v4.13~415^2~347 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9711164d03ed1aadaa266a6b15c462487cca8056;p=mirror_ubuntu-artful-kernel.git 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 --- 9711164d03ed1aadaa266a6b15c462487cca8056