]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/usb/host/ehci-mv.c
USB: EHCI: ehci-mv: switch the HSIC HCI to HSIC mode
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 9 Mar 2020 13:00:13 +0000 (14:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 08:49:29 +0000 (09:49 +0100)
commit6351f1708b14a7181b33c54f47bc38da8f9dc316
tree576c038f1377dbf653d0ba059ab95f73b8c00801
parent706f4bbf187c68cb360548659be7191e43b3650c
USB: EHCI: ehci-mv: switch the HSIC HCI to HSIC mode

Turns out the undocumented and reserved bits of port status/control
register of the root port need to be set to use the HCI in HSIC mode.

Typically the firmware does this, but that is not always good enough,
because the bits get lost if the HSIC clock is disabled (e.g. when
ehci-mv is build as a module).

This supplements commit 7b104f890ade ("USB: EHCI: ehci-mv: add HSIC
support").

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200309130014.548168-1-lkundrak@v3.sk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mv.c