usb: dwc2: add amcc,dwc-otg support
authorChristian Lamparter <chunkeey@googlemail.com>
Tue, 15 Nov 2016 23:03:40 +0000 (15:03 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:51 +0000 (13:54 +0200)
commit3922fb46f06035a246d31d25869a3276f1a1afa3
treeeb364887b88d35e44d4bada34c0c259989622a47
parent4be0080c18fb41a95ab47ba7caff8359582457f9
usb: dwc2: add amcc,dwc-otg support

This patch adds support for the "amcc,usb-otg" device
which is found in the PowerPC Canyonlands' dts.

The device definition was added by:

commit c89b3458d8cc ("powerpc/44x: Add USB DWC DTS entry to Canyonlands
board")

but without any driver support as the dwc2 driver wasn't available at
that time.

Note: The system can't use the generic "snps,dwc2" compatible
because of the special ahbcfg configuration. The default
GAHBCFG_HBSTLEN_INCR4 of snps,dwc2 can cause a system hang
when the USB and SATA is used concurrently.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/usb/dwc2.txt
drivers/usb/dwc2/params.c