On Tue, Jan 14, 2025 at 10:29 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote: > > On 14/01/2025 10:11, Dario Binacchi wrote: > > The patch converts st,stm32-rcc.txt to the JSON schema, but it does more > > than that. The old bindings, in fact, only covered the stm32f{4,7} > > platforms and not the stm32h7. Therefore, to avoid patch submission tests > > failing, it was necessary to add the corresponding compatible (i. e. > > st,stm32h743-rcc) and specify that, in this case, 3 are the clocks instead > > of the 2 required for the stm32f{4,7} platforms. > > Additionally, the old bindings made no mention of the st,syscfg property, > > which is used by both the stm32f{4,7} and the stm32h7 platforms. > > > > The patch also fixes the files referencing to the old st,stm32-rcc.txt. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@xxxxxxxxxxxxxxxxxxxx> > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> > > > Drop the tag. It was conditional. > > > + > > +properties: > > + compatible: > > + oneOf: > > + - items: > > + - const: st,stm32f42xx-rcc > > + - const: st,stm32-rcc > > + - items: > > + - enum: > > + - st,stm32f469-rcc > > + - const: st,stm32f42xx-rcc > > + - const: st,stm32-rcc > > + - items: > > + - const: st,stm32f746-rcc > > + - const: st,stm32-rcc > > Nothing improved here. In my humble opinion, there is nothing to improve. Any modification made causes the tests to fail. $ git grep st,stm32f746-rcc arch/ arch/arm/boot/dts/st/stm32f746.dtsi: compatible = "st,stm32f746-rcc", "st,stm32-rcc"; arch/arm/boot/dts/st/stm32f769-disco.dts: compatible = "st,stm32f769-rcc", "st,stm32f746-rcc", "st,stm32-rcc"; Or am I missing something? Thanks and regards, Dario > > Best regards, > Krzysztof -- Dario Binacchi Senior Embedded Linux Developer dario.binacchi@xxxxxxxxxxxxxxxxxxxx __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@xxxxxxxxxxxxxxxxxxxx www.amarulasolutions.com