Re: [PATCH v4] usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver

From: Richard Leitner
Date: Wed Feb 08 2017 - 03:59:00 EST


On 02/08/2017 09:52 AM, Richard Leitner wrote:
> From: Richard Leitner <dev@xxxxxxxxxx>

Please drop/ignore that "From". This patch is from:
Richard Leitner <richard.leitner@xxxxxxxxxxx>

>
> This patch adds a driver for configuration of the Microchip USB251xB/xBi
> USB 2.0 hub controller series with USB 2.0 upstream connectivity, SMBus
> configuration interface and two to four USB 2.0 downstream ports.
>
> Furthermore add myself as a maintainer for this driver.
>
> The datasheet can be found at the manufacturers website, see [1]. All
> device-tree exposed configuration features have been tested on a i.MX6
> platform with a USB2512B hub.
>
> [1] http://ww1.microchip.com/downloads/en/DeviceDoc/00001692C.pdf
>
> Signed-off-by: Richard Leitner <richard.leitner@xxxxxxxxxxx>
> ---
> CHANGES v4:
> - use utf8s_to_utf16s() instead of ascii2utf16le()
> - remove ascii2utf16le() in lib/string.c again
> - remove changes in drivers/usb/core/hcd.c again
> (I will post a separate patch for using utf8s_to_utf16s()
> in there too)
>
> CHANGES v3:
> - move ascii2utf16le() to lib/string.c and also use it also for
> ascii2desc in drivers/usb/core/hcd.c
> - remove platform data support from usb251xb driver
>
> CHANGES v2:
> - fix max-{b,s}p-current property name
> - add descriptor string handling from platform_data
> - fix non-dt handling
> ---
> Documentation/devicetree/bindings/usb/usb251xb.txt | 83 +++
> MAINTAINERS | 8 +
> drivers/usb/misc/Kconfig | 9 +
> drivers/usb/misc/Makefile | 1 +
> drivers/usb/misc/usb251xb.c | 674 +++++++++++++++++++++
> 5 files changed, 775 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/usb/usb251xb.txt
> create mode 100644 drivers/usb/misc/usb251xb.c