diff mbox series

spi: dt-bindings: mxs-spi.yaml: Add clock property to mxs spi controller

Message ID 20240827151616.2256401-1-lukma@denx.de (mailing list archive)
State New
Headers show
Series spi: dt-bindings: mxs-spi.yaml: Add clock property to mxs spi controller | expand

Commit Message

Lukasz Majewski Aug. 27, 2024, 3:16 p.m. UTC
The controller can have 'clocks' property to assign correct clock
during configuration.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---
 Documentation/devicetree/bindings/spi/mxs-spi.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring Aug. 27, 2024, 4:10 p.m. UTC | #1
On Tue, 27 Aug 2024 17:16:16 +0200, Lukasz Majewski wrote:
> The controller can have 'clocks' property to assign correct clock
> during configuration.
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> ---
>  Documentation/devicetree/bindings/spi/mxs-spi.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/mxs-spi.yaml b/Documentation/devicetree/bindings/spi/mxs-spi.yaml
index e2512166c1cd..4790d7b37efc 100644
--- a/Documentation/devicetree/bindings/spi/mxs-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/mxs-spi.yaml
@@ -34,6 +34,9 @@  properties:
     description: input clock frequency to the SPI block in Hz.
     default: 160000000
 
+  clocks:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -51,6 +54,7 @@  examples:
         compatible = "fsl,imx28-spi";
         reg = <0x80010000 0x2000>;
         interrupts = <96>;
+        clocks = <&clks 46>;
         dmas = <&dma_apbh 0>;
         dma-names = "rx-tx";
     };