[PATCH v4 1/2] ehci-platform: Add support for controllers with multiple reset lines

Rob Herring
2016-03-03T22:13:28Z

On Sat, Feb 27, 2016 at 05:58:58PM +0100, Hans de Goede wrote:
> From: Reinder de Haan <patchesrdh@mveas.com>
>
> At least the EHCI/OHCI found on the Allwinnner H3 SoC needs multiple
> reset lines, the controller will not initialize while the reset for
> its companion is still asserted, which means we need to de-assert
> 2 resets for the controller to work.
>
> Signed-off-by: Reinder de Haan <patchesrdh@mveas.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> Acked-by: Alan Stern <stern@rowland.harvard.edu>
> ---
> Changes in v2:
> -Use the new reset_control_[de]assert_shared reset-controller functions
> Changes in v3:
> -Adjust for changes to shared-reset reset-controller functions
> Changes in v4:
> -Fix Ugly continuation line
> ---
> Documentation/devicetree/bindings/usb/usb-ehci.txt | 2 +-

Acked-by: Rob Herring <robh@kernel.org>

> drivers/usb/host/ehci-platform.c | 41 ++++++++++++----------
> 2 files changed, 24 insertions(+), 19 deletions(-)