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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The controller can have 'clocks' property to assign correct clock
during configuration.

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

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";
     };
-- 
2.39.2





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux