Document the Samsung SOFEF03-M Display-Driver-IC and 1080x2520@120Hz DSI
command-mode panels found in the Sony Xperia 5 II and Sony Xperia 5 III.
It requires Display Stream Compression 1.1 which allows the panels to be
driven at 120Hz, even though a 60Hz mode is available too.

Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Marijn Suijten <[email protected]>
---
 .../bindings/display/panel/samsung,sofef03-m.yaml  | 79 ++++++++++++++++++++++
 MAINTAINERS                                        |  5 ++
 2 files changed, 84 insertions(+)

diff --git 
a/Documentation/devicetree/bindings/display/panel/samsung,sofef03-m.yaml 
b/Documentation/devicetree/bindings/display/panel/samsung,sofef03-m.yaml
new file mode 100644
index 000000000000..5712eca2773d
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,sofef03-m.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,sofef03-m.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung SOFEF03-M DDI for 1080x2520@120Hz 6.1" OLED DSI panels
+
+maintainers:
+  - Marijn Suijten <[email protected]>
+
+description: |
+  Samsung SOFEF03-M Display-Driver-IC found in the Sony Xperia 5 II (edo 
pdx206, amb609vp01
+  panel) and
+  Sony Xperia 5 III (sagami pdx214, amb609vp04
+  panel) smartphones.  It is always programmed with Display Stream Compression 
1.1 enabled.
+
+  The assembly features a Samsung touchscreen compatible with
+  samsung,s6sy761.
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    enum:
+      - samsung,sofef03-m-amb609vp01
+      - samsung,sofef03-m-amb609vp04
+
+  port: true
+
+  reg:
+    maxItems: 1
+    description: DSI virtual channel
+
+  reset-gpios: true
+
+  vci-supply:
+    description: DriverIC Operation supply (3.0V)
+
+  vddio-supply:
+    description: I/O voltage supply (1.8V)
+
+required:
+  - compatible
+  - port
+  - reg
+  - reset-gpios
+  - vci-supply
+  - vddio-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        panel@0 {
+            compatible = "samsung,sofef03-m-amb609vp01";
+            reg = <0>;
+
+            reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
+
+            vci-supply = <&vreg_l11c_3p0>;
+            vddio-supply = <&vreg_l14a_1p8>;
+
+            port {
+                endpoint {
+                    remote-endpoint = <&dsi0_out>;
+                };
+            };
+        };
+    };
+
+...
+
diff --git a/MAINTAINERS b/MAINTAINERS
index cd2c924749d3..e48dd7f5a115 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8200,6 +8200,11 @@ S:       Maintained
 F:     Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml
 F:     drivers/gpu/drm/panel/panel-samsung-sofef01.c
 
+DRM DRIVER FOR SAMSUNG SOFEF03 DDIC
+M:     Marijn Suijten <[email protected]>
+S:     Maintained
+F:     Documentation/devicetree/bindings/display/panel/samsung,sofef03-m.yaml
+
 DRM DRIVER FOR SHARP MEMORY LCD
 M:     Alex Lanzano <[email protected]>
 S:     Maintained

-- 
2.52.0

Reply via email to