diff options
author | Peter Geis <[email protected]> | 2022-04-09 11:21:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-04-21 18:58:35 +0200 |
commit | 4e64cd7763ca52dce5dff2c88f67a200f3aa37d3 (patch) | |
tree | 5e9fc74b5cd8dd7d146d42e189d4f870995df32e /scripts/gdb/linux/utils.py | |
parent | 0cade7885fd5bc47039986b632f3e5585f6b7c22 (diff) |
usb: dwc3: fix backwards compat with rockchip devices
Commit 33fb697ec7e5 ("usb: dwc3: Get clocks individually") moved from
the clk_bulk api to individual clocks, following the snps,dwc3.yaml
dt-binding for clock names.
Unfortunately the rk3328 (and upcoming rk356x support) use the
rockchip,dwc3.yaml which has different clock names, which are common on
devices using the glue layer.
The rk3328 does not use a glue layer, but attaches directly to the dwc3
core driver.
The offending patch series failed to account for this, thus dwc3 was
broken on rk3328.
To retain backwards compatibility with rk3328 device trees we must also
check for the alternate clock names.
Fixes: 33fb697ec7e5 ("usb: dwc3: Get clocks individually")
Reported-by: Frank Wunderlich <[email protected]>
Tested-By: Frank Wunderlich <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Acked-by: Sean Anderson <[email protected]>
Signed-off-by: Peter Geis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions