drm/rockchip: vop: add rk3366 vop lit support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / rockchip / rockchip-vop.txt
index 11fa3b0805cde27310a661c4e9d7d71dc5507b52..46f80e6a5025b9db66f62fad1e685f88efd90a95 100644 (file)
@@ -10,11 +10,22 @@ Required properties:
                "rockchip,rk3288-vop";
                "rockchip,rk3368-vop";
                "rockchip,rk3366-vop";
+               "rockchip,rk3366-vop-lit";
                "rockchip,rk3399-vop-big";
                "rockchip,rk3399-vop-lit";
                "rockchip,rk322x-vop";
                "rockchip,rk3328-vop";
 
+- reg: Address and length of the register set for the device.
+- reg-names: The names of register regions. contain following regions:
+  - "regs" : (Required) Base address and size of the controllers.
+  - "cabc_lut" : (Optinal) cabc function lut table registers,
+                   take care of this register's length, driver would use
+                   register's length to decide cabc lut table size.
+  - "gamma_lut" : (Optinal) gamma function lut table registers,
+                   take care of this register's length, driver would use
+                   register's length to decide gamma table size.
+
 - interrupts: should contain a list of all VOP IP block interrupts in the
                 order: VSYNC, LCD_SYSTEM. The interrupt specifier
                 format depends on the interrupt controller used.
@@ -26,6 +37,7 @@ Required properties:
                aclk_vop: for ddr buffer transfer.
                hclk_vop: for ahb bus to R/W the phy regs.
                dclk_vop: pixel clock.
+               dclk_source: optinal, dclk sources from display plls.
 
 - resets: Must contain an entry for each entry in reset-names.
   See ../reset/reset.txt for details.
@@ -43,7 +55,8 @@ Example:
 SoC specific DT entry:
        vopb: vopb@ff930000 {
                compatible = "rockchip,rk3288-vop";
-               reg = <0xff930000 0x19c>;
+               reg = <0xff930000 0x19c>, <0xff931000 0x1000>;
+               reg-names = "regs", "gamma_lut";
                interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
                clock-names = "aclk_vop", "dclk_vop", "hclk_vop";