disp: msm: dsi: support LP mode for DCS brightness setting

DCS brightness settng can only use HS mode. Add a new
DT property for LP mode choose for DCS brightness setting.

Change-Id: Ibe5867fe344776871eb3a410a8d79d347775f3d4
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
Yuan Zhao
2020-07-31 12:09:03 +08:00
committed by Gerrit - the friendly Code Review server
parent f11da41a6e
commit c810238fb4
3 changed files with 38 additions and 6 deletions

View File

@@ -128,6 +128,9 @@ struct dsi_backlight_config {
/* WLED params */
struct led_trigger *wled;
struct backlight_device *raw_bd;
/* DCS params */
bool lp_mode;
};
struct dsi_reset_seq {