Hi,
This increases the max. allowed clocks for generic-ohci from 3 to 4.
On RK3588 a total of 4 clocks is required to access the OHCI registers.
Note, that EHCI already supports 4 clocks.
-- Sebastian
Sebastian Reichel (2):
dt-bindings: usb: generic-ohci: increase allowed clocks
usb: host: ohci-platform: increase max clock number to 4
Documentation/devicetree/bindings/usb/generic-ohci.yaml | 2 +-
drivers/usb/host/ohci-platform.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.39.2
Rockchip RK3588 OHCI requires 4 clocks to be enabled.
Signed-off-by: Sebastian Reichel <[email protected]>
---
drivers/usb/host/ohci-platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
index a84305091c43..dec38a845cff 100644
--- a/drivers/usb/host/ohci-platform.c
+++ b/drivers/usb/host/ohci-platform.c
@@ -33,7 +33,7 @@
#include "ohci.h"
#define DRIVER_DESC "OHCI generic platform driver"
-#define OHCI_MAX_CLKS 3
+#define OHCI_MAX_CLKS 4
#define hcd_to_ohci_priv(h) ((struct ohci_platform_priv *)hcd_to_ohci(h)->priv)
struct ohci_platform_priv {
--
2.39.2
On Fri, Mar 31, 2023 at 06:31:46PM +0200, Sebastian Reichel wrote:
> Hi,
>
> This increases the max. allowed clocks for generic-ohci from 3 to 4.
> On RK3588 a total of 4 clocks is required to access the OHCI registers.
> Note, that EHCI already supports 4 clocks.
>
> -- Sebastian
>
> Sebastian Reichel (2):
> dt-bindings: usb: generic-ohci: increase allowed clocks
> usb: host: ohci-platform: increase max clock number to 4
>
> Documentation/devicetree/bindings/usb/generic-ohci.yaml | 2 +-
> drivers/usb/host/ohci-platform.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Alan Stern <[email protected]>