Linux-Serial Archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties
@ 2023-11-27 15:24 Roland Hieber
  2023-11-28  8:50 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2023-11-27 15:24 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team
  Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
	Philipp Zabel, Roland Hieber

From: Philipp Zabel <p.zabel@pengutronix.de>

Add the "assigned-clock-parents" and "assigned-clocks" properties used
by board device trees to set the UART root clock source.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
index 83035553044a..41bf8264488d 100644
--- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
@@ -103,6 +103,12 @@ properties:
       are sensible for most use cases. If you need low latency processing on
       slow connections this needs to be configured appropriately.
 
+  assigned-clock-parents:
+    maxItems: 1
+
+  assigned-clocks:
+    maxItems: 1
+
 required:
   - compatible
   - reg

---
base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
change-id: 20231127-b4-dt-bindings-serial-87301d7e325a

Best regards,
-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |


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

* Re: [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties
  2023-11-27 15:24 [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties Roland Hieber
@ 2023-11-28  8:50 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-28  8:50 UTC (permalink / raw)
  To: Roland Hieber, Greg Kroah-Hartman, Jiri Slaby, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
  Cc: linux-kernel, linux-serial, devicetree, linux-arm-kernel,
	Philipp Zabel

On 27/11/2023 16:24, Roland Hieber wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
> 
> Add the "assigned-clock-parents" and "assigned-clocks" properties used
> by board device trees to set the UART root clock source.
> 

Why? Commit msg should explain it, especially if this is not obvious
(and it is not obvious because you do not need these in the bindings)

Best regards,
Krzysztof


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

end of thread, other threads:[~2023-11-28  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 15:24 [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties Roland Hieber
2023-11-28  8:50 ` Krzysztof Kozlowski

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 read-only IMAP folder(s) and NNTP newsgroup(s).