hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
....@@ -23,6 +23,18 @@
2323 Recommended properties:
2424 - spi-max-frequency: Definition as per
2525 Documentation/devicetree/bindings/spi/spi-bus.txt
26
+Optional properties:
27
+- nvidia,tx-clk-tap-delay: Delays the clock going out to the external device
28
+ with this tap value. This property is used to tune the outgoing data from
29
+ Tegra SPI master with respect to outgoing Tegra SPI master clock.
30
+ Tap values vary based on the platform design trace lengths from Tegra SPI
31
+ to corresponding slave devices. Valid tap values are from 0 thru 63.
32
+- nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device
33
+ with this tap value. This property is used to adjust the Tegra SPI master
34
+ clock with respect to the data from the SPI slave device.
35
+ Tap values vary based on the platform design trace lengths from Tegra SPI
36
+ to corresponding slave devices. Valid tap values are from 0 thru 63.
37
+
2638 Example:
2739
2840 spi@7000d600 {
....@@ -38,4 +50,12 @@
3850 reset-names = "spi";
3951 dmas = <&apbdma 16>, <&apbdma 16>;
4052 dma-names = "rx", "tx";
53
+ <spi-client>@<bus_num> {
54
+ ...
55
+ ...
56
+ nvidia,rx-clk-tap-delay = <0>;
57
+ nvidia,tx-clk-tap-delay = <16>;
58
+ ...
59
+ };
60
+
4161 };