summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMason Zhang <Mason.Zhang@mediatek.com>2021-07-13 19:40:49 +0800
committerMark Brown <broonie@kernel.org>2021-07-14 13:30:43 +0100
commitf84d866ab43fcc27b417c86357d6534f157a3d89 (patch)
tree67ca2bd15808136e793ab9eaa8932540e8777fe7 /include/linux/platform_data
parent65ab894f2e5a0451609d13397f0ccb3ba5b332e9 (diff)
spi: mediatek: add tick_delay support
This patch support tick_delay setting, some users need use high-speed spi speed, which can use tick_delay to tuning spi clk timing. Signed-off-by: Mason Zhang <Mason.Zhang@mediatek.com> Link: https://lore.kernel.org/r/20210713114048.29509-1-mason.zhang@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/spi-mt65xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-mt65xx.h b/include/linux/platform_data/spi-mt65xx.h
index 65fd5ffd257c..f0db674f07b8 100644
--- a/include/linux/platform_data/spi-mt65xx.h
+++ b/include/linux/platform_data/spi-mt65xx.h
@@ -12,5 +12,6 @@
/* Board specific platform_data */
struct mtk_chip_config {
u32 sample_sel;
+ u32 tick_delay;
};
#endif