Changes between Version 24 and Version 25 of SPI
- Timestamp:
- 09/23/2026 11:37:19 PM (43 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SPI
v24 v25 68 68 * DMA Integration: Direct support for DMA (Direct Memory Access) transmit and receive requests, allowing background transfers with minimal CPU overhead. 69 69 * Clock Controls: Fully configurable clock polarity (CPOL) and clock phase (CPHA) settings. 70 71 See Catalina chip select portion of device tree for GW9200 here: [https://github.com/Gateworks/linux-catalina/blob/v6.18.20-catalina/arch/arm64/boot/dts/freescale/imx95-catalina-gw92xx.dtsi#L543] 70 72 71 73 === Venice … … 147 149 }}} 148 150 151 * Catalina GW9200 (Note TPM is on the first chip select reg=0x0, so user header J22 is reg=0x3, which is chip select 4, but 3 for zero based numbering. spidev3 in the example below is just an example for J22 header) 152 {{{ 153 &lpspi4 { 154 pinctrl-names = "default"; 155 pinctrl-0 = <&pinctrl_lpspi4>; 156 cs-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>, /* CS0 TPM */ 157 <&gpio5 14 GPIO_ACTIVE_LOW>, /* CS1 FSA1 */ 158 <&gpio5 13 GPIO_ACTIVE_LOW>, /* CS2 FSA2 */ 159 <&gpio5 12 GPIO_ACTIVE_LOW>; /* CS3 J22 */ 160 status = "okay"; 161 162 tpm@0 { 163 compatible = "atmel,attpm20p", "tcg,tpm_tis-spi"; 164 reg = <0x0>; 165 spi-max-frequency = <20000000>; 166 }; 167 spidev3: spidev@3 { 168 compatible = "rohm,dh2228fv"; 169 reg = <0x3>; 170 spi-max-frequency = <20000000>; 171 }; 172 }; 173 }}} 174 149 175 150 176 In the above examples, adjust 'spi-max-frequency' according to the max frequency your slave device can support.
