Re: [PATCH v6 9/9] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

From: Rob Herring
Date: Fri Mar 26 2021 - 16:19:44 EST


On Fri, 26 Mar 2021 19:15:02 +0800, dillon.minfei@xxxxxxxxx wrote:
> From: dillon min <dillon.minfei@xxxxxxxxx>
>
> To use additional properties 'bluetooth' on serial, need replace false with
> 'type: object' for 'additionalProperties' to make it as a node, else will
> run into dtbs_check warnings.
>
> 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800:
> 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Fixes: af1c2d81695b ("dt-bindings: serial: Convert STM32 UART to json-schema")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Tested-by: Valentin Caron <valentin.caron@xxxxxxxxxxx>
> Signed-off-by: dillon min <dillon.minfei@xxxxxxxxx>
> ---
>
> v6: no changes
>
> Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>