From nobody Wed Dec 17 19:18:01 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 295C445C07; Wed, 26 Jun 2024 14:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719413093; cv=none; b=OJhEkMxItve24g1AGfEKBSzjXYRWP4W2oT3oj2juMQOalML8W/GNN5tHNmoJNtpsunAd87J2evZJLOCcYYgZ6DdC4ptAX8/4gzHn5QLD0YZeJFhZV7PRtH79NCB6Hbvsa8n5XZY6fO8RZs22xiyF37xuA1u+iJwI7gjLHwc1cXU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719413093; c=relaxed/simple; bh=xnV4Pwafjm1hCV6mupvMtuQXDRG+XuPAPy/PDaxveGw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NknFpUjfEy2JnEUE53RDQsi0qFbUT42WgIkyw+xFKD3tiLZ1Zd4u1OZO2xUvkHZ+nu8iZc5/ghGKhN4l4NlO6c22h4vYqeLilRr36/UMTd3TCok6dSs/TyHIiJ7TLlIGC8g4qGURt8SnptLsHJM3yZOkxjwbuDlVUe/UNq3TxkY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c1JcKeTo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c1JcKeTo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E3CEC2BD10; Wed, 26 Jun 2024 14:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719413092; bh=xnV4Pwafjm1hCV6mupvMtuQXDRG+XuPAPy/PDaxveGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c1JcKeToG5KR1/yhW8dEprMC2HxFwdHvHHCJSdExMf1AYNgc6QrKAVQgHpH1WGnNF X5ZEg3YDJ1T+pfj3lH8j02yrrJKEYDRu5AjFRz2/GmOxCsMPrs8M0repQb0nT8pGg8 8Qv1AGSp4zyA7+McQrSLTPk5glQ9ltwKr5seGZrBD5gzWCowIeL/kAztZpsxQs2ZcD ao1oTA5uDMCQwFEIrS0oMYHlczk1Hln6yXG/EcSw8u66B6jb3GLhCKgeLpIsGC4E/H aq4oo/ghzInpSGxtkXvOoMZh6f6upjGmCKC9cpmrDvo3iM1LZ1lgQ1iFbTs9yNgvxg t72AAIKLAUsxg== From: Michael Walle To: Neil Armstrong , Jessica Zhang , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Dmitry Baryshkov Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gunnar Dibbern , Conor Dooley Subject: [PATCH v2 1/2] dt-bindings: display: panel: add Ilitek ili9806e panel controller Date: Wed, 26 Jun 2024 16:44:32 +0200 Message-Id: <20240626144433.3097793-2-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240626144433.3097793-1-mwalle@kernel.org> References: <20240626144433.3097793-1-mwalle@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the device tree binding for the Ilitek ILI9806E controller which can be found on the Ortustech COME35H3P70ULC DSI display panel. There are no peculiarities except for two different power signals. Reviewed-by: Conor Dooley Signed-off-by: Michael Walle --- .../display/panel/ilitek,ili9806e.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,= ili9806e.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9806= e.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.ya= ml new file mode 100644 index 000000000000..cfd7cc9c8725 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml @@ -0,0 +1,63 @@ +# 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 based MIPI-DSI panels + +maintainers: + - Michael Walle + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - ortustech,com35h3p70ulc + - const: ilitek,ili9806e + + reg: + maxItems: 1 + + vdd-supply: true + vccio-supply: true + +required: + - compatible + - reg + - vdd-supply + - vccio-supply + - reset-gpios + - backlight + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "ortustech,com35h3p70ulc", "ilitek,ili9806e"; + reg =3D <0>; + vdd-supply =3D <®_vdd_panel>; + vccio-supply =3D <®_vccio_panel>; + reset-gpios =3D <&gpio3 6 GPIO_ACTIVE_LOW>; + backlight =3D <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&dsi_out>; + }; + }; + }; + }; + +... --=20 2.39.2 From nobody Wed Dec 17 19:18:01 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0A61186E45; Wed, 26 Jun 2024 14:44:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719413096; cv=none; b=ch7nhNoSzU2OVV6N5S0oycZgdHWvx4cR5GyCXpr+7YSoKLZ3O5HMOdGNaVTLnMFsK8mCZn95riag5Bpe1HDU91dXvOfP0aL3ttIVaRF6AqA9H7JgiBJC3BHmh8g2I3nqoyJp9r5hTAkbtL+jSGYPtazNmhkhonj0TCxJHNC0E34= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719413096; c=relaxed/simple; bh=CzoOpL5mtlI7yXIbI7438/1gR7GoDL3tWXn3Po6a/Kc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MqH0Ciqvc/hm9wuWWQjb1GGs6HhaHPmpjPVBJn5EbehJM3al0kMWH1emC4nCwJB3egN9EcMvt0ngO8LzZGRhH4gXG2XRMTH/1YSGOj5SeBJoEheljlZ6B0TxiURhKXDefAJp1tIVl9ynBI+EJbxnT6jeQX5y/QFUiZA8WU9MZ5o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=upwn2SCQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="upwn2SCQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32D8BC116B1; Wed, 26 Jun 2024 14:44:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719413096; bh=CzoOpL5mtlI7yXIbI7438/1gR7GoDL3tWXn3Po6a/Kc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=upwn2SCQ/C3Qg03e6ZzsC4IlS2G6usCC46Wlc+0RpRGmgrQkU+vU5+Blcg5oTtiPk vZMPpv4veVpaP9obn/fTPgRu7aYRSrkToaQfIRFB6S0FdWZBWuC7HHsXT14NViWp9G 8ACi+ntZJJAr3GaPFJZnbxwalpbjGWgMyRSHjsr5wIHFWkRRMltFoSOlu6KfdvSv4g tUffYDnJb6KPGzGeOY0/SU1UksfjmiGpBi91X1BGpoWcWKFtKUTlo8Ppv7uyU+R+I0 mILjKylxLPmzP0IXN68B1tsMXAqOEqYxuBvnof123lKLc5z/K8sagzqiYezmOJFQnp mbp3EO/ny4jzQ== From: Michael Walle To: Neil Armstrong , Jessica Zhang , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Dmitry Baryshkov Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gunnar Dibbern Subject: [PATCH v2 2/2] drm/panel: add Ilitek ILI9806E panel driver Date: Wed, 26 Jun 2024 16:44:33 +0200 Message-Id: <20240626144433.3097793-3-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240626144433.3097793-1-mwalle@kernel.org> References: <20240626144433.3097793-1-mwalle@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Ortustech COM35H3P70ULC panel is based on the ILI9806E DSI display controller. Co-developed-by: Gunnar Dibbern Signed-off-by: Gunnar Dibbern Signed-off-by: Michael Walle Reviewed-by: Jessica Zhang Reviewed-by: Neil Armstrong --- MAINTAINERS | 5 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 402 ++++++++++++++++++ 4 files changed, 417 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9806e.c diff --git a/MAINTAINERS b/MAINTAINERS index e2d8fdda1737..61352f26f2d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7003,6 +7003,11 @@ S: Maintained F: Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c =20 +DRM DRIVER FOR ILITEK ILI9806E PANELS +M: Michael Walle +S: Maintained +F: drivers/gpu/drm/panel/panel-ilitek-ili9806e.c + DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS M: Jagan Teki S: Maintained diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index bf4eadfe21cb..904a928bc60e 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -205,6 +205,15 @@ config DRM_PANEL_ILITEK_ILI9805 Say Y if you want to enable support for panels based on the Ilitek ILI9805 controller. =20 +config DRM_PANEL_ILITEK_ILI9806E + tristate "Ilitek ILI9806E-based panels" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y if you want to enable support for panels based on the + Ilitek ILI9806E controller. + config DRM_PANEL_ILITEK_ILI9881C tristate "Ilitek ILI9881C-based panels" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 051b75b3df7b..12ce91416849 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -21,6 +21,7 @@ obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) +=3D panel-himax-hx8= 394.o obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) +=3D panel-ilitek-ili9322.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) +=3D panel-ilitek-ili9341.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) +=3D panel-ilitek-ili9805.o +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) +=3D panel-ilitek-ili9806e.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) +=3D panel-ilitek-ili9881c.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) +=3D panel-ilitek-ili9882t.o obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) +=3D panel-innolux-ej030na.o diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu/dr= m/panel/panel-ilitek-ili9806e.c new file mode 100644 index 000000000000..e4a44cd26c4d --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c @@ -0,0 +1,402 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include