public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Alicja Michalska <alicja.michalska@9elements.com>
To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	Alicja Michalska <alicja.michalska@9elements.com>
Subject: [PATCH 1/3] dt-bindings: display: panel: Add Samsung EA8076 panel
Date: Wed, 23 Jul 2025 16:52:08 +0200	[thread overview]
Message-ID: <20250723145208.338162-2-alicja.michalska@9elements.com> (raw)

Add bindings for Samsung EA8076 LCD panel.
This panel was usually used in mid-high end smartphones manufactured by
Xiaomi in 2018 and 2019 (Mi 9 Lite and Mi Mix 3, with codenames
"xiaomi-pyxis" and "xiaomi-perseus", respectively).

Signed-off-by: Alicja Michalska <alicja.michalska@9elements.com>
---
 .../display/panel/samsung,ea8076.yaml         | 71 +++++++++++++++++++
 1 file changed, 71 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ea8076.yaml

diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ea8076.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ea8076.yaml
new file mode 100644
index 000000000000..7ea0c9fedfa4
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,ea8076.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,ea8076.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung EA8076 1080x2340 AMOLED panel
+
+description: EA8076 panel manufactured by Samsung Display. It's used in some Xiaomi smartphones from 2018 and 2019, such as xiaomi-pyxis or xiaomi-perseus.
+
+maintainers:
+  - Alicja Michalska <alicja.michalska@9elements.com>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    const: samsung,ea8076
+
+  reg:
+    maxItems: 1
+
+  te-gpios: VSync GPIO pin, usually GPIO_ACTIVE_LOW.
+  reset-gpios: Reset GPIO pin, usually GPIO_ACTIVE_LOW.
+
+  port: Required on platforms using MDSS DSI (Qualcomm).
+
+  vio-supply:
+    description: IO supply, usually 3V controlled by GPIO regulator.
+
+  power-supply:
+    description: Main power supply for the panel, usually around 3.3V.
+
+required:
+  - compatible
+  - vio-supply
+  - power-supply
+  - te-gpios
+  - reset-gpios
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel@0 {
+            compatible = "samsung,ea8076";
+            reg = <0>;
+            vio-supply = <&disp_3p0_en>;
+            power-supply = <&vreg_l8b_3p3>;
+            te-gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
+            reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
+            pinctrl-names = "default", "sleep";
+            pinctrl-0 = <&panel_default>;
+            pinctrl-1 = <&panel_sleep>;
+
+            port {
+                panel_in: endpoint {
+                    remote-endpoint = <&mdss_dsi0_out>;
+                };
+            };
+        };
+    };
+
+...
-- 
2.50.1


             reply	other threads:[~2025-07-23 14:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23 14:52 Alicja Michalska [this message]
2025-07-23 14:52 ` [PATCH 2/3] drm: panel: Add support for Samsung EA8076 AMOLED panel Alicja Michalska
2025-07-23 20:14 ` [PATCH 1/3] dt-bindings: display: panel: Add Samsung EA8076 panel Rob Herring (Arm)
2025-07-24  7:51 ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250723145208.338162-2-alicja.michalska@9elements.com \
    --to=alicja.michalska@9elements.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=krzk+dt@kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quic_jesszhan@quicinc.com \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox