diff options
author | 2021-03-31 16:28:45 +0800 | |
---|---|---|
committer | 2021-04-01 09:55:04 +0200 | |
commit | 6c2ec6adb2971072cfe06d1e9dd699e31772ba08 (patch) | |
tree | 7d9a6a66a6cec062e246f326a38ec0d0667534a5 | |
parent | ARM: stm32: Add a new SoC - STM32H750 (diff) | |
download | wireguard-linux-6c2ec6adb2971072cfe06d1e9dd699e31772ba08.tar.xz wireguard-linux-6c2ec6adb2971072cfe06d1e9dd699e31772ba08.zip |
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: dillon min <dillon.minfei@gmail.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
-rw-r--r-- | Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml index 8631678283f9..865be05083c3 100644 --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml @@ -80,7 +80,8 @@ required: - interrupts - clocks -additionalProperties: false +additionalProperties: + type: object examples: - | |