dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProper...
authordillon min <dillon.minfei@gmail.com>
Wed, 31 Mar 2021 08:28:45 +0000 (16:28 +0800)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 1 Apr 2021 07:55:04 +0000 (09:55 +0200)
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: dillon min <dillon.minfei@gmail.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml

index 8631678283f9aaf2db31085722780dc1eecfee63..865be05083c3d58fd5048da020144182c94dcaf7 100644 (file)
@@ -80,7 +80,8 @@ required:
   - interrupts
   - clocks
 
-additionalProperties: false
+additionalProperties:
+  type: object
 
 examples:
   - |