summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml
blob: bccc667aa072e898d3d5bce03132be7358e7724e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/samsung,sofef01-m.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung SOFEF01-M DDI for 1080x2520@60Hz 6.0"/6.1" OLED DSI panels

maintainers:
  - Marijn Suijten <marijn.suijten@somainline.org>

description: |
  Samsung SOFEF01-M Display-Driver-IC found in multiple Sony smartphones, paired with
  the following panel:
   - Sony Xperia 5 (kumano bahamut): amb609tc01
   - Sony Xperia 10 II (seine pdx201): ams597ut01
   - Sony Xperia 10 III (lena pdx213): ams597ut04
   - Sony Xperia 10 IV (murray pdx225): ams597ut05
   - Sony Xperia 10 V (zambezi pdx235): ams605dk01
   - Sony Xperia 10 VI (columbia pdx246): ams605dk01

  The assembly features a Samsung touchscreen compatible with
  samsung,s6sy761.

properties:
  compatible:
    enum:
      - samsung,sofef01-m-amb609tc01 # 6.1"
      - samsung,sofef01-m-ams597ut01 # 6.0"
      - samsung,sofef01-m-ams597ut04 # 6.0"
      - samsung,sofef01-m-ams597ut05 # 6.0"
      - samsung,sofef01-m-ams605dk01 # 6.1"

  port: true

  reg:
    maxItems: 1
    description: DSI virtual channel

  reset-gpios: true

  vci-supply:
    description: DisplayIC Operation supply (3.0V)

  vddio-supply:
    description: I/O voltage supply (1.8V)

required:
  - compatible
  - port
  - reg
  - reset-gpios
  - vddio-supply

allOf:
  - $ref: panel-common.yaml#
  - if:
      properties:
        compatible:
          contains:
            const: samsung,sofef01-m-amb609tc01
    then:
      required:
        - vci-supply
    else:
      properties:
        vci-supply: false

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
            compatible = "samsung,sofef01-m-amb609tc01";
            reg = <0>;

            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

            vci-supply = <&vreg_l17a_3p0>;
            vddio-supply = <&vreg_l14a_1p8>;

            port {
                endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };
        };
    };
...