diff mbox series

dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties

Message ID 20231127-b4-dt-bindings-serial-v1-1-422a198fd91a@pengutronix.de
State Changes Requested
Headers show
Series dt-bindings: serial: add assigned-clock-parents and assigned-clocks properties | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Roland Hieber Nov. 27, 2023, 3:24 p.m. UTC
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(+)


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

Best regards,

Comments

Krzysztof Kozlowski Nov. 28, 2023, 8:50 a.m. UTC | #1
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
diff mbox series

Patch

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