summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHai Li <hali@codeaurora.org>2015-06-11 17:56:46 +0300
committerRob Clark <robdclark@gmail.com>2015-08-16 01:27:11 +0300
commitab8909b032ffccc15384879dd5798b8647d6ab8a (patch)
tree478e4d645eb74b205c0ebb368a85f4a39037300d /Documentation
parent678565c3cb2100a8f03c23592f13f6b78e69a590 (diff)
downloadlinux-ab8909b032ffccc15384879dd5798b8647d6ab8a.tar.xz
drm/msm/dsi: Use pinctrl in DSI driver
Some targets use pinctrl framework to configure some pins. This change allows DSI driver to set default and sleep pinctrl status. Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/drm/msm/dsi.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/drm/msm/dsi.txt b/Documentation/devicetree/bindings/drm/msm/dsi.txt
index 6ccd8608fe91..4edd6fa920cf 100644
--- a/Documentation/devicetree/bindings/drm/msm/dsi.txt
+++ b/Documentation/devicetree/bindings/drm/msm/dsi.txt
@@ -38,6 +38,9 @@ Optional properties:
driving a 2-DSI panel whose 2 links need receive command simultaneously.
- interrupt-parent: phandle to the MDP block if the interrupt signal is routed
through MDP block
+- pinctrl-names: the pin control state names; should contain "default"
+- pinctrl-0: the default pinctrl state (active)
+- pinctrl-n: the "sleep" pinctrl state
DSI PHY:
Required properties:
@@ -94,6 +97,10 @@ Example:
qcom,master-dsi;
qcom,sync-dual-dsi;
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&mdss_dsi_active>;
+ pinctrl-1 = <&mdss_dsi_suspend>;
+
panel: panel@0 {
compatible = "sharp,lq101r1sx01";
reg = <0>;