Add support for the BOE ILI97680A AMOLED panel of the Motorola Signature
Subsystems (4)
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.
---
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 | 70 +++ MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili97680a.c | 494 +++++++++++++++++++++ 5 files changed, 587 insertions(+)
---
base-commit: 39e407b553ec15d4a233b651531ad431ed7542be
change-id: 20261116-vantage-panel-9b6254aa0a42
Best regards,
Signature · 1 line
Venkat Yadlapati <[email protected]>
PATCH 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.
An LLM was used to help write this commit message.
--- .../bindings/display/panel/ilitek,ili97680a.yaml | 70 ++++++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 76 insertions(+)
Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml new file +70 -0
@@ -0,0 +1,70 @@ +# 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: + 1264x2780 BOE AMOLED panel driven by an Ilitek ILI97680A controller over + four MIPI DSI lanes in command mode with DSC 1.2 compression, as found in + the Motorola Signature. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + 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 + - port + - reset-gpios + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "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 +6 -0
@@ -13040,6 +13040,12 @@ 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 +F: drivers/gpu/drm/panel/panel-ilitek-ili97680a.c + IMAGIS TOUCHSCREEN DRIVER M: Markuss Broks <[email protected]> S: Maintained
Signature · 1 line
2.56.0
[email protected]
AI reviewRe: [PATCH 1/2] dt-bindings: display: panel: Add Ilitek ILI97680A
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] dt-bindings: display: panel: missing panel-specific compatible string --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Medium] dt-bindings: display: panel: missing panel-specific compatible string
--
commit 7841ad6a366c1d68596c6fd31270d044bd848d2b
Author: Venkat Yadlapati <[email protected]>
dt-bindings: display: panel: Add Ilitek ILI97680A
This commit adds a Devicetree binding schema and MAINTAINERS entry for the Ilitek ILI97680A-based 1264x2780 BOE AMOLED panel found in the Motorola Signature.
Quoted 6 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml new file +0
-0@@ -0,0 +1,70 @@
[ ... ]
Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml line 22
Quoted 11 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili97680a.yaml new file +11
-0+description: + 1264x2780 BOE AMOLED panel driven by an Ilitek ILI97680A controller over + four MIPI DSI lanes in command mode with DSC 1.2 compression, as found in + the Motorola Signature. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ilitek,ili97680a
[Severity: Medium]
Should compatible require a specific panel compatible string (such as boe,<panel-model> or motorola,signature-panel) followed by ilitek,ili97680a as a fallback?
ILI97680A is the display controller IC driving a specific 1264x2780 BOE AMOLED panel. Other panels built around the same controller can have different resolutions, dimensions, DSC settings, and initialization sequences, so using the bare controller compatible alone prevents distinguishing them in future Devicetrees without breaking ABI compatibility.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
PATCH 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.
--- drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili97680a.c | 494 +++++++++++++++++++++++++ 3 files changed, 511 insertions(+)
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 +494 -0
494 lines not on this page · raw message
Signature · 1 line
2.56.0