2023-11-27 15:25:51

by Roland Hieber

[permalink] [raw]
Subject: [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties

From: Philipp Zabel <[email protected]>

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 <[email protected]>
Signed-off-by: Roland Hieber <[email protected]>
---
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. | [email protected] |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |


2023-11-28 08:51:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties

On 27/11/2023 16:24, Roland Hieber wrote:
> From: Philipp Zabel <[email protected]>
>
> 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