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

Valentin Caron valentin.caron at foss.st.com
Thu Jan 18 01:11:35 PST 2024


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 at 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(+)

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.

base-commit: 0c84bea0cabc4e2b98a3de88eeb4ff798931f056
-- 
2.25.1




More information about the linux-arm-kernel mailing list