72 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 DMA2D8 9description:10 Chrom-ART Accelerator(DMA2D), graphical hardware accelerator11 enabling enhanced graphical user interface with minimum CPU load12 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 of17 a destination image.18 - Copying a part or the whole of a source image into a part or the whole of19 a destination image with a pixel format conversion.20 - Blending a part and/or two complete source images with different pixel21 format and copy the result into a part or the whole of a destination image22 with a different color format. (TODO)23 24 25maintainers:26 - Dillon Min <dillon.minfei@gmail.com>27 28properties:29 compatible:30 const: st,stm32-dma2d31 32 reg:33 maxItems: 134 35 interrupts:36 maxItems: 137 38 clocks:39 maxItems: 140 41 clock-names:42 items:43 - const: dma2d44 45 resets:46 maxItems: 147 48required:49 - compatible50 - reg51 - interrupts52 - clocks53 - clock-names54 - resets55 56additionalProperties: false57 58examples:59 - |60 #include <dt-bindings/clock/stm32fx-clock.h>61 #include <dt-bindings/mfd/stm32f4-rcc.h>62 dma2d: dma2d@4002b000 {63 compatible = "st,stm32-dma2d";64 reg = <0x4002b000 0xc00>;65 interrupts = <90>;66 resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>;67 clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>;68 clock-names = "dma2d";69 };70 71...72