# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/imx/fsl,imx-display-subsystem.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX DRM master device

maintainers:
  - Frank Li <Frank.Li@nxp.com>

description:
  The freescale i.MX DRM master device is a virtual device needed to list all
  IPU or other display interface nodes that comprise the graphics subsystem.

properties:
  compatible:
    const: fsl,imx-display-subsystem

  ports:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description:
      Should contain a list of phandles pointing to camera
      sensor interface ports of IPU devices.

required:
  - compatible

additionalProperties: false

examples:
  - |
    display-subsystem {
        compatible = "fsl,imx-display-subsystem";
        ports = <&ipu_di0>;
    };
