Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml
Extension
.yaml
Size
4504 bytes
Lines
170
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/mediatek,mt8173-mdp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT8173 Media Data Path

maintainers:
  - Ariel D'Alessandro <ariel.dalessandro@collabora.com>

description:
  Media Data Path is used for scaling and color space conversion.

properties:
  compatible:
    oneOf:
      - enum:
          - mediatek,mt8173-mdp-rdma
          - mediatek,mt8173-mdp-rsz
          - mediatek,mt8173-mdp-wdma
          - mediatek,mt8173-mdp-wrot
      - items:
          - const: mediatek,mt8173-mdp-rdma
          - const: mediatek,mt8173-mdp

  reg:
    maxItems: 1

  clocks:
    minItems: 1
    maxItems: 2

  power-domains:
    maxItems: 1

  iommus:
    maxItems: 1

  mediatek,vpu:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      phandle to Mediatek Video Processor Unit for HW Codec encode/decode and
      image processing.

required:
  - compatible
  - reg
  - clocks
  - power-domains

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: mediatek,mt8173-mdp-rdma
    then:
      properties:
        clocks:
          items:
            - description: Main clock
            - description: Mutex clock
    else:
      properties:
        clocks:
          items:
            - description: Main clock

  - if:

Annotation

Implementation Notes