File Index
Files and directories
Sign in
FILE

st,stm32-dma2d.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D
 8
 9description:
10  Chrom-ART Accelerator(DMA2D), graphical hardware accelerator
11  enabling enhanced graphical user interface with minimum CPU load
12
13  It can perform the following operations.
14
15  - Filling a part or the whole of a destination image with a specific color.
16  - Copying a part or the whole of a source image into a part or the whole of
17    a destination image.
18  - Copying a part or the whole of a source image into a part or the whole of
19    a destination image with a pixel format conversion.
20  - Blending a part and/or two complete source images with different pixel
21    format and copy the result into a part or the whole of a destination image
22    with a different color format. (TODO)
23
24maintainers:
25  - Dillon Min <dillon.minfei@gmail.com>
26
27properties:
28  compatible:
29    const: st,stm32-dma2d
30
31  reg:
32    maxItems: 1
33
34  interrupts:
35    maxItems: 1
36
37  clocks:
38    maxItems: 1
39
40  clock-names:
41    items:
42      - const: dma2d
43
44  resets:
45    maxItems: 1
46
47required:
48  - compatible
49  - reg
50  - interrupts
51  - clocks
52  - clock-names
53  - resets
54
55additionalProperties: false
56
57examples:
58  - |
59    #include <dt-bindings/clock/stm32fx-clock.h>
60    #include <dt-bindings/mfd/stm32f4-rcc.h>
61    dma2d: dma2d@4002b000 {
62        compatible = "st,stm32-dma2d";
63        reg = <0x4002b000 0xc00>;
64        interrupts = <90>;
65        resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>;
66        clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>;
67        clock-names = "dma2d";
68    };
69
70...
~/ Read-only file preview.