Commit 9f299d32 authored by dillon min's avatar dillon min Committed by Greg Kroah-Hartman

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: af1c2d81 ("dt-bindings: serial: Convert STM32 UART to json-schema")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Tested-by: default avatarValentin Caron <valentin.caron@foss.st.com>
Signed-off-by: default avatardillon min <dillon.minfei@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1616757302-7889-8-git-send-email-dillon.minfei@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8465df70
...@@ -80,7 +80,8 @@ required: ...@@ -80,7 +80,8 @@ required:
- interrupts - interrupts
- clocks - clocks
additionalProperties: false additionalProperties:
type: object
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment