From db449c6bf5afd7a806afdb84bf8e3721e5be1f3c Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Tue, 11 Jul 2017 15:00:50 +0800 Subject: [PATCH] dt-bindings: rockchip: vop: introduce registers names Change-Id: I0df821f2582b26e26cfe3059db19a90b206df5c5 Signed-off-by: Mark Yao --- .../bindings/display/rockchip/rockchip-vop.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt index df0847e9a756..12314a9fffe1 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt @@ -15,9 +15,13 @@ Required properties: "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 +55,7 @@ SoC specific DT entry: vopb: vopb@ff930000 { compatible = "rockchip,rk3288-vop"; reg = <0xff930000 0x19c>, <0xff931000 0x1000>; + reg-names = "regs", "gamma_lut"; interrupts = ; clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; -- 2.34.1