.. | .. |
---|
23 | 23 | Recommended properties: |
---|
24 | 24 | - spi-max-frequency: Definition as per |
---|
25 | 25 | 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 | + |
---|
26 | 38 | Example: |
---|
27 | 39 | |
---|
28 | 40 | spi@7000d600 { |
---|
.. | .. |
---|
38 | 50 | reset-names = "spi"; |
---|
39 | 51 | dmas = <&apbdma 16>, <&apbdma 16>; |
---|
40 | 52 | 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 | + |
---|
41 | 61 | }; |
---|