disp: msm: dsi: parse & store gpio registers used by the host & panel

Parse all the GPIO pins used by the DSI host and the display panel
along with its register ranges and store it in panel struct. This
avoids parsing the device-tree everytime during transitions between
trusted and primary vm.

Change-Id: Ibbb646358c0409703afda1c4f758f044fc8c0001
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
这个提交包含在:
Veera Sundaram Sankaran
2020-11-04 15:22:01 -08:00
父节点 6fa30971f2
当前提交 6dd2c3cd87
修改 2 个文件,包含 69 行新增50 行删除

查看文件

@@ -182,6 +182,13 @@ struct dsi_panel_spr_info {
enum msm_display_spr_pack_type pack_type;
};
struct dsi_tlmm_gpio {
u32 num;
u32 addr;
u32 size;
const char *name;
};
struct dsi_panel;
struct dsi_panel_ops {
@@ -253,6 +260,9 @@ struct dsi_panel {
int power_mode;
enum dsi_panel_physical_type panel_type;
struct dsi_tlmm_gpio *tlmm_gpio;
u32 tlmm_gpio_count;
struct dsi_panel_ops panel_ops;
};