Skip to contentSkip to conversation

dt-bindings: Add vendor prefix for Elida

PATCH Applied Heiko Stuebner 3 participants 8 messages Feb 29, 2020 – Mar 6, 2020

Subsystems (5)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH v3 1/3 dt-bindings: Add vendor prefix for Elida

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Shenzen Elida Technology Co. Ltd. is a Chinese TFT manufacturer.

---
Hi Rob,

as can be seen on [0], Sam expects you to apply the vendor prefix to the main dt-tree.

Thanks
Heiko

[0] http://lore.kernel.org/r/[email protected]

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9e67944bec9c..38d3149d3adc 100644
@@ -285,6 +285,8 @@ patternProperties:
     description: Elan Microelectronic Corp.
   "^elgin,.*":
     description: Elgin S/A.
+  "^elida,.*":
+    description: Shenzhen Elida Technology Co., Ltd.
   "^embest,.*":
     description: Shenzhen Embest Technology Co., Ltd.
   "^emlid,.*":
Signature · 1 line
2.24.1
author maintainer
#1 lore raw

PATCH v3 2/3 dt-bindings: display: panel: Add binding document for Elida KD35T133

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

The KD35T133 is a 3.5" 320x480 DSI display used in the RK3326-based Odroid Go Advance handheld device.

---
 .../display/panel/elida,kd35t133.yaml         | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml new file +49 -0
new file mode 100644
index 000000000000..4bd74eaa61be
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/elida,kd35t133.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Elida KD35T133 3.5in 320x480 DSI panel
+
+maintainers:
+  - Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    const: elida,kd35t133
+  reg: true
+  backlight: true
+  reset-gpios: true
+  iovcc-supply:
+     description: regulator that supplies the iovcc voltage
+  vdd-supply:
+     description: regulator that supplies the vdd voltage
+
+required:
+  - compatible
+  - reg
+  - backlight
+  - iovcc-supply
+  - vdd-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    dsi@ff450000 {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        panel@0 {
+            compatible = "elida,kd35t133";
+            reg = <0>;
+            backlight = <&backlight>;
+            iovcc-supply = <&vcc_1v8>;
+            vdd-supply = <&vcc3v3_lcd>;
+        };
+    };
+
+...
Signature · 1 line
2.24.1
maintainer Reviewed-by on v3 2/3
#2 lore raw

Re: [PATCH v3 2/3] dt-bindings: display: panel: Add binding document for Elida KD35T133

Quoted 5 lines · Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

The KD35T133 is a 3.5" 320x480 DSI display used in the RK3326-based Odroid Go Advance handheld device.

Quoted 7 lines
---
 .../display/panel/elida,kd35t133.yaml         | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml
author maintainer Applied
#3 lore raw

Re: [PATCH v3 2/3] dt-bindings: display: panel: Add binding document for Elida KD35T133

In reply to Heiko Stuebner

Am Samstag, 29. Februar 2020, 16:15:05 CET schrieb Heiko Stuebner:

Quoted 7 lines

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

The KD35T133 is a 3.5" 320x480 DSI display used in the RK3326-based Odroid Go Advance handheld device.

applied to drm-misc-next with Rob's review

author maintainer
#4 lore raw

PATCH v3 3/3 drm/panel: add panel driver for Elida KD35T133 panels

In reply to Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Panel driver for the KD35T133 display from Elida, used for example in the rk3326-based Odroid Go Advance handheld.

changes in v3:
- add missing return value assignment (Francesco)
- re-sort header includes (Sam)
changes in v2:
- rename dsi_generic_write_seq macro to dsi_dcs_write_seq to honor the underlying mipi_dsi_dcs_write (Robin)

---
 drivers/gpu/drm/panel/Kconfig                |  10 +
 drivers/gpu/drm/panel/Makefile               |   1 +
 drivers/gpu/drm/panel/panel-elida-kd35t133.c | 352 +++++++++++++++++++
 3 files changed, 363 insertions(+)
 create mode 100644 drivers/gpu/drm/panel/panel-elida-kd35t133.c
