Re: [PATCH 1/1] dt-bindings: usb: ci-hdrc-usb2: Fix number of clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Donnerstag, 6. Juli 2023, 21:18:25 CEST schrieb Rob Herring:
> On Thu, Jul 06, 2023 at 11:39:28AM +0200, Alexander Stein wrote:
> > Some (older) IP cores require 3 clocks, named 'ipg', 'ahb' and 'per' while
> > more recent IP cores just require one. Fix the number and explicitly
> > state the clock-names.
> > 
> > Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> > ---
> > 
> > >From I can tell, is that imx25, imx27, imx35 have specified 3 clocks in
> > 
> > their DT.
> > IMHO minItems for 'clock-names' can be removed as I presume that this
> > property is not set when only one clock is used.
> 
> Rather than presume, did you test that? Well, I did[1] and can confirm.

Okay, probably my wording was bad. There are a lot of users (e.g. imx8mm, 
imx8mn) which only have one clock but still provide some clock-names property.
It works just because it is not called 'ipg', but some SoC specific clock 
name.
So this patch should cause some warnings, but these users were incorrect in 
the first place. Following up this patch, they need to be fixed.

Best regards,
Alexander

> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
> 
> [1]
> https://patchwork.ozlabs.org/project/devicetree-bindings/patch/202307060939
> 28.3580544-1-alexander.stein@xxxxxxxxxxxxxxx/


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/






[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux