1*8ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*8ccc0d23SEmmanuel Vadot%YAML 1.2 3*8ccc0d23SEmmanuel Vadot--- 4*8ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/display/apple,h7-display-pipe-mipi.yaml# 5*8ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8ccc0d23SEmmanuel Vadot 7*8ccc0d23SEmmanuel Vadottitle: Apple pre-DCP display controller MIPI interface 8*8ccc0d23SEmmanuel Vadot 9*8ccc0d23SEmmanuel Vadotmaintainers: 10*8ccc0d23SEmmanuel Vadot - Sasha Finkelstein <fnkl.kernel@gmail.com> 11*8ccc0d23SEmmanuel Vadot 12*8ccc0d23SEmmanuel Vadotdescription: 13*8ccc0d23SEmmanuel Vadot The MIPI controller part of the pre-DCP Apple display controller 14*8ccc0d23SEmmanuel Vadot 15*8ccc0d23SEmmanuel VadotallOf: 16*8ccc0d23SEmmanuel Vadot - $ref: dsi-controller.yaml# 17*8ccc0d23SEmmanuel Vadot 18*8ccc0d23SEmmanuel Vadotproperties: 19*8ccc0d23SEmmanuel Vadot compatible: 20*8ccc0d23SEmmanuel Vadot items: 21*8ccc0d23SEmmanuel Vadot - enum: 22*8ccc0d23SEmmanuel Vadot - apple,t8112-display-pipe-mipi 23*8ccc0d23SEmmanuel Vadot - apple,t8103-display-pipe-mipi 24*8ccc0d23SEmmanuel Vadot - const: apple,h7-display-pipe-mipi 25*8ccc0d23SEmmanuel Vadot 26*8ccc0d23SEmmanuel Vadot reg: 27*8ccc0d23SEmmanuel Vadot maxItems: 1 28*8ccc0d23SEmmanuel Vadot 29*8ccc0d23SEmmanuel Vadot power-domains: 30*8ccc0d23SEmmanuel Vadot maxItems: 1 31*8ccc0d23SEmmanuel Vadot 32*8ccc0d23SEmmanuel Vadot ports: 33*8ccc0d23SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 34*8ccc0d23SEmmanuel Vadot 35*8ccc0d23SEmmanuel Vadot properties: 36*8ccc0d23SEmmanuel Vadot port@0: 37*8ccc0d23SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 38*8ccc0d23SEmmanuel Vadot description: Input port. Always connected to the primary controller 39*8ccc0d23SEmmanuel Vadot 40*8ccc0d23SEmmanuel Vadot port@1: 41*8ccc0d23SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 42*8ccc0d23SEmmanuel Vadot description: Output MIPI DSI port to the panel 43*8ccc0d23SEmmanuel Vadot 44*8ccc0d23SEmmanuel Vadot required: 45*8ccc0d23SEmmanuel Vadot - port@0 46*8ccc0d23SEmmanuel Vadot - port@1 47*8ccc0d23SEmmanuel Vadot 48*8ccc0d23SEmmanuel Vadotrequired: 49*8ccc0d23SEmmanuel Vadot - compatible 50*8ccc0d23SEmmanuel Vadot - reg 51*8ccc0d23SEmmanuel Vadot - ports 52*8ccc0d23SEmmanuel Vadot 53*8ccc0d23SEmmanuel VadotunevaluatedProperties: false 54*8ccc0d23SEmmanuel Vadot 55*8ccc0d23SEmmanuel Vadotexamples: 56*8ccc0d23SEmmanuel Vadot - | 57*8ccc0d23SEmmanuel Vadot dsi@28200000 { 58*8ccc0d23SEmmanuel Vadot compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi"; 59*8ccc0d23SEmmanuel Vadot reg = <0x28200000 0xc000>; 60*8ccc0d23SEmmanuel Vadot power-domains = <&ps_dispdfr_mipi>; 61*8ccc0d23SEmmanuel Vadot 62*8ccc0d23SEmmanuel Vadot ports { 63*8ccc0d23SEmmanuel Vadot #address-cells = <1>; 64*8ccc0d23SEmmanuel Vadot #size-cells = <0>; 65*8ccc0d23SEmmanuel Vadot 66*8ccc0d23SEmmanuel Vadot port@0 { 67*8ccc0d23SEmmanuel Vadot reg = <0>; 68*8ccc0d23SEmmanuel Vadot 69*8ccc0d23SEmmanuel Vadot dfr_adp_out_mipi: endpoint { 70*8ccc0d23SEmmanuel Vadot remote-endpoint = <&dfr_adp_out_mipi>; 71*8ccc0d23SEmmanuel Vadot }; 72*8ccc0d23SEmmanuel Vadot }; 73*8ccc0d23SEmmanuel Vadot 74*8ccc0d23SEmmanuel Vadot port@1 { 75*8ccc0d23SEmmanuel Vadot reg = <1>; 76*8ccc0d23SEmmanuel Vadot 77*8ccc0d23SEmmanuel Vadot dfr_panel_in: endpoint { 78*8ccc0d23SEmmanuel Vadot remote-endpoint = <&dfr_mipi_out_panel>; 79*8ccc0d23SEmmanuel Vadot }; 80*8ccc0d23SEmmanuel Vadot }; 81*8ccc0d23SEmmanuel Vadot }; 82*8ccc0d23SEmmanuel Vadot }; 83*8ccc0d23SEmmanuel Vadot... 84