[PATCH] dt-bindings: serial: stm32: add power-domains property

Valentin Caron valentin.caron at foss.st.com
Thu Jan 11 03:24:50 PST 2024


Add "power-domains" property in stm32 serial binding to avoid:

serial at 40010000: Unevaluated properties are not allowed
('power-domains' were unexpected)

Signed-off-by: Valentin Caron <valentin.caron at foss.st.com>
---
 Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
index 1df8ffe95fc6..62f97da1b2fd 100644
--- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
@@ -58,6 +58,9 @@ properties:
 
   wakeup-source: true
 
+  power-domains:
+    maxItems: 1
+
   rx-threshold:
     description:
       If value is set to 1, RX FIFO threshold is disabled.
-- 
2.25.1




More information about the linux-arm-kernel mailing list