From: Chris Zhong Date: Thu, 31 Mar 2016 06:42:36 +0000 (+0800) Subject: Document: update dw_mipi_dsi document for RK3399 X-Git-Tag: firefly_0821_release~2914 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c59cd1723a066d3c775c4e04300b2d7eeffb78d0;p=firefly-linux-kernel-4.4.55.git Document: update dw_mipi_dsi document for RK3399 There is a phy config clock in RK3399, it must be control by mipi driver. Change-Id: I5c029b79ae5867b652ab761dc7416f78f8e070d2 Signed-off-by: Chris Zhong --- diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt index 1753f0cc6fad..1ed91f92251b 100644 --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +++ b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt @@ -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 = ; - 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";