summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authordillon min <dillon.minfei@gmail.com>2021-03-26 19:15:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-14 09:50:12 +0200
commit45eb038029b93877db88297127cd002d0bac940f (patch)
treedbe7387a18e07400a1834126df6a4f6e5f2c53ff /Documentation
parent42c9f39a72229f31e447f5fe5269b9114e64e2c1 (diff)
downloadlinux-stable-45eb038029b93877db88297127cd002d0bac940f.tar.gz
linux-stable-45eb038029b93877db88297127cd002d0bac940f.tar.bz2
linux-stable-45eb038029b93877db88297127cd002d0bac940f.zip
dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
[ Upstream commit 9f299d3264c67a892af87337dbaa0bdd20830c0c ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/serial/st,stm32-uart.yaml3
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 06d5f251ec88..51f390e5c276 100644
--- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
@@ -77,7 +77,8 @@ required:
- interrupts
- clocks
-additionalProperties: false
+additionalProperties:
+ type: object
examples:
- |