devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: serial: stm32: add power-domains property
@ 2024-01-18  9:11 Valentin Caron
  2024-01-18 15:41 ` Conor Dooley
  0 siblings, 1 reply; 2+ messages in thread
From: Valentin Caron @ 2024-01-18  9:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexandre Torgue
  Cc: linux-kernel, devicetree, linux-stm32, linux-arm-kernel,
	Valentin Caron

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] dt-bindings: serial: stm32: add power-domains property
  2024-01-18  9:11 [PATCH v2] dt-bindings: serial: stm32: add power-domains property Valentin Caron
@ 2024-01-18 15:41 ` Conor Dooley
  0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2024-01-18 15:41 UTC (permalink / raw)
  To: Valentin Caron
  Cc: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alexandre Torgue, linux-kernel, devicetree,
	linux-stm32, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-18 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18  9:11 [PATCH v2] dt-bindings: serial: stm32: add power-domains property Valentin Caron
2024-01-18 15:41 ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).