1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/apple,summit.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Apple "Summit" display panel
8
9maintainers:
10  - Sasha Finkelstein <fnkl.kernel@gmail.com>
11
12description:
13  An OLED panel used as a touchbar on certain Apple laptops.
14  Contains a backlight device, which controls brightness of the panel itself.
15  The backlight common properties are included for this reason
16
17allOf:
18  - $ref: panel-common.yaml#
19  - $ref: /schemas/leds/backlight/common.yaml#
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - apple,j293-summit
26          - apple,j493-summit
27      - const: apple,summit
28
29  reg:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35  - max-brightness
36  - port
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    dsi {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        panel@0 {
47            compatible = "apple,j293-summit", "apple,summit";
48            reg = <0>;
49            max-brightness = <255>;
50
51            port {
52                endpoint {
53                    remote-endpoint = <&dfr_bridge_out>;
54                };
55            };
56        };
57    };
58...
59