dt-bindings: display: rk3288-mipi-dsi: add reset property
authorJohn Keeping <john@metanate.com>
Fri, 3 Mar 2017 11:39:45 +0000 (11:39 +0000)
committerSean Paul <seanpaul@chromium.org>
Tue, 4 Apr 2017 18:26:27 +0000 (14:26 -0400)
This reset is required in order to fully reset the internal state of the
MIPI controller.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170303113945.3bd2cbd9.john@metanate.com
Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt

index 1d722f5055ab1a5c657a287b483f468a650fe772..543b07435f4fc5246032a0b12b3a0898e4b5527d 100644 (file)
@@ -17,9 +17,12 @@ Required properties:
 
 Optional properties:
 - power-domains: a phandle to mipi dsi power domain node.
+- resets: list of phandle + reset specifier pairs, as described in [3].
+- reset-names: string reset name, must be "apb".
 
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 [2] Documentation/devicetree/bindings/media/video-interfaces.txt
+[3] Documentation/devicetree/bindings/reset/reset.txt
 
 Example:
        mipi_dsi: mipi@ff960000 {
@@ -30,6 +33,8 @@ Example:
                interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPI_DSI0>;
                clock-names = "ref", "pclk";
+               resets = <&cru SRST_MIPIDSI0>;
+               reset-names = "apb";
                rockchip,grf = <&grf>;
                status = "okay";