Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: add ShenZhen New Display Co.

PATCH Superseded Luca Ceresoli 4 participants 10 messages Jul 19, 2023 – Jul 24, 2023

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 dt-bindings: vendor-prefixes: add ShenZhen New Display Co.

ShenZhen New Display Co., Limited is the manufacturer of the NDS040480800-V3 LCD panel according the datasheet.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index af60bf1a6664..f73d6d4eabbe 100644
@@ -929,6 +929,8 @@ patternProperties:
     description: Netronix, Inc.
   "^netxeon,.*":
     description: Shenzhen Netxeon Technology CO., LTD
+  "^newdisplay,.*":
+    description: ShenZhen New Display Co., Limited
   "^neweast,.*":
     description: Guangdong Neweast Optoelectronics CO., LTD
   "^newhaven,.*":
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +69 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels
+
+maintainers:
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        display@0 {
+            compatible = "newdisplay,nds040480800-v3", "ilitek,ili9806e";
+            reg = <0>;
+            spi-max-frequency = <1000000>;
+            pinctrl-names = "default";
+            pinctrl-0 = <&pinctrl_lcdgpios>;
+            reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
+            backlight = <&backlight>;
+
+            port {
+                ili9806e_in: endpoint {
+                    remote-endpoint = <&lcdif_out>;
+                };
+            };
+        };
+    };
+
+...
MAINTAINERS +6 -0
index aee340630eca..3c38699ee821 100644
@@ -6515,6 +6515,12 @@ T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/devicetree/bindings/display/ilitek,ili9486.yaml
 F:	drivers/gpu/drm/tiny/ili9486.c
 
+DRM DRIVER FOR ILITEK ILI9806E PANELS
+M:	Luca Ceresoli <[email protected]>
+S:	Maintained
+T:	git git://anongit.freedesktop.org/drm/drm-misc
+F:	Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
+
 DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS
 M:	Jagan Teki <[email protected]>
 S:	Maintained
Signature · 1 line
2.34.1
Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Hey Luca,

Quoted 21 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +4 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 14

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels
+
+maintainers:
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.

I figure you explicitly mention SPI mode here because it also supports D{P,S}I?

Quoted 24 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +24 -0
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 48

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };
+    spi {

Just a nit, a blank line between properties please. Clearly no respinning needed for that...

Otherwise,

Thanks,
Conor.

Quoted 41 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +21 -0
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        display@0 {
+            compatible = "newdisplay,nds040480800-v3", "ilitek,ili9806e";
+            reg = <0>;
+            spi-max-frequency = <1000000>;
+            pinctrl-names = "default";
+            pinctrl-0 = <&pinctrl_lcdgpios>;
+            reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
+            backlight = <&backlight>;
+
+            port {
+                ili9806e_in: endpoint {
+                    remote-endpoint = <&lcdif_out>;
+                };
+            };
+        };
+    };
+
+...
MAINTAINERS +6 -0
index aee340630eca..3c38699ee821 100644
@@ -6515,6 +6515,12 @@ T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/devicetree/bindings/display/ilitek,ili9486.yaml
 F:	drivers/gpu/drm/tiny/ili9486.c
 
+DRM DRIVER FOR ILITEK ILI9806E PANELS
+M:	Luca Ceresoli <[email protected]>
+S:	Maintained
+T:	git git://anongit.freedesktop.org/drm/drm-misc
+F:	Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
+
 DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS
 M:	Jagan Teki <[email protected]>
 S:	Maintained
Signature · 1 line
2.34.1
#3 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Hello Conor,

thanks for reviewing.

Quoted 29 lines · On Wed, 19 Jul 2023 17:44:45 +0100 Conor Dooley <[email protected]> wrote:

Hey Luca,

Quoted 26 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +9 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels
+
+maintainers:
Quoted 8 lines

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 14

Quoted 5 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +5 -0
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.  

I figure you explicitly mention SPI mode here because it also supports D{P,S}I?

Exactly, DSI is supported as well by the chip.

Quoted 28 lines
Quoted 28 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +28 -0
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
Quoted 8 lines

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 48

