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