diff mbox series

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

Message ID 20240118091135.3314330-1-valentin.caron@foss.st.com (mailing list archive)
State New, archived
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

Comments

Conor Dooley Jan. 18, 2024, 3:41 p.m. UTC | #1
On Thu, Jan 18, 2024 at 10:11:35AM +0100, Valentin Caron wrote:
> 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>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.
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.