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