Quoted 5 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +5 -0
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };
+    spi {  

Just a nit, a blank line between properties please. Clearly no respinning needed for that...

I agree. This comes from copy-paste from another bindings file so I'm probably sending a separate series to fix it and avoid the same issue in the future.

Luca

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
maintainer
#4 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

In reply to Luca Ceresoli
Quoted 24 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 17

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+maintainers:
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.
+
+allOf:
+  - $ref: panel-common.yaml#

A SPI device should reference spi-peripheral-props.yaml as well.

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 27

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true

maxItems: 1

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 31

Quoted 4 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +4 -0
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true

Drop all these and ...

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 38

Quoted 7 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false

... use "unevaluatedProperties" instead.

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 47

Quoted 9 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +9 -0
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };

The exact backlight is outside the scope of this binding and should be dropped from the example.

Quoted 22 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +22 -0
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        display@0 {
+            compatible = "newdisplay,nds040480800-v3", "ilitek,ili9806e";
+            reg = <0>;
+            spi-max-frequency = <1000000>;
+            pinctrl-names = "default";
+            pinctrl-0 = <&pinctrl_lcdgpios>;
+            reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
+            backlight = <&backlight>;
+
+            port {
+                ili9806e_in: endpoint {
+                    remote-endpoint = <&lcdif_out>;
+                };
+            };
+        };
+    };
+
+...
#5 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Hello Rob,

thanks for reviewing.

Quoted 68 lines · On Wed, 19 Jul 2023 13:02:54 -0600 Rob Herring <[email protected]> wrote:
Quoted 24 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 17

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+maintainers:
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.
+
+allOf:
+  - $ref: panel-common.yaml#  

A SPI device should reference spi-peripheral-props.yaml as well.

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 27

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true  

maxItems: 1

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 31

Quoted 4 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +4 -0
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true  

Drop all these and ...

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 38

Quoted 7 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false  

... use "unevaluatedProperties" instead.

Quoted 12 lines

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 47

Quoted 9 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +9 -0
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };  

The exact backlight is outside the scope of this binding and should be dropped from the example.

As this comes from copy-pasting from the bindings yaml for another panel, would it be useful if I send a patch to remove it?

Requested changes queued for v2.

Luca

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
maintainer
#6 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Quoted 88 lines · Luca Ceresoli

Hello Rob,

thanks for reviewing.

Quoted 68 lines · On Wed, 19 Jul 2023 13:02:54 -0600 Rob Herring <[email protected]> wrote:
Quoted 24 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

---
 .../display/panel/ilitek,ili9806e.yaml        | 69 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
new file mode 100644
index 000000000000..42abc6923065
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9806E display panels

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 17

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+maintainers:
+  - Luca Ceresoli <[email protected]>
+
+description:
+  This binding is for display panels using an Ilitek ILI9806E controller in
+  SPI mode.
+
+allOf:
+  - $ref: panel-common.yaml#  

A SPI device should reference spi-peripheral-props.yaml as well.

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 27

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +10 -0
+
+properties:
+  compatible:
+    items:
+      - enum:
+          # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
+          - newdisplay,nds040480800-v3
+      - const: ilitek,ili9806e
+
+  reg: true  

maxItems: 1

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 31

Quoted 4 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +4 -0
+  spi-max-frequency: true
+  reset-gpios: true
+  backlight: true
+  port: true  

Drop all these and ...

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 38

Quoted 7 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +7 -0
+
+required:
+  - compatible
+  - reg
+  - port
+
+additionalProperties: false  

... use "unevaluatedProperties" instead.

Quoted 12 lines

Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml line 47

Quoted 9 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml new file +9 -0
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    backlight: backlight {
+        compatible = "gpio-backlight";
+        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
+    };  

The exact backlight is outside the scope of this binding and should be dropped from the example.

Quoted 2 lines

As this comes from copy-pasting from the bindings yaml for another panel, would it be useful if I send a patch to remove it?

Yes.

Rob

#7 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

In reply to Luca Ceresoli
Quoted 10 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

MAINTAINERS +0 -0
index aee340630eca..3c38699ee821 100644

MAINTAINERS T: git git://anongit.freedesktop.org/drm/drm-misc · line 6521

Quoted 7 lines
MAINTAINERS +4 -0
@@ -6515,6 +6515,12 @@ T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/devicetree/bindings/display/ilitek,ili9486.yaml
 F:	drivers/gpu/drm/tiny/ili9486.c
 
