70 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/nxp,dw100.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP i.MX8MP DW100 Dewarper core8 9maintainers:10 - Xavier Roumegue <xavier.roumegue@oss.nxp.com>11 12description: |-13 The Dewarp Engine provides high-performance dewarp processing for the14 correction of the distortion that is introduced in images produced by fisheye15 and wide angle lenses. It is implemented with a line/tile-cache based16 architecture. With configurable address mapping look up tables and per tile17 processing, it successfully generates a corrected output image.18 The engine can be used to perform scaling, cropping and pixel format19 conversion.20 21properties:22 compatible:23 enum:24 - nxp,imx8mp-dw10025 26 reg:27 maxItems: 128 29 interrupts:30 maxItems: 131 32 clocks:33 items:34 - description: The AXI clock35 - description: The AHB clock36 37 clock-names:38 items:39 - const: axi40 - const: ahb41 42 power-domains:43 maxItems: 144 45required:46 - compatible47 - reg48 - interrupts49 - clocks50 - clock-names51 - power-domains52 53additionalProperties: false54 55examples:56 - |57 #include <dt-bindings/clock/imx8mp-clock.h>58 #include <dt-bindings/interrupt-controller/arm-gic.h>59 #include <dt-bindings/power/imx8mp-power.h>60 61 dewarp: dwe@32e30000 {62 compatible = "nxp,imx8mp-dw100";63 reg = <0x32e30000 0x10000>;64 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;65 clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,66 <&clk IMX8MP_CLK_MEDIA_APB_ROOT>;67 clock-names = "axi", "ahb";68 power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>;69 };70