OSDN Git Service

usb: dwc3: of-simple: add support for the Amlogic Meson GXL and AXG SoCs
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Feb 2018 21:15:17 +0000 (22:15 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:50 +0000 (10:47 +0200)
commite8284db48f1f5fde93285479d18ae528ec27dce4
tree51229b26e9de6cda72b02e1a085293547cc893df
parentff0a632f08759e31f45b06fee27bc71c826c6b11
usb: dwc3: of-simple: add support for the Amlogic Meson GXL and AXG SoCs

Amlogic Meson GXL and AXG SoCs come with a (host-only) dwc3 USB
controller. To use this controller a clock has to be enabled and a reset
line has to be pulsed.
Enabling the clock works identical to other SoCs. However, the reset
line has to be pulsed (using reset_control_reset) instead of using a
level reset (reset_control_{assert,deassert}).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c