Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: dwc2: add support for the DWC2 controller on Meson8 SoCs

USB support in the Meson8 SoCs is provided by a DWC2 controller which
works with the same settings as Meson8b and GXBB. Using the generic
"snps,dwc2" binding results in an endless stream of "Overcurrent change
detected" messages.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>

authored by

Martin Blumenstingl and committed by
Felipe Balbi
55b644fd 5ed02dbb

+3
+1
Documentation/devicetree/bindings/usb/dwc2.txt
··· 10 10 - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc; 11 11 - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; 12 12 - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; 13 + - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs; 13 14 - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs; 14 15 - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs; 15 16 - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs;
+2
drivers/usb/dwc2/params.c
··· 144 144 { .compatible = "lantiq,xrx200-usb", .data = dwc2_set_ltq_params }, 145 145 { .compatible = "snps,dwc2" }, 146 146 { .compatible = "samsung,s3c6400-hsotg" }, 147 + { .compatible = "amlogic,meson8-usb", 148 + .data = dwc2_set_amlogic_params }, 147 149 { .compatible = "amlogic,meson8b-usb", 148 150 .data = dwc2_set_amlogic_params }, 149 151 { .compatible = "amlogic,meson-gxbb-usb",