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/st,stm32-dma2d.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D binding
0008 
0009 description:
0010   Chrom-ART Accelerator(DMA2D), graphical hardware accelerator
0011   enabling enhanced graphical user interface with minimum CPU load
0012 
0013   It can perform the following operations.
0014 
0015   - Filling a part or the whole of a destination image with a specific color.
0016   - Copying a part or the whole of a source image into a part or the whole of
0017     a destination image.
0018   - Copying a part or the whole of a source image into a part or the whole of
0019     a destination image with a pixel format conversion.
0020   - Blending a part and/or two complete source images with different pixel
0021     format and copy the result into a part or the whole of a destination image
0022     with a different color format. (TODO)
0023 
0024 
0025 maintainers:
0026   - Dillon Min <dillon.minfei@gmail.com>
0027 
0028 properties:
0029   compatible:
0030     const: st,stm32-dma2d
0031 
0032   reg:
0033     maxItems: 1
0034 
0035   interrupts:
0036     maxItems: 1
0037 
0038   clocks:
0039     maxItems: 1
0040 
0041   clock-names:
0042     items:
0043       - const: dma2d
0044 
0045   resets:
0046     maxItems: 1
0047 
0048 required:
0049   - compatible
0050   - reg
0051   - interrupts
0052   - clocks
0053   - clock-names
0054   - resets
0055 
0056 additionalProperties: false
0057 
0058 examples:
0059   - |
0060     #include <dt-bindings/clock/stm32fx-clock.h>
0061     #include <dt-bindings/mfd/stm32f4-rcc.h>
0062     dma2d: dma2d@4002b000 {
0063         compatible = "st,stm32-dma2d";
0064         reg = <0x4002b000 0xc00>;
0065         interrupts = <90>;
0066         resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>;
0067         clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>;
0068         clock-names = "dma2d";
0069     };
0070 
0071 ...