From nobody Wed Dec 17 21:12:28 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 849C71607A7; Tue, 25 Jun 2024 13:35:54 +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=1719322554; cv=none; b=gJP9XX029mK1wZYdD6jt52fxIeJZa7nu4QXMvbVycRQnk7lbsqzCHdIeWp6gedHTX1J3D6949FqZU8w01JpI7zJdi6OzIuGy9ZdAcAGz8s0cCknYNgKjVzdyzBR+R3jp63A/ye4m8Ri4lKffaZqMhGjr9tuxjaO5jhzyCvi96MQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719322554; c=relaxed/simple; bh=ikjoj4kkEsfTQd+RZ/gm5BExL5HjXIOoLQCCAeGquTw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SP/KbWKv1Afu2NEvO5W4c7kKPXaA8CqyXB8KLsrgfcEibPvYe6jyi9GiDSnkMwK7LCUGT5eD3HQB6BVOfuqLU2ZeyH0O1PS9JLX+OaR/En3YjrhcKjUsLeaxlgWxvTSpuB6eCeowCo5xYHkNk8kH6SiB5eAoVRP4a+nEIdrzvNU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tLx9rPYo; 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="tLx9rPYo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26BF6C4AF09; Tue, 25 Jun 2024 13:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719322554; bh=ikjoj4kkEsfTQd+RZ/gm5BExL5HjXIOoLQCCAeGquTw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tLx9rPYo0bX7jP4j/Q6l/qr3B9wyAKuoW4+D5u89f3VcI0JUyXsnvlzx2YlOYrqnV 5ihqsC7Nd4sfCOlL9S8mj/i6rtUvK8aJGN2PFISgz2wmNAmAoHGfDfsD7LQZKkuxyP 43s+97RrNQc9eh4LTIfHyHJGTdKMjIJCkhwyrO5td8Z8LeBvydQ8vj0jGRxVqANOpk 9pQMHddxl2NPmzPECDkFz4A67Il3l3w8Xz4Nxrjofhu0lLmYIogEHFSgeQwkZrHYyh Ptay7LhvqzQvXQeo7AZTYv+v9lRXnelb5QBEeKbcN74S+zXjcKfpvcWCapsJG5HFsi dRuoRHEkPDy4A== 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 Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gunnar Dibbern Subject: [PATCH 2/2] drm/panel: add Ilitek ILI9806E panel driver Date: Tue, 25 Jun 2024 15:33:17 +0200 Message-Id: <20240625133317.2869038-3-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240625133317.2869038-1-mwalle@kernel.org> References: <20240625133317.2869038-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 --- MAINTAINERS | 5 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 413 ++++++++++++++++++ 4 files changed, 428 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9806e.c diff --git a/MAINTAINERS b/MAINTAINERS index 77008faf25ee..74b538c6b8bd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7002,6 +7002,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..c3942eda668d --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c @@ -0,0 +1,413 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include + +#include