[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1617094704-10040-7-git-send-email-dillon.minfei@gmail.com>
Date: Tue, 30 Mar 2021 16:58:24 +0800
From: dillon.minfei@...il.com
To: robh@...nel.org, valentin.caron@...s.st.com,
Alexandre.torgue@...s.st.com, rong.a.chen@...el.com,
a.fatoum@...gutronix.de, mcoquelin.stm32@...il.com,
devicetree@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux@...linux.org.uk, afzal.mohd.ma@...il.com,
gregkh@...uxfoundation.org, erwan.leray@...s.st.com,
erwan.leray@...com, linux-serial@...r.kernel.org, lkp@...el.com,
patrice.chotard@...s.st.com
Cc: dillon min <dillon.minfei@...il.com>
Subject: [PATCH v8 6/6] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
From: dillon min <dillon.minfei@...il.com>
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@...04800:
'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@...el.com>
Tested-by: Valentin Caron <valentin.caron@...s.st.com>
Signed-off-by: dillon min <dillon.minfei@...il.com>
Reviewed-by: Rob Herring <robh@...nel.org>
Link: https://lore.kernel.org/r/1616757302-7889-8-git-send-email-dillon.minfei@gmail.com
Signed-off-by: dillon min <dillon.minfei@...il.com>
---
v8: no changes, this patch was merged to tty-next by Greg Kroah-Hartman
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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:
- |
--
2.7.4
Powered by blists - more mailing lists