mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
dt-bindings: media: convert fsl-vdoa.txt to yaml format
Convert fsl-vdoa.txt to yaml format. Additional changes: - Add irq.h and imx6qdl-clock.h in example. Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
51ad3b570e
commit
b245bd0eb4
42
Documentation/devicetree/bindings/media/fsl,imx6q-vdoa.yaml
Normal file
42
Documentation/devicetree/bindings/media/fsl,imx6q-vdoa.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/media/fsl,imx6q-vdoa.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Freescale Video Data Order Adapter
|
||||
|
||||
description:
|
||||
The Video Data Order Adapter (VDOA) is present on the i.MX6q. Its sole purpose
|
||||
is to reorder video data from the macroblock tiled order produced by the CODA
|
||||
960 VPU to the conventional raster-scan order for scanout.
|
||||
|
||||
maintainers:
|
||||
- Frank Li <Frank.Li@nxp.com>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: "fsl,imx6q-vdoa"
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/clock/imx6qdl-clock.h>
|
||||
|
||||
vdoa@21e4000 {
|
||||
compatible = "fsl,imx6q-vdoa";
|
||||
reg = <0x021e4000 0x4000>;
|
||||
interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clks IMX6QDL_CLK_VDOA>;
|
||||
};
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
Freescale Video Data Order Adapter
|
||||
==================================
|
||||
|
||||
The Video Data Order Adapter (VDOA) is present on the i.MX6q. Its sole purpose
|
||||
is to reorder video data from the macroblock tiled order produced by the CODA
|
||||
960 VPU to the conventional raster-scan order for scanout.
|
||||
|
||||
Required properties:
|
||||
- compatible: must be "fsl,imx6q-vdoa"
|
||||
- reg: the register base and size for the device registers
|
||||
- interrupts: the VDOA interrupt
|
||||
- clocks: the vdoa clock
|
||||
|
||||
Example:
|
||||
|
||||
vdoa@21e4000 {
|
||||
compatible = "fsl,imx6q-vdoa";
|
||||
reg = <0x021e4000 0x4000>;
|
||||
interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clks IMX6QDL_CLK_VDOA>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user