Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/media/renesas,imr.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Renesas R-Car Image Renderer (Distortion Correction Engine)
0008 
0009 maintainers:
0010   - Sergei Shtylyov <sergei.shtylyov@gmail.com>
0011 
0012 description: |
0013   The image renderer, or the distortion correction engine, is a drawing
0014   processor with a simple instruction system capable of referencing video
0015   capture data or data in an external memory as 2D texture data and performing
0016   texture mapping and drawing with respect to any shape that is split into
0017   triangular objects.
0018 
0019   The image renderer light extended 4 (IMR-LX4) is found in R-Car Gen3 SoCs.
0020 
0021 properties:
0022   compatible:
0023     items:
0024       - enum:
0025           - renesas,r8a7795-imr-lx4 # R-Car H3
0026           - renesas,r8a7796-imr-lx4 # R-Car M3-W
0027       - const: renesas,imr-lx4      # R-Car Gen3
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   interrupts:
0033     maxItems: 1
0034 
0035   clocks:
0036     maxItems: 1
0037 
0038   power-domains:
0039     maxItems: 1
0040 
0041   resets:
0042     maxItems: 1
0043 
0044 required:
0045   - compatible
0046   - reg
0047   - interrupts
0048   - clocks
0049   - power-domains
0050   - resets
0051 
0052 additionalProperties: false
0053 
0054 examples:
0055   - |
0056     #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
0057     #include <dt-bindings/interrupt-controller/arm-gic.h>
0058     #include <dt-bindings/power/r8a7795-sysc.h>
0059 
0060     imr-lx4@fe860000 {
0061             compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4";
0062             reg = <0xfe860000 0x2000>;
0063             interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
0064             clocks = <&cpg CPG_MOD 823>;
0065             power-domains = <&sysc R8A7795_PD_A3VC>;
0066             resets = <&cpg 823>;
0067     };