Document: update dw_mipi_dsi document for RK3399
authorChris Zhong <zyw@rock-chips.com>
Thu, 31 Mar 2016 06:42:36 +0000 (14:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 1 Apr 2016 02:10:47 +0000 (10:10 +0800)
There is a phy config clock in RK3399, it must be control by mipi
driver.

Change-Id: I5c029b79ae5867b652ab761dc7416f78f8e070d2
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt

index 1753f0cc6fad6c799351ed35e412dd7ed97514ab..1ed91f92251b0fd4a62215504563eaf923c750d0 100644 (file)
@@ -5,14 +5,19 @@ Required properties:
 - #address-cells: Should be <1>.
 - #size-cells: Should be <0>.
 - compatible: "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi".
+  or "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi".
 - reg: Represent the physical address range of the controller.
 - interrupts: Represent the controller's interrupt to the CPU(s).
 - clocks, clock-names: Phandles to the controller's pll reference
-  clock(ref) and APB clock(pclk), as described in [1].
+  clock(ref) and APB clock(pclk) as described in [1].
 - rockchip,grf: this soc should set GRF regs to mux vopl/vopb.
 - ports: contain a port node with endpoint definitions as defined in [2].
   For vopb,set the reg = <0> and set the reg = <1> for vopl.
 
+Optional properties
+- clocks, clock-names: phandle to the mipi dsi phy config clock, name should be
+  "phy_cfg".
+
 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 [2] Documentation/devicetree/bindings/media/video-interfaces.txt
 
@@ -23,8 +28,9 @@ Example:
                compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi";
                reg = <0xff960000 0x4000>;
                interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
-               clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPI_DSI0>;
-               clock-names = "ref", "pclk";
+               clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPI_DSI0>,
+                        <&cru SCLK_DPHY_TX0_CFG>;
+               clock-names = "ref", "pclk", "phy_cfg";
                rockchip,grf = <&grf>;
                status = "okay";