diff options
| -rw-r--r-- | Documentation/devicetree/bindings/fb/mdss-dsi-ctrl.txt | 24 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dsi.h | 3 |
2 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/mdss-dsi-ctrl.txt b/Documentation/devicetree/bindings/fb/mdss-dsi-ctrl.txt index 76687654870b..b9a17d0ec68d 100644 --- a/Documentation/devicetree/bindings/fb/mdss-dsi-ctrl.txt +++ b/Documentation/devicetree/bindings/fb/mdss-dsi-ctrl.txt @@ -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>; diff --git a/drivers/video/fbdev/msm/mdss_dsi.h b/drivers/video/fbdev/msm/mdss_dsi.h index ceb3f02bb0f2..970672f1ddc1 100644 --- a/drivers/video/fbdev/msm/mdss_dsi.h +++ b/drivers/video/fbdev/msm/mdss_dsi.h @@ -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 "???"; |
