1b1f487efSJohan Jonker# SPDX-License-Identifier: GPL-2.0 2b1f487efSJohan Jonker%YAML 1.2 3b1f487efSJohan Jonker--- 4b1f487efSJohan Jonker$id: http://devicetree.org/schemas/media/rockchip-rga.yaml# 5b1f487efSJohan Jonker$schema: http://devicetree.org/meta-schemas/core.yaml# 6b1f487efSJohan Jonker 7b1f487efSJohan Jonkertitle: Rockchip 2D raster graphic acceleration controller (RGA) 8b1f487efSJohan Jonker 9b1f487efSJohan Jonkerdescription: 10b1f487efSJohan Jonker RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D 11b1f487efSJohan Jonker graphics operations, such as point/line drawing, image scaling, rotation, 12b1f487efSJohan Jonker BitBLT, alpha blending and image blur/sharpness. 13b1f487efSJohan Jonker 14b1f487efSJohan Jonkermaintainers: 15b1f487efSJohan Jonker - Jacob Chen <jacob-chen@iotwrt.com> 16b1f487efSJohan Jonker - Ezequiel Garcia <ezequiel@collabora.com> 17b1f487efSJohan Jonker 18b1f487efSJohan Jonkerproperties: 19b1f487efSJohan Jonker compatible: 20b1f487efSJohan Jonker oneOf: 21b1f487efSJohan Jonker - const: rockchip,rk3288-rga 22b1f487efSJohan Jonker - const: rockchip,rk3399-rga 23b1f487efSJohan Jonker - items: 24b1f487efSJohan Jonker - const: rockchip,rk3228-rga 25b1f487efSJohan Jonker - const: rockchip,rk3288-rga 26b1f487efSJohan Jonker 27b1f487efSJohan Jonker reg: 28b1f487efSJohan Jonker maxItems: 1 29b1f487efSJohan Jonker 30b1f487efSJohan Jonker interrupts: 31b1f487efSJohan Jonker maxItems: 1 32b1f487efSJohan Jonker 33b1f487efSJohan Jonker clocks: 34b1f487efSJohan Jonker maxItems: 3 35b1f487efSJohan Jonker 36b1f487efSJohan Jonker clock-names: 37b1f487efSJohan Jonker items: 38b1f487efSJohan Jonker - const: aclk 39b1f487efSJohan Jonker - const: hclk 40b1f487efSJohan Jonker - const: sclk 41b1f487efSJohan Jonker 42*b2965c91SJohan Jonker power-domains: 43*b2965c91SJohan Jonker maxItems: 1 44*b2965c91SJohan Jonker 45b1f487efSJohan Jonker resets: 46b1f487efSJohan Jonker maxItems: 3 47b1f487efSJohan Jonker 48b1f487efSJohan Jonker reset-names: 49b1f487efSJohan Jonker items: 50b1f487efSJohan Jonker - const: core 51b1f487efSJohan Jonker - const: axi 52b1f487efSJohan Jonker - const: ahb 53b1f487efSJohan Jonker 54b1f487efSJohan Jonkerrequired: 55b1f487efSJohan Jonker - compatible 56b1f487efSJohan Jonker - reg 57b1f487efSJohan Jonker - interrupts 58b1f487efSJohan Jonker - clocks 59b1f487efSJohan Jonker - clock-names 60b1f487efSJohan Jonker - resets 61b1f487efSJohan Jonker - reset-names 62b1f487efSJohan Jonker 63b1f487efSJohan JonkeradditionalProperties: false 64b1f487efSJohan Jonker 65b1f487efSJohan Jonkerexamples: 66b1f487efSJohan Jonker - | 67b1f487efSJohan Jonker #include <dt-bindings/clock/rk3399-cru.h> 68b1f487efSJohan Jonker #include <dt-bindings/interrupt-controller/arm-gic.h> 69*b2965c91SJohan Jonker #include <dt-bindings/power/rk3399-power.h> 70b1f487efSJohan Jonker rga: rga@ff680000 { 71b1f487efSJohan Jonker compatible = "rockchip,rk3399-rga"; 72b1f487efSJohan Jonker reg = <0xff680000 0x10000>; 73b1f487efSJohan Jonker interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 74b1f487efSJohan Jonker clocks = <&cru ACLK_RGA>, 75b1f487efSJohan Jonker <&cru HCLK_RGA>, 76b1f487efSJohan Jonker <&cru SCLK_RGA_CORE>; 77b1f487efSJohan Jonker clock-names = "aclk", "hclk", "sclk"; 78*b2965c91SJohan Jonker power-domains = <&power RK3399_PD_RGA>; 79b1f487efSJohan Jonker resets = <&cru SRST_RGA_CORE>, 80b1f487efSJohan Jonker <&cru SRST_A_RGA>, 81b1f487efSJohan Jonker <&cru SRST_H_RGA>; 82b1f487efSJohan Jonker reset-names = "core", "axi", "ahb"; 83b1f487efSJohan Jonker }; 84