Commit 25ff1eea authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Greg Kroah-Hartman

dt-bindings: usb: Add RK3588 OHCI

Add compatible for RK3588 OHCI. As far as I know it's fully
compatible with generic-ohci.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230522162937.53190-2-sebastian.reichel@collabora.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent db3c4e36
...@@ -44,6 +44,7 @@ properties: ...@@ -44,6 +44,7 @@ properties:
- hpe,gxp-ohci - hpe,gxp-ohci
- ibm,476gtr-ohci - ibm,476gtr-ohci
- ingenic,jz4740-ohci - ingenic,jz4740-ohci
- rockchip,rk3588-ohci
- snps,hsdk-v1.0-ohci - snps,hsdk-v1.0-ohci
- const: generic-ohci - const: generic-ohci
- enum: - enum:
...@@ -69,7 +70,7 @@ properties: ...@@ -69,7 +70,7 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 3 maxItems: 4
description: | description: |
In case the Renesas R-Car Gen3 SoCs: In case the Renesas R-Car Gen3 SoCs:
- if a host only channel: first clock should be host. - if a host only channel: first clock should be host.
...@@ -147,6 +148,20 @@ allOf: ...@@ -147,6 +148,20 @@ allOf:
then: then:
properties: properties:
transceiver: false transceiver: false
- if:
properties:
compatible:
contains:
const: rockchip,rk3588-ohci
then:
properties:
clocks:
minItems: 4
else:
properties:
clocks:
minItems: 1
maxItems: 3
unevaluatedProperties: false unevaluatedProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment