brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · ac17cda Raw
87 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/media/rockchip-rga.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Rockchip 2D raster graphic acceleration controller (RGA)8 9description:10  RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D11  graphics operations, such as point/line drawing, image scaling, rotation,12  BitBLT, alpha blending and image blur/sharpness.13 14maintainers:15  - Jacob Chen <jacob-chen@iotwrt.com>16  - Ezequiel Garcia <ezequiel@collabora.com>17 18properties:19  compatible:20    oneOf:21      - const: rockchip,rk3288-rga22      - const: rockchip,rk3399-rga23      - items:24          - enum:25              - rockchip,rk3228-rga26              - rockchip,rk3568-rga27              - rockchip,rk3588-rga28          - const: rockchip,rk3288-rga29 30  reg:31    maxItems: 132 33  interrupts:34    maxItems: 135 36  clocks:37    maxItems: 338 39  clock-names:40    items:41      - const: aclk42      - const: hclk43      - const: sclk44 45  power-domains:46    maxItems: 147 48  resets:49    maxItems: 350 51  reset-names:52    items:53      - const: core54      - const: axi55      - const: ahb56 57required:58  - compatible59  - reg60  - interrupts61  - clocks62  - clock-names63  - resets64  - reset-names65 66additionalProperties: false67 68examples:69  - |70    #include <dt-bindings/clock/rk3399-cru.h>71    #include <dt-bindings/interrupt-controller/arm-gic.h>72    #include <dt-bindings/power/rk3399-power.h>73    rga: rga@ff680000 {74      compatible = "rockchip,rk3399-rga";75      reg = <0xff680000 0x10000>;76      interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;77      clocks = <&cru ACLK_RGA>,78               <&cru HCLK_RGA>,79               <&cru SCLK_RGA_CORE>;80      clock-names = "aclk", "hclk", "sclk";81      power-domains = <&power RK3399_PD_RGA>;82      resets = <&cru SRST_RGA_CORE>,83               <&cru SRST_A_RGA>,84               <&cru SRST_H_RGA>;85      reset-names = "core", "axi", "ahb";86    };87