Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] dt-bindings: Document the Rockchip RGA bindings

Add DT bindings documentation for Rockchip RGA

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Jacob Chen and committed by
Mauro Carvalho Chehab
7ef3b44c 8382e556

+33
+33
Documentation/devicetree/bindings/media/rockchip-rga.txt
··· 1 + device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA) 2 + 3 + RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D 4 + graphics operations, such as point/line drawing, image scaling, rotation, 5 + BitBLT, alpha blending and image blur/sharpness. 6 + 7 + Required properties: 8 + - compatible: value should be one of the following 9 + "rockchip,rk3288-rga"; 10 + "rockchip,rk3399-rga"; 11 + 12 + - interrupts: RGA interrupt specifier. 13 + 14 + - clocks: phandle to RGA sclk/hclk/aclk clocks 15 + 16 + - clock-names: should be "aclk", "hclk" and "sclk" 17 + 18 + - resets: Must contain an entry for each entry in reset-names. 19 + See ../reset/reset.txt for details. 20 + - reset-names: should be "core", "axi" and "ahb" 21 + 22 + Example: 23 + SoC-specific DT entry: 24 + rga: rga@ff680000 { 25 + compatible = "rockchip,rk3399-rga"; 26 + reg = <0xff680000 0x10000>; 27 + interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 28 + clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>; 29 + clock-names = "aclk", "hclk", "sclk"; 30 + 31 + resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>; 32 + reset-names = "core, "axi", "ahb"; 33 + };