* [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-04 14:53 Sebastian Reichel
@ 2023-04-04 14:53 ` Sebastian Reichel
2023-04-06 7:45 ` Krzysztof Kozlowski
0 siblings, 1 reply; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-04 14:53 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, Sebastian Reichel, kernel
Add compatible for RK3588 OHCI. As far as I know it's fully
compatible with generic-ohci.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
.../devicetree/bindings/usb/generic-ohci.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index a9ba7257b884..d84732a100ba 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -44,6 +44,7 @@ properties:
- hpe,gxp-ohci
- ibm,476gtr-ohci
- ingenic,jz4740-ohci
+ - rockchip,rk3588-ohci
- snps,hsdk-v1.0-ohci
- const: generic-ohci
- enum:
@@ -68,8 +69,6 @@ properties:
maxItems: 2
clocks:
- minItems: 1
- maxItems: 3
description: |
In case the Renesas R-Car Gen3 SoCs:
- if a host only channel: first clock should be host.
@@ -147,6 +146,21 @@ allOf:
then:
properties:
transceiver: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3588-ohci
+ then:
+ properties:
+ clocks:
+ minItems: 4
+ maxItems: 4
+ else:
+ properties:
+ clocks:
+ minItems: 1
+ maxItems: 3
additionalProperties: false
--
2.39.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-04 14:53 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
@ 2023-04-06 7:45 ` Krzysztof Kozlowski
2023-04-06 10:51 ` Sebastian Reichel
0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-06 7:45 UTC (permalink / raw)
To: Sebastian Reichel, Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, kernel
On 04/04/2023 16:53, Sebastian Reichel wrote:
> Add compatible for RK3588 OHCI. As far as I know it's fully
> compatible with generic-ohci.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> .../devicetree/bindings/usb/generic-ohci.yaml | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> index a9ba7257b884..d84732a100ba 100644
> --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> @@ -44,6 +44,7 @@ properties:
> - hpe,gxp-ohci
> - ibm,476gtr-ohci
> - ingenic,jz4740-ohci
> + - rockchip,rk3588-ohci
> - snps,hsdk-v1.0-ohci
> - const: generic-ohci
> - enum:
> @@ -68,8 +69,6 @@ properties:
> maxItems: 2
>
> clocks:
> - minItems: 1
> - maxItems: 3
The constraints here should stay.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 7:45 ` Krzysztof Kozlowski
@ 2023-04-06 10:51 ` Sebastian Reichel
2023-04-06 11:02 ` Krzysztof Kozlowski
0 siblings, 1 reply; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 10:51 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Alan Stern, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
linux-usb, devicetree, linux-kernel, kernel
[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]
Hi Krzysztof,
On Thu, Apr 06, 2023 at 09:45:11AM +0200, Krzysztof Kozlowski wrote:
> On 04/04/2023 16:53, Sebastian Reichel wrote:
> > Add compatible for RK3588 OHCI. As far as I know it's fully
> > compatible with generic-ohci.
> >
> > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> > ---
> > .../devicetree/bindings/usb/generic-ohci.yaml | 18 ++++++++++++++++--
> > 1 file changed, 16 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> > index a9ba7257b884..d84732a100ba 100644
> > --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> > +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> > @@ -44,6 +44,7 @@ properties:
> > - hpe,gxp-ohci
> > - ibm,476gtr-ohci
> > - ingenic,jz4740-ohci
> > + - rockchip,rk3588-ohci
> > - snps,hsdk-v1.0-ohci
> > - const: generic-ohci
> > - enum:
> > @@ -68,8 +69,6 @@ properties:
> > maxItems: 2
> >
> > clocks:
> > - minItems: 1
> > - maxItems: 3
>
> The constraints here should stay.
dtbs_check complained about the 4 RK3588 clock entries if this
stays. That's why I moved them to the condition down below into
the else branch.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 10:51 ` Sebastian Reichel
@ 2023-04-06 11:02 ` Krzysztof Kozlowski
2023-04-06 12:33 ` Sebastian Reichel
0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-06 11:02 UTC (permalink / raw)
To: Sebastian Reichel
Cc: Alan Stern, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
linux-usb, devicetree, linux-kernel, kernel
On 06/04/2023 12:51, Sebastian Reichel wrote:
> Hi Krzysztof,
>
> On Thu, Apr 06, 2023 at 09:45:11AM +0200, Krzysztof Kozlowski wrote:
>> On 04/04/2023 16:53, Sebastian Reichel wrote:
>>> Add compatible for RK3588 OHCI. As far as I know it's fully
>>> compatible with generic-ohci.
>>>
>>> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
>>> ---
>>> .../devicetree/bindings/usb/generic-ohci.yaml | 18 ++++++++++++++++--
>>> 1 file changed, 16 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
>>> index a9ba7257b884..d84732a100ba 100644
>>> --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
>>> +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
>>> @@ -44,6 +44,7 @@ properties:
>>> - hpe,gxp-ohci
>>> - ibm,476gtr-ohci
>>> - ingenic,jz4740-ohci
>>> + - rockchip,rk3588-ohci
>>> - snps,hsdk-v1.0-ohci
>>> - const: generic-ohci
>>> - enum:
>>> @@ -68,8 +69,6 @@ properties:
>>> maxItems: 2
>>>
>>> clocks:
>>> - minItems: 1
>>> - maxItems: 3
>>
>> The constraints here should stay.
>
> dtbs_check complained about the 4 RK3588 clock entries if this
> stays. That's why I moved them to the condition down below into
> the else branch.
Which is not what we want. We want the constraints here (the widest).
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 11:02 ` Krzysztof Kozlowski
@ 2023-04-06 12:33 ` Sebastian Reichel
2023-04-06 12:47 ` Krzysztof Kozlowski
0 siblings, 1 reply; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 12:33 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Alan Stern, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
linux-usb, devicetree, linux-kernel, kernel
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
Hi,
On Thu, Apr 06, 2023 at 01:02:44PM +0200, Krzysztof Kozlowski wrote:
> On 06/04/2023 12:51, Sebastian Reichel wrote:
> >>> clocks:
> >>> - minItems: 1
> >>> - maxItems: 3
> >>
> >> The constraints here should stay.
> >
> > dtbs_check complained about the 4 RK3588 clock entries if this
> > stays. That's why I moved them to the condition down below into
> > the else branch.
>
> Which is not what we want. We want the constraints here (the widest).
So it should look like this?
clocks:
minItems: 1
maxItems: 4
...
if rk3588:
clocks:
minItems: 4
maxItems: 4
else:
clocks:
minItems: 1
maxItems: 3
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 12:33 ` Sebastian Reichel
@ 2023-04-06 12:47 ` Krzysztof Kozlowski
0 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-06 12:47 UTC (permalink / raw)
To: Sebastian Reichel
Cc: Alan Stern, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
linux-usb, devicetree, linux-kernel, kernel
On 06/04/2023 14:33, Sebastian Reichel wrote:
> Hi,
>
> On Thu, Apr 06, 2023 at 01:02:44PM +0200, Krzysztof Kozlowski wrote:
>> On 06/04/2023 12:51, Sebastian Reichel wrote:
>>>>> clocks:
>>>>> - minItems: 1
>>>>> - maxItems: 3
>>>>
>>>> The constraints here should stay.
>>>
>>> dtbs_check complained about the 4 RK3588 clock entries if this
>>> stays. That's why I moved them to the condition down below into
>>> the else branch.
>>
>> Which is not what we want. We want the constraints here (the widest).
>
> So it should look like this?
>
> clocks:
> minItems: 1
> maxItems: 4
>
Yes.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support
@ 2023-04-06 13:55 Sebastian Reichel
2023-04-06 13:55 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 13:55 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, Sebastian Reichel, kernel
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.
EHCI already supports 4 clocks.
Changes since PATCHv2:
* https://lore.kernel.org/all/20230404145350.45388-1-sebastian.reichel@collabora.com/
* Added Krzysztof's Ack to the EHCI binding update
* Changed OHCI binding update according to Krzysztof's feedback
Changes since PATCHv1:
* https://lore.kernel.org/all/20230331163148.5863-1-sebastian.reichel@collabora.com/
* changed cover-letter subject
* Add Alan's Acked-by to the driver patch increasing the clock count
* Update bindings, adding rockchip,rk3588-ohci and rockchip,rk3588-ehci compatibles
-- Sebastian
Sebastian Reichel (3):
dt-bindings: usb: Add RK3588 OHCI
dt-bindings: usb: Add RK3588 EHCI
usb: host: ohci-platform: increase max clock number to 4
.../devicetree/bindings/usb/generic-ehci.yaml | 1 +
.../devicetree/bindings/usb/generic-ohci.yaml | 18 +++++++++++++++++-
drivers/usb/host/ohci-platform.c | 2 +-
3 files changed, 19 insertions(+), 2 deletions(-)
--
2.39.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 13:55 [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
@ 2023-04-06 13:55 ` Sebastian Reichel
2023-04-11 13:12 ` Rob Herring
2023-04-06 13:55 ` [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI Sebastian Reichel
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 13:55 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, Sebastian Reichel, kernel
Add compatible for RK3588 OHCI. As far as I know it's fully
compatible with generic-ohci.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
.../devicetree/bindings/usb/generic-ohci.yaml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index a9ba7257b884..e116ed90471e 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -44,6 +44,7 @@ properties:
- hpe,gxp-ohci
- ibm,476gtr-ohci
- ingenic,jz4740-ohci
+ - rockchip,rk3588-ohci
- snps,hsdk-v1.0-ohci
- const: generic-ohci
- enum:
@@ -69,7 +70,7 @@ properties:
clocks:
minItems: 1
- maxItems: 3
+ maxItems: 4
description: |
In case the Renesas R-Car Gen3 SoCs:
- if a host only channel: first clock should be host.
@@ -147,6 +148,21 @@ allOf:
then:
properties:
transceiver: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3588-ohci
+ then:
+ properties:
+ clocks:
+ minItems: 4
+ maxItems: 4
+ else:
+ properties:
+ clocks:
+ minItems: 1
+ maxItems: 3
additionalProperties: false
--
2.39.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI
2023-04-06 13:55 [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
2023-04-06 13:55 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
@ 2023-04-06 13:55 ` Sebastian Reichel
2023-04-11 13:12 ` Rob Herring
2023-04-06 13:55 ` [PATCHv1 3/3] usb: host: ohci-platform: increase max clock number to 4 Sebastian Reichel
2023-04-06 14:09 ` [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
3 siblings, 1 reply; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 13:55 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, Sebastian Reichel, kernel, Krzysztof Kozlowski
Add compatible for RK3588 EHCI. As far as I know it's fully
compatible with generic-ehci.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
Documentation/devicetree/bindings/usb/generic-ehci.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index 050cfd5acdaa..01bfbc6ded5c 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -61,6 +61,7 @@ properties:
- ibm,476gtr-ehci
- nxp,lpc1850-ehci
- qca,ar7100-ehci
+ - rockchip,rk3588-ehci
- snps,hsdk-v1.0-ehci
- socionext,uniphier-ehci
- const: generic-ehci
--
2.39.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCHv1 3/3] usb: host: ohci-platform: increase max clock number to 4
2023-04-06 13:55 [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
2023-04-06 13:55 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
2023-04-06 13:55 ` [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI Sebastian Reichel
@ 2023-04-06 13:55 ` Sebastian Reichel
2023-04-06 14:09 ` [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
3 siblings, 0 replies; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 13:55 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, Sebastian Reichel, kernel
Rockchip RK3588 OHCI requires 4 clocks to be enabled.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
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
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support
2023-04-06 13:55 [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
` (2 preceding siblings ...)
2023-04-06 13:55 ` [PATCHv1 3/3] usb: host: ohci-platform: increase max clock number to 4 Sebastian Reichel
@ 2023-04-06 14:09 ` Sebastian Reichel
3 siblings, 0 replies; 13+ messages in thread
From: Sebastian Reichel @ 2023-04-06 14:09 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, linux-usb, devicetree,
linux-kernel, kernel
[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]
Hi,
On Thu, Apr 06, 2023 at 03:55:49PM +0200, Sebastian Reichel wrote:
> 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.
> EHCI already supports 4 clocks.
>
> Changes since PATCHv2:
> * https://lore.kernel.org/all/20230404145350.45388-1-sebastian.reichel@collabora.com/
> * Added Krzysztof's Ack to the EHCI binding update
> * Changed OHCI binding update according to Krzysztof's feedback
>
> Changes since PATCHv1:
> * https://lore.kernel.org/all/20230331163148.5863-1-sebastian.reichel@collabora.com/
> * changed cover-letter subject
> * Add Alan's Acked-by to the driver patch increasing the clock count
> * Update bindings, adding rockchip,rk3588-ohci and rockchip,rk3588-ehci compatibles
Sorry, this is PATCHv3. I somehow missed the point from Greg last
time (and thought it was about the subject) and even forgot to
increase the patch version yet another time :(
I will give some time for DT people to review the OHCI binding patch
and then send it again with version increased to v4, so that it can
easily be applied with b4. Sorry for the confusion.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
2023-04-06 13:55 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
@ 2023-04-11 13:12 ` Rob Herring
0 siblings, 0 replies; 13+ messages in thread
From: Rob Herring @ 2023-04-11 13:12 UTC (permalink / raw)
To: Sebastian Reichel
Cc: Alan Stern, Greg Kroah-Hartman, Krzysztof Kozlowski, linux-usb,
devicetree, linux-kernel, kernel
On Thu, Apr 06, 2023 at 03:55:50PM +0200, Sebastian Reichel wrote:
> Add compatible for RK3588 OHCI. As far as I know it's fully
> compatible with generic-ohci.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> .../devicetree/bindings/usb/generic-ohci.yaml | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> index a9ba7257b884..e116ed90471e 100644
> --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> @@ -44,6 +44,7 @@ properties:
> - hpe,gxp-ohci
> - ibm,476gtr-ohci
> - ingenic,jz4740-ohci
> + - rockchip,rk3588-ohci
> - snps,hsdk-v1.0-ohci
> - const: generic-ohci
> - enum:
> @@ -69,7 +70,7 @@ properties:
>
> clocks:
> minItems: 1
> - maxItems: 3
> + maxItems: 4
> description: |
> In case the Renesas R-Car Gen3 SoCs:
> - if a host only channel: first clock should be host.
> @@ -147,6 +148,21 @@ allOf:
> then:
> properties:
> transceiver: false
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: rockchip,rk3588-ohci
> + then:
> + properties:
> + clocks:
> + minItems: 4
> + maxItems: 4
Only need minItems here.
> + else:
> + properties:
> + clocks:
> + minItems: 1
> + maxItems: 3
Only need maxItems here.
With that,
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI
2023-04-06 13:55 ` [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI Sebastian Reichel
@ 2023-04-11 13:12 ` Rob Herring
0 siblings, 0 replies; 13+ messages in thread
From: Rob Herring @ 2023-04-11 13:12 UTC (permalink / raw)
To: Sebastian Reichel
Cc: Rob Herring, Greg Kroah-Hartman, linux-usb, devicetree, kernel,
Krzysztof Kozlowski, Krzysztof Kozlowski, Alan Stern,
linux-kernel
On Thu, 06 Apr 2023 15:55:51 +0200, Sebastian Reichel wrote:
> Add compatible for RK3588 EHCI. As far as I know it's fully
> compatible with generic-ehci.
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> ---
> Documentation/devicetree/bindings/usb/generic-ehci.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-04-11 13:13 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-06 13:55 [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
2023-04-06 13:55 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
2023-04-11 13:12 ` Rob Herring
2023-04-06 13:55 ` [PATCHv1 2/3] dt-bindings: usb: Add RK3588 EHCI Sebastian Reichel
2023-04-11 13:12 ` Rob Herring
2023-04-06 13:55 ` [PATCHv1 3/3] usb: host: ohci-platform: increase max clock number to 4 Sebastian Reichel
2023-04-06 14:09 ` [PATCHv1 0/3] generic-ohci/ehci: add RK3588 support Sebastian Reichel
-- strict thread matches above, loose matches on Subject: below --
2023-04-04 14:53 Sebastian Reichel
2023-04-04 14:53 ` [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI Sebastian Reichel
2023-04-06 7:45 ` Krzysztof Kozlowski
2023-04-06 10:51 ` Sebastian Reichel
2023-04-06 11:02 ` Krzysztof Kozlowski
2023-04-06 12:33 ` Sebastian Reichel
2023-04-06 12:47 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).