Skip to content

Commit cb15abd

Browse files
ambarusbroonie
authored andcommitted
spi: s3c64xx: extend description of compatible's fifo_depth
The FIFO depth specified with the compatibles's data is used where all the instances of the IP define the same FIFO depth. It naturally has higher precedence than the FIFO depth specified via DT. Specifying FIFO depth in DT becomes superfluous in this case. Extend comment about compatible's FIFO depth. Signed-off-by: Tudor Ambarus <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d1a09c6 commit cb15abd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/spi/spi-s3c64xx.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ struct s3c64xx_spi_dma_data {
139139
* struct s3c64xx_spi_port_config - SPI Controller hardware info
140140
* @fifo_lvl_mask: [DEPRECATED] use @{rx, tx}_fifomask instead.
141141
* @rx_lvl_offset: [DEPRECATED] use @{rx,tx}_fifomask instead.
142-
* @fifo_depth: depth of the FIFO.
142+
* @fifo_depth: depth of the FIFOs. Used by compatibles where all the instances
143+
* of the IP define the same FIFO depth. It has higher precedence
144+
* than the FIFO depth specified via DT.
143145
* @rx_fifomask: SPI_STATUS.RX_FIFO_LVL mask. Shifted mask defining the field's
144146
* length and position.
145147
* @tx_fifomask: SPI_STATUS.TX_FIFO_LVL mask. Shifted mask defining the field's

0 commit comments

Comments
 (0)