xref: /linux/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml (revision 37b20e9a5810e132a21c54f858043b22671396dd)
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/samsung,atna33xc20.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
8
9maintainers:
10  - Douglas Anderson <dianders@chromium.org>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    oneOf:
18      # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
19      - const: samsung,atna33xc20
20      - items:
21          - enum:
22              # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
23              - samsung,atna45af01
24              # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel
25              - samsung,atna45dc02
26          - const: samsung,atna33xc20
27
28  enable-gpios: true
29  port: true
30  power-supply: true
31  no-hpd: true
32  hpd-gpios: true
33
34additionalProperties: false
35
36required:
37  - compatible
38  - enable-gpios
39  - power-supply
40
41examples:
42  - |
43    #include <dt-bindings/clock/qcom,rpmh.h>
44    #include <dt-bindings/gpio/gpio.h>
45    #include <dt-bindings/interrupt-controller/irq.h>
46
47    i2c {
48      #address-cells = <1>;
49      #size-cells = <0>;
50
51      bridge@2d {
52        compatible = "ti,sn65dsi86";
53        reg = <0x2d>;
54
55        interrupt-parent = <&tlmm>;
56        interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
57
58        enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;
59
60        vpll-supply = <&src_pp1800_s4a>;
61        vccio-supply = <&src_pp1800_s4a>;
62        vcca-supply = <&src_pp1200_l2a>;
63        vcc-supply = <&src_pp1200_l2a>;
64
65        clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
66        clock-names = "refclk";
67
68        no-hpd;
69
70        ports {
71          #address-cells = <1>;
72          #size-cells = <0>;
73
74          port@0 {
75            reg = <0>;
76            endpoint {
77              remote-endpoint = <&dsi0_out>;
78            };
79          };
80
81          port@1 {
82            reg = <1>;
83            sn65dsi86_out: endpoint {
84              remote-endpoint = <&panel_in_edp>;
85            };
86          };
87        };
88
89        aux-bus {
90          panel {
91            compatible = "samsung,atna33xc20";
92            enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
93            power-supply = <&pp3300_dx_edp>;
94            hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
95
96            port {
97              panel_in_edp: endpoint {
98                remote-endpoint = <&sn65dsi86_out>;
99              };
100            };
101          };
102        };
103      };
104    };
105