linux/Documentation/devicetree/bindings/display/msm/dpu-common.yaml

%YAML 1.2
---
$id: http://devicetree.org/schemas/display/msm/dpu-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Display DPU common properties

maintainers:
  - Krishna Manikandan <[email protected]>
  - Dmitry Baryshkov <[email protected]>
  - Rob Clark <[email protected]>

description: |
  Common properties for QCom DPU display controller.

# Do not select this by default, otherwise it is also selected for all
# display-controller@ nodes
select:
  false

properties:
  $nodename:
    pattern: '^display-controller@[0-9a-f]+$'

  interrupts:
    maxItems: 1

  power-domains:
    maxItems: 1

  operating-points-v2: true
  opp-table:
    type: object

  ports:
    $ref: /schemas/graph.yaml#/properties/ports
    description: |
      Contains the list of output ports from DPU device. These ports
      connect to interfaces that are external to the DPU hardware,
      such as DSI, DP etc.

    patternProperties:
      "^port@[0-9a-f]+$":
        $ref: /schemas/graph.yaml#/properties/port

    # at least one port is required
    required:
      - port@0

required:
  - interrupts
  - power-domains
  - operating-points-v2
  - ports

additionalProperties: true