diff mbox series

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

Message ID 20240118091135.3314330-1-valentin.caron@foss.st.com
State Accepted
Commit d6c0d892b44cd16e0421909cf7f2883b9e625e4a
Headers show
Series [v2] dt-bindings: serial: stm32: add power-domains property | expand

Commit Message

Valentin Caron Jan. 18, 2024, 9:11 a.m. UTC
STM32 serial may be in a power domain.
Allow a single 'power-domains' entry for STM32 serial devices.

Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
---
Since v1:
 - Change commit message after Krzysztof review

 Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 +++
 1 file changed, 3 insertions(+)


base-commit: 0c84bea0cabc4e2b98a3de88eeb4ff798931f056
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
index 1df8ffe95fc61..62f97da1b2fd7 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.