drm/rockchip: vop: add rk3366 vop lit support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / rockchip / rockchip-vop.txt
index df0847e9a756bfa57ecb5a1f2c97c141fd80a2aa..46f80e6a5025b9db66f62fad1e685f88efd90a95 100644 (file)
@@ -10,14 +10,19 @@ 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: there are two register region can configure for the device:
-  - first region: (Required) Base address and size of the controllers
-  - second region: (Optinal) Address and length of the gamma table,
+- 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.
 
@@ -51,6 +56,7 @@ SoC specific DT entry:
        vopb: vopb@ff930000 {
                compatible = "rockchip,rk3288-vop";
                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";