Add support for the BOE ILI97680A AMOLED panel of the Motorola Signature
Subsystems (4)
v4 cover Add support for the BOE ILI97680A AMOLED panel of the Motorola Signature
The Motorola Signature uses a 1264x2780 BOE AMOLED panel driven by an Ilitek ILI97680A. It is a MIPI DSI command mode panel with DSC 1.2 compression on four lanes. This series adds the devicetree binding and a driver for it.
Two things are specific to this panel. The DSC picture parameter set is written to a vendor register on command page 7 instead of being sent as a standard PPS packet, and the brightness range is 0 to 16180 over DCS.
Tested on a Motorola Signature with the msm DRM driver: the panel lights up at its native resolution and Phosh renders on it.
I used an LLM (Claude) to help write these patches and their commit messages. I reviewed all of them and tested the result on the device.
---
Changes in v4:
- Binding: drop port from the required properties.
- MAINTAINERS: add the driver file in the driver patch, where it is created, instead of in the binding patch.
- Add Krzysztof's Reviewed-by to the binding.
- Link to v3: https://patch.msgid.link/[email protected]
Changes in v3:
- Drop the Assisted-by trailers and the LLM notes from the commit
messages, the LLM use is stated in this cover letter.
- Drop an unused include, fill the DSC configuration before adding the panel and describe the PPS layout in the comment.
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- Give the panel its own compatible, "motorola,vantage-boe-ili97680a",
with "ilitek,ili97680a" as fallback: the mode, DSC settings and initialization sequence belong to this BOE panel, not to every
ILI97680A panel. BOE's part number is not known, so the name follows
the "<device>-<glass vendor>-<controller>" style of the Xiaomi and
Lenovo NT36523 panels.
- Driver: match the panel compatible.
- Link to v1: https://patch.msgid.link/[email protected]
---
Venkat Yadlapati (2):
dt-bindings: display: panel: Add Ilitek ILI97680A drm/panel: Add Ilitek ILI97680A DSC command mode panel driver
.../bindings/display/panel/ilitek,ili97680a.yaml | 74 +++ MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili97680a.c | 495 +++++++++++++++++++++ 5 files changed, 592 insertions(+)
---
base-commit: 39e407b553ec15d4a233b651531ad431ed7542be
change-id: 20261116-vantage-panel-9b6254aa0a42
Best regards,
Signature · 1 line
Venkat Yadlapati <[email protected]>
PATCH v4 1/2 dt-bindings: display: panel: Add Ilitek ILI97680A
Document the Ilitek ILI97680A based 1264x2780 AMOLED panel by BOE, a MIPI DSI command mode panel with DSC 1.2 compression found in the Motorola Signature.
--- .../bindings/display/panel/ilitek,ili97680a.yaml | 74 ++++++++++++++++++++++ MAINTAINERS | 5 ++ 2 files changed, 79 insertions(+)
Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml new file +74 -0
@@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,ili97680a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI97680A based AMOLED DSI command mode panel + +maintainers: + - Venkat Yadlapati <[email protected]> + +description: + AMOLED panels driven by an Ilitek ILI97680A controller over MIPI DSI in + command mode with DSC 1.2 compression. The resolution, DSC settings and + initialization sequence depend on the panel, so each panel has its own + compatible with the controller as fallback. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + # 1264x2780 BOE panel of the Motorola Signature (vantage) + - motorola,vantage-boe-ili97680a + - const: ilitek,ili97680a + + reg: + maxItems: 1 + description: DSI virtual channel + + vci-supply: true + vdd-supply: true + vddio-supply: true + port: true + reset-gpios: true + +required: + - compatible + - reg + - vci-supply + - vdd-supply + - vddio-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "motorola,vantage-boe-ili97680a", "ilitek,ili97680a"; + reg = <0>; + + vci-supply = <&vreg_l13b_3p1>; + vdd-supply = <&vreg_l11b_1p2>; + vddio-supply = <&vreg_l10b_1p8>; + + reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; + + port { + endpoint { + remote-endpoint = <&mdss_dsi1_out>; + }; + }; + }; + }; +...
MAINTAINERS +5 -0
@@ -13040,6 +13040,11 @@ M: Stanislaw Gruszka <[email protected]> S: Maintained F: drivers/usb/atm/ueagle-atm.c +ILITEK ILI97680A PANEL DRIVER +M: Venkat Yadlapati <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml + IMAGIS TOUCHSCREEN DRIVER M: Markuss Broks <[email protected]> S: Maintained
Signature · 1 line
2.56.1
PATCH v4 2/2 drm/panel: Add Ilitek ILI97680A DSC command mode panel driver
In reply to Venkat YadlapatiAdd a driver for the 1264x2780 BOE AMOLED panel driven by an Ilitek ILI97680A, found in the Motorola Signature. The panel runs in DSI command mode on four lanes with DSC 1.2 at 10 bits per component and 8 bits per pixel, two 632x20 slices per line.
The picture parameter set is not taken from the standard DSC PPS packet but written to a vendor register on command page 7. Brightness is controlled through DCS with a range of 0 to 16180.
--- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili97680a.c | 495 +++++++++++++++++++++++++ 4 files changed, 513 insertions(+)
MAINTAINERS +1 -0
@@ -13044,6 +13044,7 @@ ILITEK ILI97680A PANEL DRIVER M: Venkat Yadlapati <[email protected]> S: Maintained F: Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml +F: drivers/gpu/drm/panel/panel-ilitek-ili97680a.c IMAGIS TOUCHSCREEN DRIVER M: Markuss Broks <[email protected]>
drivers/gpu/drm/panel/Kconfig +16 -0
@@ -353,6 +353,22 @@ config DRM_PANEL_ILITEK_ILI9488 Say Y if you want to enable support for panels based on the Ilitek ILI9488 controller. +config DRM_PANEL_ILITEK_ILI97680A + tristate "Ilitek ILI97680A-based DSC command mode panels" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER + select DRM_DISPLAY_HELPER + help + Say Y here if you want to enable support for Ilitek ILI97680A-based + DSI command mode panels with DSC, such as the 1264x2780 BOE panel in + the Motorola Signature. The panel is driven in command mode with + Display Stream Compression and its brightness is controlled over DCS. + + To compile this driver as a module, choose M here: the module + will be called panel-ilitek-ili97680a. + config DRM_PANEL_ILITEK_ILI9805 tristate "Ilitek ILI9805-based panels" depends on OF
drivers/gpu/drm/panel/Makefile +1 -0
@@ -34,6 +34,7 @@ obj-$(CONFIG_DRM_PANEL_ILITEK_ILI7836A) += panel-ilitek-ili7836a.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_ILI9488) += panel-ilitek-ili9488.o +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI97680A) += panel-ilitek-ili97680a.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_CORE) += panel-ilitek-ili9806e-core.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI) += panel-ilitek-ili9806e-dsi.o
drivers/gpu/drm/panel/panel-ilitek-ili97680a.c new file +495 -0
495 lines not on this page · raw message
Signature · 1 line
2.56.1