mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
dt-bindings: rockchip: rga: Document for px30/rk3326 rga
Change-Id: Ibbd3c1c7aa47697870a0168c889ff6a0247464d5 Signed-off-by: Putin Lee <putin.li@rock-chips.com>
This commit is contained in:
parent
ccf1ebd486
commit
2742e98839
35
Documentation/devicetree/bindings/video/rockchip_rga.txt
Normal file
35
Documentation/devicetree/bindings/video/rockchip_rga.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA)
|
||||
|
||||
RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D
|
||||
graphics operations, such as point/line drawing, image scaling, rotation,
|
||||
BitBLT, alpha blending and image blur/sharpness.
|
||||
|
||||
Required properties:
|
||||
- compatible: value should be one of the following
|
||||
"rockchip,rga2";
|
||||
"rockchip,rk312x-rga";
|
||||
|
||||
- interrupts: RGA interrupt specifier.
|
||||
|
||||
- clocks: phandle to RGA sclk/hclk/aclk clocks
|
||||
|
||||
- clock-names: should be "aclk", "hclk" and "sclk"
|
||||
|
||||
- status: the dsi host status;
|
||||
<disabled>: open the dsi host;
|
||||
<okay>:close the dsi host;
|
||||
|
||||
Optional Properties:
|
||||
- dma-coherent: When import dma_buf to rga driver, dma_map_sg will always do cpu cache sync, it cause low performance.Actually we don't want to do cpu cache sync on this context,So set rga device with dma-coherent to skip cpu cache sync.
|
||||
|
||||
Example:
|
||||
SoC-specific DT entry:
|
||||
rga: rga@ff680000 {
|
||||
compatible = "rockchip,rga2";
|
||||
reg = <0xff680000 0x10000>;
|
||||
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
|
||||
clock-names = "aclk", "hclk", "sclk";
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user