[PATCH] dt-bindings: pinctrl: st,stm32: fix phandle-array warning

Linus Walleij linus.walleij at linaro.org
Tue Oct 10 05:11:30 PDT 2023


On Fri, Oct 6, 2023 at 10:27 AM Martin Kaiser <martin at kaiser.cx> wrote:


> make CHECK_DTBS=y st/stm32f469-disco.dtb
>
> brings up a warning about a missing argument:
>
> stm32f469-disco.dtb: pinctrl at 40020000: st,syscfg:0: [21, 8] is too short
>
> The description of the third entry indicates that this entry is optional.
> The code in stm32_pctrl_dt_setup_irq parses st,syscfg and treats the third
> entry as optional. It defaults to 0xf if not present in the devicetree.
>
> Update the schema to require at least two entries, use the same syntax as
> the description of renesas,ipmmu-main in
> Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml.
>
> Signed-off-by: Martin Kaiser <martin at kaiser.cx>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list