Document the Samsung SOUXP00-A Display-Driver-IC and 11644x3840@60Hz
6.5" DSI command-mode panels found in the Sony Xperia 1 with amb650wh01
panel and Sony Xperia 1 II with amb650wh07 panel. It requires Display
Stream Compression 1.1.

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

diff --git 
a/Documentation/devicetree/bindings/display/panel/samsung,souxp00-a.yaml 
b/Documentation/devicetree/bindings/display/panel/samsung,souxp00-a.yaml
new file mode 100644
index 000000000000..bfbb8c0a41cf
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,souxp00-a.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,souxp00-a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung SOUXP00-A DDI for 1644x3840@60Hz 6.5" OLED DSI panels
+
+maintainers:
+  - Marijn Suijten <[email protected]>
+
+description: |
+  Samsung SOUXP00-A Display-Driver-IC found in the Sony Xperia 1 (kumano
+  griffin, amb650wh01 panel) and Sony Xperia 1 II (edo pdx203, amb650wh07 
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,souxp00-a-amb650wh01
+      - samsung,souxp00-a-amb650wh07
+
+  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,souxp00-a-amb650wh01";
+            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>;
+                };
+            };
+        };
+    };
+
+...
+
diff --git a/MAINTAINERS b/MAINTAINERS
index 28135743ca0c..7f32ff371799 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8206,6 +8206,11 @@ S:       Maintained
 F:     Documentation/devicetree/bindings/display/panel/samsung,sofef03-m.yaml
 F:     drivers/gpu/drm/panel/panel-samsung-sofef03.c
 
+DRM DRIVER FOR SAMSUNG SOUXP00 DDIC
+M:     Marijn Suijten <[email protected]>
+S:     Maintained
+F:     Documentation/devicetree/bindings/display/panel/samsung,souxp00-a.yaml
+
 DRM DRIVER FOR SHARP MEMORY LCD
 M:     Alex Lanzano <[email protected]>
 S:     Maintained

-- 
2.52.0

Reply via email to