disp: msm: dsi: add support for dsi dynamic clock switch
This change adds support for dynamic switching of dsi clocks to avoid RF interference issues. Also with dynamic dsi clock switch feature coming into picture, now populate the supported refresh rate as list instead of providing a range. Modify the logic to enumerate all the modes in dsi driver, taking dynamic bit clocks, resolutions and refresh rates into account. Change-Id: I5b6e62bc935cf2234bdd96fcb3c7537b4e735fff Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org> Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
Этот коммит содержится в:
@@ -129,44 +129,7 @@
|
||||
#define DSI_SCRATCH_REGISTER_1 (0x01F8)
|
||||
#define DSI_SCRATCH_REGISTER_2 (0x01FC)
|
||||
#define DSI_DYNAMIC_REFRESH_CTRL (0x0200)
|
||||
#define DSI_DYNAMIC_REFRESH_PIPE_DELAY (0x0204)
|
||||
#define DSI_DYNAMIC_REFRESH_PIPE_DELAY2 (0x0208)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_DELAY (0x020C)
|
||||
#define DSI_DYNAMIC_REFRESH_STATUS (0x0210)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL0 (0x0214)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL1 (0x0218)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL2 (0x021C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL3 (0x0220)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL4 (0x0224)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL5 (0x0228)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL6 (0x022C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL7 (0x0230)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL8 (0x0234)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL9 (0x0238)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL10 (0x023C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL11 (0x0240)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL12 (0x0244)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL13 (0x0248)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL14 (0x024C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL15 (0x0250)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL16 (0x0254)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL17 (0x0258)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL18 (0x025C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL19 (0x0260)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL20 (0x0264)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL21 (0x0268)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL22 (0x026C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL23 (0x0270)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL24 (0x0274)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL25 (0x0278)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL26 (0x027C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL27 (0x0280)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL28 (0x0284)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL29 (0x0288)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL30 (0x028C)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_CTRL31 (0x0290)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_UPPER_ADDR (0x0294)
|
||||
#define DSI_DYNAMIC_REFRESH_PLL_UPPER_ADDR2 (0x0298)
|
||||
#define DSI_VIDEO_COMPRESSION_MODE_CTRL (0x02A0)
|
||||
#define DSI_VIDEO_COMPRESSION_MODE_CTRL2 (0x02A4)
|
||||
#define DSI_COMMAND_COMPRESSION_MODE_CTRL (0x02A8)
|
||||
|
Ссылка в новой задаче
Block a user