usb: gadget: net2280: Add support for PLX USB338X
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 20 May 2014 16:30:03 +0000 (18:30 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:33:30 +0000 (12:33 -0500)
commitadc82f77bee3487651f8ad253fb1c8a7bf4ec658
tree09f15eff43536090c040784ec1664ce0a444589d
parentdad833823f842bb038abd079da8f7eca9e654f5f
usb: gadget: net2280: Add support for PLX USB338X

This patch adds support for the PLX USB3380 and USB3382.

This driver is based on the driver from the manufacturer.

Since USB338X is register compatible with NET2280, I thought that it
would be better to include this hardware into net2280 driver.

Manufacturer's driver only supported the USB33X, did not follow the
Kernel Style and contain some trivial errors. This patch has tried to
address this issues.

This patch has only been tested on USB338x hardware, but the merge has
been done trying to not affect the behaviour of NET2280.

Tested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/net2280.c
drivers/usb/gadget/net2280.h
include/linux/usb/usb338x.h [new file with mode: 0644]