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>
这个提交包含在:
@@ -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;
|
||||
};
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户