dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProper...
authordillon min <dillon.minfei@gmail.com>
Fri, 26 Mar 2021 11:15:02 +0000 (19:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Mar 2021 12:14:48 +0000 (14:14 +0200)
commit9f299d3264c67a892af87337dbaa0bdd20830c0c
tree1516bc0367e03ec0e6040e6dbfebf50748bf563d
parent8465df70e49c05f537607f81814c560ef37c8ca2
dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

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@intel.com>
Tested-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: dillon min <dillon.minfei@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1616757302-7889-8-git-send-email-dillon.minfei@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml