[PATCH] spi: dt-bindings: mxs-spi.yaml: Add clock property to mxs spi controller
Lukasz Majewski
lukma at denx.de
Tue Aug 27 08:16:16 PDT 2024
The controller can have 'clocks' property to assign correct clock
during configuration.
Signed-off-by: Lukasz Majewski <lukma at denx.de>
---
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
More information about the linux-arm-kernel
mailing list