]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: display: stm32: add supply property to DSI controller
authorYannick Fertré <yannick.fertre@st.com>
Tue, 14 May 2019 09:35:55 +0000 (11:35 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 17 May 2019 10:11:16 +0000 (12:11 +0200)
This patch adds documentation of a new property phy-dsi-supply to the
STM32 DSI controller.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1557826556-10079-2-git-send-email-yannick.fertre@st.com
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt

index 3eb1b48b47ddc92348e4d2516743152f5753a598..60c54da4e526e87a930ff1a451c6d92e2e6824fa 100644 (file)
@@ -40,6 +40,8 @@ Mandatory nodes specific to STM32 DSI:
 - panel or bridge node: A node containing the panel or bridge description as
   documented in [6].
   - port: panel or bridge port node, connected to the DSI output port (port@1).
+Optional properties:
+- phy-dsi-supply: phandle of the regulator that provides the supply voltage.
 
 Note: You can find more documentation in the following references
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -101,6 +103,7 @@ Example 2: DSI panel
                        clock-names = "pclk", "ref";
                        resets = <&rcc STM32F4_APB2_RESET(DSI)>;
                        reset-names = "apb";
+                       phy-dsi-supply = <&reg18>;
 
                        ports {
                                #address-cells = <1>;