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

Valentin Caron posted 1 patch 1 year, 11 months ago
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 +++
1 file changed, 3 insertions(+)
[PATCH v2] dt-bindings: serial: stm32: add power-domains property
Posted by Valentin Caron 1 year, 11 months ago
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(+)

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
Re: [PATCH v2] dt-bindings: serial: stm32: add power-domains property
Posted by Conor Dooley 1 year, 11 months ago
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.