summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_mipi_tx.h
diff options
context:
space:
mode:
authorJitao Shi <jitao.shi@mediatek.com>2020-04-11 15:44:07 +0800
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2020-04-22 07:10:36 +0800
commit3d50b59abf64dcaee8595a7c12185a5a75a0782a (patch)
treea53a3c248857d2d8965b527f3700229cde5d17d4 /drivers/gpu/drm/mediatek/mtk_mipi_tx.h
parent6d3a4aeff2fb4f41ab32cc0d445eebdaa01059df (diff)
drm/mediatek: add the mipitx driving control
Add a property in device tree to control the driving by different board. Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_mipi_tx.h')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_mipi_tx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_mipi_tx.h b/drivers/gpu/drm/mediatek/mtk_mipi_tx.h
index 413f35d86219..eea44327fe9f 100644
--- a/drivers/gpu/drm/mediatek/mtk_mipi_tx.h
+++ b/drivers/gpu/drm/mediatek/mtk_mipi_tx.h
@@ -27,6 +27,7 @@ struct mtk_mipi_tx {
struct device *dev;
void __iomem *regs;
u32 data_rate;
+ u32 mipitx_drive;
const struct mtk_mipitx_data *driver_data;
struct clk_hw pll_hw;
struct clk *pll;