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: 24*9b12ceb5SMichael Tretter - enum: 25*9b12ceb5SMichael Tretter - rockchip,rk3228-rga 26*9b12ceb5SMichael Tretter - rockchip,rk3568-rga 27b1f487efSJohan Jonker - const: rockchip,rk3288-rga 28b1f487efSJohan Jonker 29b1f487efSJohan Jonker reg: 30b1f487efSJohan Jonker maxItems: 1 31b1f487efSJohan Jonker 32b1f487efSJohan Jonker interrupts: 33b1f487efSJohan Jonker maxItems: 1 34b1f487efSJohan Jonker 35b1f487efSJohan Jonker clocks: 36b1f487efSJohan Jonker maxItems: 3 37b1f487efSJohan Jonker 38b1f487efSJohan Jonker clock-names: 39b1f487efSJohan Jonker items: 40b1f487efSJohan Jonker - const: aclk 41b1f487efSJohan Jonker - const: hclk 42b1f487efSJohan Jonker - const: sclk 43b1f487efSJohan Jonker 44b2965c91SJohan Jonker power-domains: 45b2965c91SJohan Jonker maxItems: 1 46b2965c91SJohan Jonker 47b1f487efSJohan Jonker resets: 48b1f487efSJohan Jonker maxItems: 3 49b1f487efSJohan Jonker 50b1f487efSJohan Jonker reset-names: 51b1f487efSJohan Jonker items: 52b1f487efSJohan Jonker - const: core 53b1f487efSJohan Jonker - const: axi 54b1f487efSJohan Jonker - const: ahb 55b1f487efSJohan Jonker 56b1f487efSJohan Jonkerrequired: 57b1f487efSJohan Jonker - compatible 58b1f487efSJohan Jonker - reg 59b1f487efSJohan Jonker - interrupts 60b1f487efSJohan Jonker - clocks 61b1f487efSJohan Jonker - clock-names 62b1f487efSJohan Jonker - resets 63b1f487efSJohan Jonker - reset-names 64b1f487efSJohan Jonker 65b1f487efSJohan JonkeradditionalProperties: false 66b1f487efSJohan Jonker 67b1f487efSJohan Jonkerexamples: 68b1f487efSJohan Jonker - | 69b1f487efSJohan Jonker #include <dt-bindings/clock/rk3399-cru.h> 70b1f487efSJohan Jonker #include <dt-bindings/interrupt-controller/arm-gic.h> 71b2965c91SJohan Jonker #include <dt-bindings/power/rk3399-power.h> 72b1f487efSJohan Jonker rga: rga@ff680000 { 73b1f487efSJohan Jonker compatible = "rockchip,rk3399-rga"; 74b1f487efSJohan Jonker reg = <0xff680000 0x10000>; 75b1f487efSJohan Jonker interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 76b1f487efSJohan Jonker clocks = <&cru ACLK_RGA>, 77b1f487efSJohan Jonker <&cru HCLK_RGA>, 78b1f487efSJohan Jonker <&cru SCLK_RGA_CORE>; 79b1f487efSJohan Jonker clock-names = "aclk", "hclk", "sclk"; 80b2965c91SJohan Jonker power-domains = <&power RK3399_PD_RGA>; 81b1f487efSJohan Jonker resets = <&cru SRST_RGA_CORE>, 82b1f487efSJohan Jonker <&cru SRST_A_RGA>, 83b1f487efSJohan Jonker <&cru SRST_H_RGA>; 84b1f487efSJohan Jonker reset-names = "core", "axi", "ahb"; 85b1f487efSJohan Jonker }; 86