dt-bindings: rockchip: vop: introduce registers names
authorMark Yao <mark.yao@rock-chips.com>
Tue, 11 Jul 2017 07:00:50 +0000 (15:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 12 Jul 2017 08:04:23 +0000 (16:04 +0800)
Change-Id: I0df821f2582b26e26cfe3059db19a90b206df5c5
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt

index df0847e9a756bfa57ecb5a1f2c97c141fd80a2aa..12314a9fffe131c9898767d6f261e96b09a2a459 100644 (file)
@@ -15,9 +15,13 @@ Required properties:
                "rockchip,rk322x-vop";
                "rockchip,rk3328-vop";
 
                "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.
 
                    take care of this register's length, driver would use
                    register's length to decide gamma table size.
 
@@ -51,6 +55,7 @@ SoC specific DT entry:
        vopb: vopb@ff930000 {
                compatible = "rockchip,rk3288-vop";
                reg = <0xff930000 0x19c>, <0xff931000 0x1000>;
        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";
                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";