[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210201165307.51443-1-iskren.chernev@gmail.com>
Date: Mon, 1 Feb 2021 18:53:05 +0200
From: Iskren Chernev <iskren.chernev@...il.com>
To: Rob Herring <robh+dt@...nel.org>, Sam Ravnborg <sam@...nborg.org>,
Thierry Reding <thierry.reding@...il.com>
Cc: Daniel Vetter <daniel@...ll.ch>, David Airlie <airlied@...ux.ie>,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Iskren Chernev <iskren.chernev@...il.com>
Subject: [PATCH v3 1/2] dt-bindings: panel: Add Samsung S6E3FA2 panel
The Samsung S6E3FA2 AMOLED cmd LCD panel is used on the Samsung Galaxy
S5 (klte).
Signed-off-by: Iskren Chernev <iskren.chernev@...il.com>
---
Add a simple generated panel driver that supports on/off and the corresponding
binding documentation.
Changes in v3:
- fix dt_binding_check issue with missing include
- fix panel type (cmd) in kconfig description
Changes in v2:
- move bindings to separate file, add 2 regulators
- add standalone panel driver
v1: https://lkml.org/lkml/2020/12/30/293
v2: https://lkml.org/lkml/2021/2/1/313
.../display/panel/samsung,s6e3fa2.yaml | 64 +++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e3fa2.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa2.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa2.yaml
new file mode 100644
index 000000000000..c751ad589480
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa2.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,s6e3fa2.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung s6e3fa2 AMOLED CMD LCD panel
+
+maintainers:
+ - Iskren Chernev <iskren.chernev@...il.com>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: samsung,s6e3fa2
+
+ reg: true
+ reset-gpios: true
+ port: true
+
+ iovdd-supply:
+ description: IOVDD regulator
+
+ vddr-supply:
+ description: VDDR regulator
+
+required:
+ - compatible
+ - reset-gpios
+ - iovdd-supply
+ - vddr-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ /* from Samsung Galaxy S5 klte */
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "samsung,s6e3fa2";
+ reg = <0>;
+
+ reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
+
+ iovdd-supply = <&pma8084_lvs4>;
+ vddr-supply = <&vreg_panel>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+ };
+ };
+
+...
base-commit: fd821bf0ed9a7db09d2e007df697f4d9ecfda99a
--
2.30.0
Powered by blists - more mailing lists