Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: correct spelling

Correct spelling problems for Documentation/spi/ as reported
by codespell.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230127064005.1558-28-rdunlap@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Randy Dunlap and committed by
Mark Brown
0f6d2cee 22913a63

+8 -8
+6 -6
Documentation/spi/pxa2xx.rst
··· 141 141 :: 142 142 143 143 static struct pxa2xx_spi_chip cs8415a_chip_info = { 144 - .tx_threshold = 8, /* SSP hardward FIFO threshold */ 145 - .rx_threshold = 8, /* SSP hardward FIFO threshold */ 144 + .tx_threshold = 8, /* SSP hardware FIFO threshold */ 145 + .rx_threshold = 8, /* SSP hardware FIFO threshold */ 146 146 .dma_burst_size = 8, /* Byte wide transfers used so 8 byte bursts */ 147 147 .timeout = 235, /* See Intel documentation */ 148 148 }; 149 149 150 150 static struct pxa2xx_spi_chip cs8405a_chip_info = { 151 - .tx_threshold = 8, /* SSP hardward FIFO threshold */ 152 - .rx_threshold = 8, /* SSP hardward FIFO threshold */ 151 + .tx_threshold = 8, /* SSP hardware FIFO threshold */ 152 + .rx_threshold = 8, /* SSP hardware FIFO threshold */ 153 153 .dma_burst_size = 8, /* Byte wide transfers used so 8 byte bursts */ 154 154 .timeout = 235, /* See Intel documentation */ 155 155 }; ··· 157 157 static struct spi_board_info streetracer_spi_board_info[] __initdata = { 158 158 { 159 159 .modalias = "cs8415a", /* Name of spi_driver for this device */ 160 - .max_speed_hz = 3686400, /* Run SSP as fast a possbile */ 160 + .max_speed_hz = 3686400, /* Run SSP as fast a possible */ 161 161 .bus_num = 2, /* Framework bus number */ 162 162 .chip_select = 0, /* Framework chip select */ 163 163 .platform_data = NULL; /* No spi_driver specific config */ ··· 166 166 }, 167 167 { 168 168 .modalias = "cs8405a", /* Name of spi_driver for this device */ 169 - .max_speed_hz = 3686400, /* Run SSP as fast a possbile */ 169 + .max_speed_hz = 3686400, /* Run SSP as fast a possible */ 170 170 .bus_num = 2, /* Framework bus number */ 171 171 .chip_select = 1, /* Framework chip select */ 172 172 .controller_data = &cs8405a_chip_info, /* Master chip config */
+1 -1
Documentation/spi/spi-lm70llp.rst
··· 57 57 The bitbanger routine in this driver (lm70_txrx) is called back from 58 58 the bound "hwmon/lm70" protocol driver through its sysfs hook, using a 59 59 spi_write_then_read() call. It performs Mode 0 (SPI/Microwire) bitbanging. 60 - The lm70 driver then inteprets the resulting digital temperature value 60 + The lm70 driver then interprets the resulting digital temperature value 61 61 and exports it through sysfs. 62 62 63 63 A "gotcha": National Semiconductor's LM70 LLP eval board circuit schematic
+1 -1
Documentation/spi/spi-summary.rst
··· 105 105 - CPHA indicates the clock phase used to sample data; CPHA=0 says 106 106 sample on the leading edge, CPHA=1 means the trailing edge. 107 107 108 - Since the signal needs to stablize before it's sampled, CPHA=0 108 + Since the signal needs to stabilize before it's sampled, CPHA=0 109 109 implies that its data is written half a clock before the first 110 110 clock edge. The chipselect may have made it become available. 111 111