Document Samsung S6E8FCO DTS binding used with the M1906F9 6.09" 720x1560
panel found in the Xiaomi Mi A3 smartphone.

Co-developed-by: Kamil Gołda <[email protected]>
Signed-off-by: Kamil Gołda <[email protected]>
Signed-off-by: Yedaya Katsman <[email protected]>
---
 .../display/panel/samsung,s6e8fco-m1906f9.yaml     | 63 ++++++++++++++++++++++
 MAINTAINERS                                        |  5 ++
 2 files changed, 68 insertions(+)

diff --git 
a/Documentation/devicetree/bindings/display/panel/samsung,s6e8fco-m1906f9.yaml 
b/Documentation/devicetree/bindings/display/panel/samsung,s6e8fco-m1906f9.yaml
new file mode 100644
index 
0000000000000000000000000000000000000000..927d170793dcd49c19ebe353268980710ad4b5b2
--- /dev/null
+++ 
b/Documentation/devicetree/bindings/display/panel/samsung,s6e8fco-m1906f9.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,s6e8fco-m1906f9.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S6E8FCO DSI for the Samsung M1906F9 AMOLED Panel
+
+maintainers:
+  - Yedaya Katsman <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    const: samsung,s6e8fco-m1906f9
+
+  reg:
+    maxItems: 1
+
+  vddi-supply:
+    description: VDDI regulator
+  vci-supply:
+    description: VCI regulator
+  reset-gpios: true
+  port: true
+
+required:
+  - compatible
+  - reg
+  - vddi-supply
+  - vci-supply
+  - port
+  - reset-gpios
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel@0 {
+            compatible = "samsung,s6e8fco-m1906f9";
+            reg = <0>;
+
+            vddi-supply = <&panel_vddi_1p8>;
+            vci-supply = <&panel_vci_3p0>;
+
+            reset-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>;
+
+            port {
+                panel_in: endpoint {
+                    remote-endpoint = <&mdss_dsi0_out>;
+                };
+            };
+        };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 
e087673237636268346979ddc270f8cf0905c722..d7aee8dab903cd42c245fea3cf8971dcd99b2196
 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8183,6 +8183,11 @@ S:       Maintained
 F:     Documentation/devicetree/bindings/display/panel/samsung,s6e3ha8.yaml
 F:     drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
 
+DRM DRIVER FOR SAMSUNG S6E8FCO PANELS
+M:     Yedaya Katsman <[email protected]>
+S:     Maintained
+F:     
Documentation/devicetree/bindings/display/panel/samsung,s6e8fco-m1906f9.yaml
+
 DRM DRIVER FOR SAMSUNG SOFEF00 DDIC
 M:     David Heidelberg <[email protected]>
 M:     Casey Connolly <[email protected]>

-- 
2.53.0

Reply via email to