path: root/drivers/gpu/drm/msm/dsi/dsi_cfg.h
diff options
authorArchit Taneja <>2015-10-09 15:21:12 +0530
committerRob Clark <>2015-12-14 10:40:30 -0500
commit6e0eb52eba9e2c8d56e4e6826faa2bd6fd5dcf0c (patch)
tree9104ef743f22ed60be9a791e5017eb935c8a4308 /drivers/gpu/drm/msm/dsi/dsi_cfg.h
parent31c92767aef63501da0214da9736cf60ac684f20 (diff)
drm/msm/dsi: Parse bus clocks from a list
DSI bus clocks seem to vary between different DSI host versions, and the SOC to which they belong. Even the enable/disable sequence varies. Provide a list of bus clock names in dsi_cfg. The driver will use this to retrieve the clocks, and enable/disable them. Add bus clock lists for DSI6G, and DSI for MSM8916(this is DSI6G too, but there is no MMSS_CC specific clock since there is no MMSS clock controller on 8916). Signed-off-by: Archit Taneja <> Signed-off-by: Rob Clark <>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_cfg.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.h b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
index 4cf887240177..5a36836dd6fc 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_cfg.h
+++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
@@ -30,6 +30,8 @@
struct msm_dsi_config {
u32 io_offset;
struct dsi_reg_config reg_cfg;
+ const char * const *bus_clk_names;
+ const int num_bus_clks;
struct msm_dsi_cfg_handler {