usb: misc: Add driver for usb4604
authorStephen Boyd <stephen.boyd@linaro.org>
Sun, 26 Jun 2016 05:24:54 +0000 (22:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Aug 2016 13:49:01 +0000 (15:49 +0200)
commit740a6a1720f631ef2ad84fc378f2469c37f389c7
tree0fdb451ed7e0f2d1914bdfd51d79f642d5a6e478
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
usb: misc: Add driver for usb4604

This is a minimal driver to support bringing a usb4604 device
from microchip out of reset and into hub mode. The usb4604 device
is related to the usb3503 device, but it didn't seem close enough
to warrant putting both into the same file. This patch borrows
some of the usb3503 structure and trims it down to just handle
the optional reset gpio and adds the i2c command to put the
device into hub mode.

Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/00001716A.pdf
Cc: <devicetree@vger.kernel.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb4604.txt [new file with mode: 0644]
drivers/usb/misc/Kconfig
drivers/usb/misc/Makefile
drivers/usb/misc/usb4604.c [new file with mode: 0644]