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