drivers/gpu/drm/panel/Kconfig +10 -0
index db7ba062027e..56149fdbdf53 100644
@@ -50,6 +50,16 @@ config DRM_PANEL_SIMPLE
 	  that it can be automatically turned off when the panel goes into a
 	  low power state.
 
+config DRM_PANEL_ELIDA_KD35T133
+	tristate "Elida KD35T133 panel driver"
+	depends on OF
+	depends on DRM_MIPI_DSI
+	depends on BACKLIGHT_CLASS_DEVICE
+	help
+	  Say Y here if you want to enable support for the Elida
+	  KD35T133 controller for 320x480 LCD panels with MIPI-DSI
+	  system interfaces.
+
 config DRM_PANEL_FEIYANG_FY07024DI26A30D
 	tristate "Feiyang FY07024DI26A30-D MIPI-DSI LCD panel"
 	depends on OF
drivers/gpu/drm/panel/Makefile +1 -0
index 276907410a45..63189c015ba5 100644
@@ -3,6 +3,7 @@ obj-$(CONFIG_DRM_PANEL_ARM_VERSATILE) += panel-arm-versatile.o
 obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) += panel-boe-himax8279d.o
 obj-$(CONFIG_DRM_PANEL_LVDS) += panel-lvds.o
 obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o
+obj-$(CONFIG_DRM_PANEL_ELIDA_KD35T133) += panel-elida-kd35t133.o
 obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) += panel-feiyang-fy07024di26a30d.o
 obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o
 obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o
drivers/gpu/drm/panel/panel-elida-kd35t133.c new file +352 -0

352 lines not on this page · raw message

Signature · 1 line
2.24.1
author maintainer Applied
#5 lore raw

Re: [PATCH v3 3/3] drm/panel: add panel driver for Elida KD35T133 panels

Am Samstag, 29. Februar 2020, 16:15:06 CET schrieb Heiko Stuebner:

Quoted 12 lines

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Panel driver for the KD35T133 display from Elida, used for example in the rk3326-based Odroid Go Advance handheld.

changes in v3:
- add missing return value assignment (Francesco)
- re-sort header includes (Sam)
changes in v2:
- rename dsi_generic_write_seq macro to dsi_dcs_write_seq to honor the underlying mipi_dsi_dcs_write (Robin)

Quoted 2 lines

applied to drm-misc-next with Sam's Review

#6 lore raw
In reply to Heiko Stuebner
Quoted 11 lines · Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Shenzen Elida Technology Co. Ltd. is a Chinese TFT manufacturer.

---
Hi Rob,

as can be seen on [0], Sam expects you to apply the vendor prefix to the main dt-tree.

Or just an ack - then we take it via drm-misc-next.

Sam

Quoted 24 lines

Thanks
Heiko

[0] http://lore.kernel.org/r/[email protected]

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9e67944bec9c..38d3149d3adc 100644
@@ -285,6 +285,8 @@ patternProperties:
     description: Elan Microelectronic Corp.
   "^elgin,.*":
     description: Elgin S/A.
+  "^elida,.*":
+    description: Shenzhen Elida Technology Co., Ltd.
   "^embest,.*":
     description: Shenzhen Embest Technology Co., Ltd.
   "^emlid,.*":
Signature · 1 line
2.24.1
maintainer Applied
#7 lore raw
In reply to Heiko Stuebner
Quoted 12 lines · Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Shenzen Elida Technology Co. Ltd. is a Chinese TFT manufacturer.

---
Hi Rob,

as can be seen on [0], Sam expects you to apply the vendor prefix to the main dt-tree.

Quoted 8 lines

Thanks
Heiko

[0] http://lore.kernel.org/r/[email protected]

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Rob