ARM: dts: msm: add mdss gdsc supply to dsi controller device
It is possible for the DSI controller to be active when MDP is power collapsed. DSI controller needs to have it's own vote for mdss gdsc to ensure that gdsc remains on in such cases. Change-Id: I37f98c6e4f6d30908373b812fc50e29ba001b752 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
This commit is contained in:
parent
939991ddb2
commit
31ed8dc3af
2 changed files with 27 additions and 0 deletions
|
@ -52,6 +52,12 @@ Optional properties:
|
|||
with the supply entry index. For a detailed description of
|
||||
fields in the supply entry, refer to the qcom,ctrl-supply-entries
|
||||
binding above.
|
||||
- qcom,core-supply-entries: A node that lists the elements of the supply used to
|
||||
power the DSI core. There can be more than one instance
|
||||
of this binding, in which case the entry would be appended
|
||||
with the supply entry index. For a detailed description of
|
||||
fields in the supply entry, refer to the qcom,ctrl-supply-entries
|
||||
binding above.
|
||||
- qcom,platform-enable-gpio: Specifies the panel lcd/display enable gpio.
|
||||
- qcom,platform-reset-gpio: Specifies the panel reset gpio.
|
||||
- qcom,platform-te-gpio: Specifies the gpio used for TE.
|
||||
|
@ -98,6 +104,24 @@ Example:
|
|||
qcom,platform-bklight-en-gpio = <&msmgpio 86 0>;
|
||||
qcom,platform-mode-gpio = <&msmgpio 7 0>;
|
||||
|
||||
qcom,core-supply-entries {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
qcom,core-supply-entry@0 {
|
||||
reg = <0>;
|
||||
qcom,supply-name = "gdsc";
|
||||
qcom,supply-min-voltage = <0>;
|
||||
qcom,supply-max-voltage = <0>;
|
||||
qcom,supply-enable-load = <0>;
|
||||
qcom,supply-disable-load = <0>;
|
||||
qcom,supply-pre-on-sleep = <0>;
|
||||
qcom,supply-post-on-sleep = <0>;
|
||||
qcom,supply-pre-off-sleep = <0>;
|
||||
qcom,supply-post-off-sleep = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
qcom,ctrl-supply-entries {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -98,6 +98,7 @@ enum dsi_lane_map_type {
|
|||
};
|
||||
|
||||
enum dsi_pm_type {
|
||||
DSI_CORE_PM,
|
||||
DSI_CTRL_PM,
|
||||
DSI_PANEL_PM,
|
||||
DSI_MAX_PM
|
||||
|
@ -377,6 +378,7 @@ int mdss_dsi_panel_init(struct device_node *node,
|
|||
static inline const char *__mdss_dsi_pm_name(enum dsi_pm_type module)
|
||||
{
|
||||
switch (module) {
|
||||
case DSI_CORE_PM: return "DSI_CORE_PM";
|
||||
case DSI_CTRL_PM: return "DSI_CTRL_PM";
|
||||
case DSI_PANEL_PM: return "PANEL_PM";
|
||||
default: return "???";
|
||||
|
@ -387,6 +389,7 @@ static inline const char *__mdss_dsi_pm_supply_node_name(
|
|||
enum dsi_pm_type module)
|
||||
{
|
||||
switch (module) {
|
||||
case DSI_CORE_PM: return "qcom,core-supply-entries";
|
||||
case DSI_CTRL_PM: return "qcom,ctrl-supply-entries";
|
||||
case DSI_PANEL_PM: return "qcom,panel-supply-entries";
|
||||
default: return "???";
|
||||
|
|
Loading…
Add table
Reference in a new issue