xref: /linux/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
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,sofef01-m.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung SOFEF01-M DDI for 1080x2520@60Hz 6.0"/6.1" OLED DSI panels
8
9maintainers:
10  - Marijn Suijten <marijn.suijten@somainline.org>
11
12description: |
13  Samsung SOFEF01-M Display-Driver-IC found in multiple Sony smartphones, paired with
14  the following panel:
15   - Sony Xperia 5 (kumano bahamut): amb609tc01
16   - Sony Xperia 10 II (seine pdx201): ams597ut01
17   - Sony Xperia 10 III (lena pdx213): ams597ut04
18   - Sony Xperia 10 IV (murray pdx225): ams597ut05
19   - Sony Xperia 10 V (zambezi pdx235): ams605dk01
20   - Sony Xperia 10 VI (columbia pdx246): ams605dk01
21
22  The assembly features a Samsung touchscreen compatible with
23  samsung,s6sy761.
24
25properties:
26  compatible:
27    enum:
28      - samsung,sofef01-m-amb609tc01 # 6.1"
29      - samsung,sofef01-m-ams597ut01 # 6.0"
30      - samsung,sofef01-m-ams597ut04 # 6.0"
31      - samsung,sofef01-m-ams597ut05 # 6.0"
32      - samsung,sofef01-m-ams605dk01 # 6.1"
33
34  port: true
35
36  reg:
37    maxItems: 1
38    description: DSI virtual channel
39
40  reset-gpios: true
41
42  vci-supply:
43    description: DisplayIC Operation supply (3.0V)
44
45  vddio-supply:
46    description: I/O voltage supply (1.8V)
47
48required:
49  - compatible
50  - port
51  - reg
52  - reset-gpios
53  - vddio-supply
54
55allOf:
56  - $ref: panel-common.yaml#
57  - if:
58      properties:
59        compatible:
60          contains:
61            const: samsung,sofef01-m-amb609tc01
62    then:
63      required:
64        - vci-supply
65    else:
66      properties:
67        vci-supply: false
68
69unevaluatedProperties: false
70
71examples:
72  - |
73    #include <dt-bindings/gpio/gpio.h>
74
75    dsi {
76        #address-cells = <1>;
77        #size-cells = <0>;
78        panel@0 {
79            compatible = "samsung,sofef01-m-amb609tc01";
80            reg = <0>;
81
82            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
83
84            vci-supply = <&vreg_l17a_3p0>;
85            vddio-supply = <&vreg_l14a_1p8>;
86
87            port {
88                endpoint {
89                    remote-endpoint = <&dsi0_out>;
90                };
91            };
92        };
93    };
94...
95