Re: [PATCHv1 1/3] dt-bindings: usb: Add RK3588 OHCI
From: Sebastian Reichel
Date: Thu Apr 06 2023 - 08:33:32 EST
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:
signature.asc
Description: PGP signature