+DRM DRIVER FOR ILITEK ILI9806E PANELS
+M:	Luca Ceresoli <[email protected]>
+S:	Maintained
+T:	git git://anongit.freedesktop.org/drm/drm-misc

Nope, same for recent one-driver-subsystem. It's like a second try... You do not have git tree for one driver. The git tree is for subsystem, not driver.

Best regards,
Krzysztof

#8 lore raw

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

Hello Krzysztof,

thanks for reviewing.

Quoted 14 lines · On Wed, 19 Jul 2023 21:12:14 +0200 Krzysztof Kozlowski…
Quoted 13 lines · Luca Ceresoli

Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it.

MAINTAINERS +0 -0
index aee340630eca..3c38699ee821 100644
@@ -6515,6 +6515,12 @@ T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/devicetree/bindings/display/ilitek,ili9486.yaml
 F:	drivers/gpu/drm/tiny/ili9486.c
 
Quoted 8 lines

MAINTAINERS T: git git://anongit.freedesktop.org/drm/drm-misc · line 6521

Quoted 4 lines
MAINTAINERS +4 -0
+DRM DRIVER FOR ILITEK ILI9806E PANELS
+M:	Luca Ceresoli <[email protected]>
+S:	Maintained
+T:	git git://anongit.freedesktop.org/drm/drm-misc  

Nope, same for recent one-driver-subsystem. It's like a second try... You do not have git tree for one driver. The git tree is for subsystem, not driver.

I see, no problem, I'm removing the T: line in v2.

As this came from copy-pasting another panel driver, should the T: line be removed from every "DRM DRIVER FOR * PANELS" entry? I could send a patch to do that, if that makes sense.

Luca

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#9 lore raw

PATCH 3/3 DRM: panel: add Ilitek ILI9806E driver

In reply to Luca Ceresoli

Add a driver for the ILITEK ILI9806E 480x864 RGB LCD controller connected over SPI, and implement the ShenZhen New Display Co NDS040480800-V3 480x800 panel.

---
 MAINTAINERS                                   |   1 +
 drivers/gpu/drm/panel/Kconfig                 |  13 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 384 ++++++++++++++++++
 4 files changed, 399 insertions(+)
 create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9806e.c
MAINTAINERS +1 -0
index 3c38699ee821..4d657a049acc 100644
@@ -6520,6 +6520,7 @@ M:	Luca Ceresoli <[email protected]>
 S:	Maintained
 T:	git git://anongit.freedesktop.org/drm/drm-misc
 F:	Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
+F:	drivers/gpu/drm/panel/panel-ilitek-ili9806e.c
 
 DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS
 M:	Jagan Teki <[email protected]>
drivers/gpu/drm/panel/Kconfig +13 -0
index 203c0ef0bbfd..e3e89d86668a 100644
@@ -194,6 +194,19 @@ config DRM_PANEL_ILITEK_ILI9341
 	  QVGA (240x320) RGB panels. support serial & parallel rgb
 	  interface.
 
+config DRM_PANEL_ILITEK_ILI9806E
+	tristate "Ilitek ILI9806E panel"
+	depends on OF
+	depends on BACKLIGHT_CLASS_DEVICE
+	select VIDEOMODE_HELPERS
+	select DRM_MIPI_DBI
+	help
+	  Say Y here if you want to enable support for LCD panels connected
+	  over SPI and based on the Ilitek ILI9806E controller.
+
+	  The ILI9806E is an LCD controller capable of driving 18-bit a-Si
+	  TFT LCDs up to a resolution of 480x800.
+
 config DRM_PANEL_ILITEK_ILI9881C
 	tristate "Ilitek ILI9881C-based panels"
 	depends on OF
drivers/gpu/drm/panel/Makefile +1 -0
index 30cf553c8d1d..f465140ae7df 100644
@@ -17,6 +17,7 @@ obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) += panel-feiyang-fy07024di26a30d
 obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o
 obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o
 obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o
+obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) += panel-ilitek-ili9806e.o
 obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o
 obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) += panel-innolux-ej030na.o
 obj-$(CONFIG_DRM_PANEL_INNOLUX_P079ZCA) += panel-innolux-p079zca.o
drivers/gpu/drm/panel/panel-ilitek-ili9806e.c new file +384 -0

384 lines not on this page · raw message

Signature · 1 line
2.34.1