diff options
| author | Xavier Drudis Ferran <[email protected]> | 2023-06-05 17:06:57 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-06-07 23:41:47 +0200 |
| commit | 40359c94405b103d25233d8d727d671748b751b9 (patch) | |
| tree | bdf44f37a3175e0f29b74e67713b40b6ee0f84af /scripts/basic | |
| parent | e81512ac30c154c320b54036919cd3a6f4cc1516 (diff) | |
phy: rockchip-inno-usb2: Implement clock operations for usb2phy clock
This clock doesn't seem needed but appears in a phandle list used by
ehci-generic.c to bulk enable it. The phandle list comes from linux,
where it is needed for suspend/resume to work [1].
My tests give the same results with or without this patch, but Marek
Vasut found it weird to declare an empty clk_ops [2].
So I adapted the code from linux 6.1-rc8 so that it hopefully works
if it ever has some user. For now, without real use, it seems to
at least not give any errors when called.
Link: [1] https://lkml.kernel.org/lkml/1731551.Q6cHK6n5ZM@phil/T/
[2] https://patchwork.ozlabs.org/project/uboot/patch/Y5IWpjYLB4aXMy9o@localhost/
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Christoph Fritz <[email protected]>
Cc: Jagan Teki <[email protected]>
Signed-off-by: Xavier Drudis Ferran <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]> # rk3399, rk3328, rv1126
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
