diff options
author | Archit Taneja <architt@codeaurora.org> | 2015-10-09 05:51:12 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-12-14 10:40:30 -0500 |
commit | 6e0eb52eba9e2c8d56e4e6826faa2bd6fd5dcf0c (patch) | |
tree | 9104ef743f22ed60be9a791e5017eb935c8a4308 /drivers/gpu/drm/msm/dsi/dsi.h | |
parent | 31c92767aef63501da0214da9736cf60ac684f20 (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 <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi.h b/drivers/gpu/drm/msm/dsi/dsi.h index 8140e8b820e4..7336b55d05cc 100644 --- a/drivers/gpu/drm/msm/dsi/dsi.h +++ b/drivers/gpu/drm/msm/dsi/dsi.h | |||
@@ -36,6 +36,7 @@ enum msm_dsi_phy_type { | |||
36 | }; | 36 | }; |
37 | 37 | ||
38 | #define DSI_DEV_REGULATOR_MAX 8 | 38 | #define DSI_DEV_REGULATOR_MAX 8 |
39 | #define DSI_BUS_CLK_MAX 4 | ||
39 | 40 | ||
40 | /* Regulators for DSI devices */ | 41 | /* Regulators for DSI devices */ |
41 | struct dsi_reg_entry { | 42 | struct dsi_reg_entry { |