Home
last modified time | relevance | path

Searched hist:a0f87a269f660cb41c2b38041183e3e31c69818d (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250.dtsidiff a0f87a269f660cb41c2b38041183e3e31c69818d Fri Feb 16 15:04:45 CET 2024 Tudor Ambarus <tudor.ambarus@linaro.org> ARM: dts: samsung: exynos5250: specify the SPI FIFO depth

Up to now the SPI alias was used as an index into an array defined in
the SPI driver to determine the SPI FIFO depth. Drop the dependency on
the SPI alias and specify the SPI FIFO depth directly into the SPI node.

exynos5250.dtsi defines the following aliases:
spi0 = &spi_0;
spi1 = &spi_1;
spi2 = &spi_2;
spi-s3c64xx.c driver defines the following fifo_lvl_mask for the
"samsung,exynos4210-spi" compatible:
.fifo_lvl_mask = { 0x1ff, 0x7F, 0x7F },
Thus spi0 was considered having a 256 byte FIFO depth, and spi1 and spi2
having 64 byte FIFO depth each. Update device tree with these FIFO depths.
No functional change expected.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240216140449.2564625-4-tudor.ambarus@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>