Documentation / devicetree / bindings / media / st,stm32-dma2d.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D

description:
  Chrom-ART Accelerator(DMA2D), graphical hardware accelerator
  enabling enhanced graphical user interface with minimum CPU load
 
  It can perform the following operations.
 
  - Filling a part or the whole of a destination image with a specific color.
  - Copying a part or the whole of a source image into a part or the whole of
    a destination image.
  - Copying a part or the whole of a source image into a part or the whole of
    a destination image with a pixel format conversion.
  - Blending a part and/or two complete source images with different pixel
    format and copy the result into a part or the whole of a destination image
    with a different color format. (TODO)
 

maintainers:
  - Dillon Min <dillon.minfei@gmail.com>

properties:
  compatible:
    const: st,stm32-dma2d

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: dma2d

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names
  - resets

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/stm32fx-clock.h>
    #include <dt-bindings/mfd/stm32f4-rcc.h>
    dma2d: dma2d@4002b000 {
        compatible = "st,stm32-dma2d";
        reg = <0x4002b000 0xc00>;
        interrupts = <90>;
        resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>;
        clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>;
        clock-names = "dma2d";
    };

...