[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211121034748.158296-2-y.oudjana@protonmail.com>
Date: Sun, 21 Nov 2021 03:49:45 +0000
From: Yassine Oudjana <y.oudjana@...tonmail.com>
To: Thierry Reding <thierry.reding@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>
Cc: Yassine Oudjana <y.oudjana@...tonmail.com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
phone-devel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
linux-kernel@...r.kernel.org, Rob Herring <robh@...nel.org>
Subject: [PATCH v3 1/2] dt-bindings: display: Add DT schema for LG.Philips SW43101
Add a schema for LG.Philips SW43101 bindings.
Signed-off-by: Yassine Oudjana <y.oudjana@...tonmail.com>
Reviewed-by: Rob Herring <robh@...nel.org>
---
Changes since v2:
- Make the DT schema patch first in the series.
Changes since v1:
- Add regulator support.
- Add MAINTAINERS entry.
- Dual-license DT binding.
.../display/panel/lgphilips,sw43101.yaml | 75 +++++++++++++++++++
MAINTAINERS | 5 ++
2 files changed, 80 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml b/Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml
new file mode 100644
index 000000000000..6f67130bab8b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/lgphilips,sw43101.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: LG.Philips SW43101 1080x1920 OLED panel
+
+maintainers:
+ - Yassine Oudjana <y.oudjana@...tonmail.com>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: lgphilips,sw43101
+
+ reg: true
+ reset-gpios: true
+
+ vdd-supply:
+ description: Digital power supply
+
+ avdd-supply:
+ description: Analog power supply
+
+ elvdd-supply:
+ description: Positive electroluminescence power supply
+
+ elvss-supply:
+ description: Negative electroluminescence power supply
+
+ port: true
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+ - vdd-supply
+ - avdd-supply
+ - elvdd-supply
+ - elvss-supply
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "lgphilips,sw43101";
+ reg = <0>;
+
+ reset-gpios = <&msmgpio 8 GPIO_ACTIVE_LOW>;
+
+ vdd-supply = <&vreg_l14a_1p8>;
+ avdd-supply = <&vlin1_7v3>;
+ elvdd-supply = <&elvdd>;
+ elvss-supply = <&elvss>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dsi_out>;
+ };
+ };
+ };
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 37c9372305b0..b096425e3c01 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6002,6 +6002,11 @@ S: Orphan / Obsolete
F: drivers/gpu/drm/i810/
F: include/uapi/drm/i810_drm.h
+DRM DRIVER FOR LG.PHILIPS SW43101 PANEL
+M: Yassine Oudjana <y.oudjana@...tonmail.com>
+S: Maintained
+F: Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml
+
DRM DRIVER FOR LVDS PANELS
M: Laurent Pinchart <laurent.pinchart@...asonboard.com>
L: dri-devel@...ts.freedesktop.org
--
2.33.1
Powered by blists - more mailing lists