1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8cc087a1SEmmanuel Vadot%YAML 1.2 3*8cc087a1SEmmanuel Vadot--- 4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/media/renesas,imr.yaml# 5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8cc087a1SEmmanuel Vadot 7*8cc087a1SEmmanuel Vadottitle: Renesas R-Car Image Renderer (Distortion Correction Engine) 8*8cc087a1SEmmanuel Vadot 9*8cc087a1SEmmanuel Vadotmaintainers: 10*8cc087a1SEmmanuel Vadot - Sergei Shtylyov <sergei.shtylyov@gmail.com> 11*8cc087a1SEmmanuel Vadot 12*8cc087a1SEmmanuel Vadotdescription: | 13*8cc087a1SEmmanuel Vadot The image renderer, or the distortion correction engine, is a drawing 14*8cc087a1SEmmanuel Vadot processor with a simple instruction system capable of referencing video 15*8cc087a1SEmmanuel Vadot capture data or data in an external memory as 2D texture data and performing 16*8cc087a1SEmmanuel Vadot texture mapping and drawing with respect to any shape that is split into 17*8cc087a1SEmmanuel Vadot triangular objects. 18*8cc087a1SEmmanuel Vadot 19*8cc087a1SEmmanuel Vadot The image renderer light extended 4 (IMR-LX4) is found in R-Car Gen3 SoCs. 20*8cc087a1SEmmanuel Vadot 21*8cc087a1SEmmanuel Vadotproperties: 22*8cc087a1SEmmanuel Vadot compatible: 23*8cc087a1SEmmanuel Vadot items: 24*8cc087a1SEmmanuel Vadot - enum: 25*8cc087a1SEmmanuel Vadot - renesas,r8a7795-imr-lx4 # R-Car H3 26*8cc087a1SEmmanuel Vadot - renesas,r8a7796-imr-lx4 # R-Car M3-W 27*8cc087a1SEmmanuel Vadot - const: renesas,imr-lx4 # R-Car Gen3 28*8cc087a1SEmmanuel Vadot 29*8cc087a1SEmmanuel Vadot reg: 30*8cc087a1SEmmanuel Vadot maxItems: 1 31*8cc087a1SEmmanuel Vadot 32*8cc087a1SEmmanuel Vadot interrupts: 33*8cc087a1SEmmanuel Vadot maxItems: 1 34*8cc087a1SEmmanuel Vadot 35*8cc087a1SEmmanuel Vadot clocks: 36*8cc087a1SEmmanuel Vadot maxItems: 1 37*8cc087a1SEmmanuel Vadot 38*8cc087a1SEmmanuel Vadot power-domains: 39*8cc087a1SEmmanuel Vadot maxItems: 1 40*8cc087a1SEmmanuel Vadot 41*8cc087a1SEmmanuel Vadot resets: 42*8cc087a1SEmmanuel Vadot maxItems: 1 43*8cc087a1SEmmanuel Vadot 44*8cc087a1SEmmanuel Vadotrequired: 45*8cc087a1SEmmanuel Vadot - compatible 46*8cc087a1SEmmanuel Vadot - reg 47*8cc087a1SEmmanuel Vadot - interrupts 48*8cc087a1SEmmanuel Vadot - clocks 49*8cc087a1SEmmanuel Vadot - power-domains 50*8cc087a1SEmmanuel Vadot - resets 51*8cc087a1SEmmanuel Vadot 52*8cc087a1SEmmanuel VadotadditionalProperties: false 53*8cc087a1SEmmanuel Vadot 54*8cc087a1SEmmanuel Vadotexamples: 55*8cc087a1SEmmanuel Vadot - | 56*8cc087a1SEmmanuel Vadot #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 57*8cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 58*8cc087a1SEmmanuel Vadot #include <dt-bindings/power/r8a7795-sysc.h> 59*8cc087a1SEmmanuel Vadot 60*8cc087a1SEmmanuel Vadot imr-lx4@fe860000 { 61*8cc087a1SEmmanuel Vadot compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4"; 62*8cc087a1SEmmanuel Vadot reg = <0xfe860000 0x2000>; 63*8cc087a1SEmmanuel Vadot interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 64*8cc087a1SEmmanuel Vadot clocks = <&cpg CPG_MOD 823>; 65*8cc087a1SEmmanuel Vadot power-domains = <&sysc R8A7795_PD_A3VC>; 66*8cc087a1SEmmanuel Vadot resets = <&cpg 823>; 67*8cc087a1SEmmanuel Vadot }; 68