1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*7ef62cebSEmmanuel Vadot%YAML 1.2 3*7ef62cebSEmmanuel Vadot--- 4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/media/nxp,dw100.yaml# 5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7ef62cebSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: NXP i.MX8MP DW100 Dewarper core 8*7ef62cebSEmmanuel Vadot 9*7ef62cebSEmmanuel Vadotmaintainers: 10*7ef62cebSEmmanuel Vadot - Xavier Roumegue <xavier.roumegue@oss.nxp.com> 11*7ef62cebSEmmanuel Vadot 12*7ef62cebSEmmanuel Vadotdescription: |- 13*7ef62cebSEmmanuel Vadot The Dewarp Engine provides high-performance dewarp processing for the 14*7ef62cebSEmmanuel Vadot correction of the distortion that is introduced in images produced by fisheye 15*7ef62cebSEmmanuel Vadot and wide angle lenses. It is implemented with a line/tile-cache based 16*7ef62cebSEmmanuel Vadot architecture. With configurable address mapping look up tables and per tile 17*7ef62cebSEmmanuel Vadot processing, it successfully generates a corrected output image. 18*7ef62cebSEmmanuel Vadot The engine can be used to perform scaling, cropping and pixel format 19*7ef62cebSEmmanuel Vadot conversion. 20*7ef62cebSEmmanuel Vadot 21*7ef62cebSEmmanuel Vadotproperties: 22*7ef62cebSEmmanuel Vadot compatible: 23*7ef62cebSEmmanuel Vadot enum: 24*7ef62cebSEmmanuel Vadot - nxp,imx8mp-dw100 25*7ef62cebSEmmanuel Vadot 26*7ef62cebSEmmanuel Vadot reg: 27*7ef62cebSEmmanuel Vadot maxItems: 1 28*7ef62cebSEmmanuel Vadot 29*7ef62cebSEmmanuel Vadot interrupts: 30*7ef62cebSEmmanuel Vadot maxItems: 1 31*7ef62cebSEmmanuel Vadot 32*7ef62cebSEmmanuel Vadot clocks: 33*7ef62cebSEmmanuel Vadot items: 34*7ef62cebSEmmanuel Vadot - description: The AXI clock 35*7ef62cebSEmmanuel Vadot - description: The AHB clock 36*7ef62cebSEmmanuel Vadot 37*7ef62cebSEmmanuel Vadot clock-names: 38*7ef62cebSEmmanuel Vadot items: 39*7ef62cebSEmmanuel Vadot - const: axi 40*7ef62cebSEmmanuel Vadot - const: ahb 41*7ef62cebSEmmanuel Vadot 42*7ef62cebSEmmanuel Vadot power-domains: 43*7ef62cebSEmmanuel Vadot maxItems: 1 44*7ef62cebSEmmanuel Vadot 45*7ef62cebSEmmanuel Vadotrequired: 46*7ef62cebSEmmanuel Vadot - compatible 47*7ef62cebSEmmanuel Vadot - reg 48*7ef62cebSEmmanuel Vadot - interrupts 49*7ef62cebSEmmanuel Vadot - clocks 50*7ef62cebSEmmanuel Vadot - clock-names 51*7ef62cebSEmmanuel Vadot - power-domains 52*7ef62cebSEmmanuel Vadot 53*7ef62cebSEmmanuel VadotadditionalProperties: false 54*7ef62cebSEmmanuel Vadot 55*7ef62cebSEmmanuel Vadotexamples: 56*7ef62cebSEmmanuel Vadot - | 57*7ef62cebSEmmanuel Vadot #include <dt-bindings/clock/imx8mp-clock.h> 58*7ef62cebSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 59*7ef62cebSEmmanuel Vadot #include <dt-bindings/power/imx8mp-power.h> 60*7ef62cebSEmmanuel Vadot 61*7ef62cebSEmmanuel Vadot dewarp: dwe@32e30000 { 62*7ef62cebSEmmanuel Vadot compatible = "nxp,imx8mp-dw100"; 63*7ef62cebSEmmanuel Vadot reg = <0x32e30000 0x10000>; 64*7ef62cebSEmmanuel Vadot interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 65*7ef62cebSEmmanuel Vadot clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, 66*7ef62cebSEmmanuel Vadot <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; 67*7ef62cebSEmmanuel Vadot clock-names = "axi", "ahb"; 68*7ef62cebSEmmanuel Vadot power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>; 69*7ef62cebSEmmanuel Vadot }; 70