summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJaewon Kim <jaewon02.kim@samsung.com>2023-05-02 15:28:11 +0900
committerMark Brown <broonie@kernel.org>2023-05-08 09:10:50 +0900
commitd1a7718ee8dbcc488d3243d52e19c755123e0024 (patch)
tree75ace345eff0fed8943442b88f7d513decde1665 /include/linux/platform_data
parentac9a78681b921877518763ba0e89202254349d1b (diff)
spi: s3c64xx: change polling mode to optional
Previously, Polling mode was supported as quirk for SOC without DMA. To provide more flexible support for polling mode, it changed to polling mode when the 'dmas' property is not present in the devicetree, rather than using a quirk. Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org Link: https://lore.kernel.org/r/20230502062813.112434-2-jaewon02.kim@samsung.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/spi-s3c64xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-s3c64xx.h b/include/linux/platform_data/spi-s3c64xx.h
index 3101152ce449..1d6e6c424fc6 100644
--- a/include/linux/platform_data/spi-s3c64xx.h
+++ b/include/linux/platform_data/spi-s3c64xx.h
@@ -36,6 +36,7 @@ struct s3c64xx_spi_info {
int src_clk_nr;
int num_cs;
bool no_cs;
+ bool polling;
int (*cfg_gpio)(void);
};