disp: msm: dsi: add a new PWM pinctrl configure

The default PWM gpio pin mode was not right for PWM backlight
control. If needs to use PWM backlight, must config the
gpio pinctrl.

Change-Id: I5fd6b947d379b53ef4c358be1b935a2ad4970f99
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
Yuan Zhao
2020-07-15 17:03:39 +08:00
committed by Gerrit - the friendly Code Review server
parent b41ee8cf11
commit b54107cfa3
2 changed files with 17 additions and 0 deletions

View File

@@ -97,6 +97,7 @@ struct dsi_pinctrl_info {
struct pinctrl *pinctrl;
struct pinctrl_state *active;
struct pinctrl_state *suspend;
struct pinctrl_state *pwm_pin;
};
struct dsi_panel_phy_props {