xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/snps,dw-mipi-dsi.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/snps,dw-mipi-dsi.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Synopsys DesignWare MIPI DSI host controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Philippe CORNU <philippe.cornu@st.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  This document defines device tree properties for the Synopsys DesignWare MIPI
14c66ec88fSEmmanuel Vadot  DSI host controller. It doesn't constitue a device tree binding specification
15c66ec88fSEmmanuel Vadot  by itself but is meant to be referenced by platform-specific device tree
16c66ec88fSEmmanuel Vadot  bindings.
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot  When referenced from platform device tree bindings the properties defined in
19c66ec88fSEmmanuel Vadot  this document are defined as follows. The platform device tree bindings are
20c66ec88fSEmmanuel Vadot  responsible for defining whether each property is required or optional.
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel VadotallOf:
23c66ec88fSEmmanuel Vadot  - $ref: ../dsi-controller.yaml#
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadotproperties:
26c66ec88fSEmmanuel Vadot  reg:
27c66ec88fSEmmanuel Vadot    maxItems: 1
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  clocks:
30c66ec88fSEmmanuel Vadot    items:
31c66ec88fSEmmanuel Vadot      - description: Module clock
32c66ec88fSEmmanuel Vadot      - description: DSI bus clock for either AHB and APB
33c66ec88fSEmmanuel Vadot      - description: Pixel clock for the DPI/RGB input
34c66ec88fSEmmanuel Vadot    minItems: 2
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot  clock-names:
37c66ec88fSEmmanuel Vadot    items:
38c66ec88fSEmmanuel Vadot      - const: ref
39c66ec88fSEmmanuel Vadot      - const: pclk
40c66ec88fSEmmanuel Vadot      - const: px_clk
41c66ec88fSEmmanuel Vadot    minItems: 2
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot  resets:
44c66ec88fSEmmanuel Vadot    maxItems: 1
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadot  reset-names:
47c66ec88fSEmmanuel Vadot    const: apb
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot  ports:
50*5def4c47SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
51c66ec88fSEmmanuel Vadot
52c66ec88fSEmmanuel Vadot    properties:
53c66ec88fSEmmanuel Vadot      port@0:
54*5def4c47SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
55c66ec88fSEmmanuel Vadot        description: Input node to receive pixel data.
56*5def4c47SEmmanuel Vadot
57c66ec88fSEmmanuel Vadot      port@1:
58*5def4c47SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
59c66ec88fSEmmanuel Vadot        description: DSI output node to panel.
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot    required:
62c66ec88fSEmmanuel Vadot      - port@0
63c66ec88fSEmmanuel Vadot      - port@1
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadotrequired:
66c66ec88fSEmmanuel Vadot  - clock-names
67c66ec88fSEmmanuel Vadot  - clocks
68c66ec88fSEmmanuel Vadot  - ports
69c66ec88fSEmmanuel Vadot  - reg
706be33864SEmmanuel Vadot
716be33864SEmmanuel VadotadditionalProperties: true
72