From nobody Fri Apr 3 17:32:20 2026 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 1DCC83BD22C; Mon, 23 Mar 2026 17:08:39 +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=1774285719; cv=none; b=Iypn794SvMG7ZgXog4EE54vj7g9u0c2wgnrCjp36sIahJj4NEUadH5+5Y3nb2ic7wJYPgf2KDGQ64cX4euKhp3dkqMYl7IUQRT0jqR4PQADFbwFoA09JgZ+cR+6Dl6P3b1vFz7HT2gigibjG4iTZ8wTE1pZp2DNsC4KJ9EsiYs4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774285719; c=relaxed/simple; bh=9qexIOS+2Jxul6keX+xp+B+ZkzLLQx9RxmYp/GWG4tI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=THbUN59C78fyjSNsqyqAAdTu15NqzXd3+m31Hw2HWU6hjk7JD6fkMgaIl5n2F96rpA/BGxUMyxfhkXiVStb5yuojPaepVUICRNlHnYwYtLis4UexFZ+o+QR0okZtIzSL9osPW89OxShnZ8CR+nm/w8XG8GpVRYvFpJWr2/Ey6Xw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mC6Yq1N5; 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="mC6Yq1N5" Received: by smtp.kernel.org (Postfix) with ESMTPS id EA4D1C2BC9E; Mon, 23 Mar 2026 17:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774285719; bh=9qexIOS+2Jxul6keX+xp+B+ZkzLLQx9RxmYp/GWG4tI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mC6Yq1N5NjZUEf0l5IMsBmYgiWv5uFMgmrucjQKOAPvR8mexSr18eH3LI1AOZWSdJ XB8++uqFKs8TTkzcOIhT0S7mbx1LjKqk4HeIH+hpBZgLQCfZe4A6Lmu2L4OfYtvoZA 719NIPH/5DE1BBtZZGcam+WHENt9ZOoU4HpWZaT5US+JE9+5v/BUwsv/vA00EA1MFQ N0j9QHWZWGPXrLALZALP2i9dIYylYWeUfae8tJiQCPkGDiVB9urdDBns1nTQTSlGuc +hhwdzCgBgDtdEPWpoAx1SNKXF7Hv/gzXs4C9e83o+nPHcnUdj3zE2OI7TOh1tXVJK wT6luvKaVbMuA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D95DEF483D7; Mon, 23 Mar 2026 17:08:38 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Mon, 23 Mar 2026 12:08:32 -0500 Subject: [PATCH v3 1/2] dt-bindings: display: panel: Add ChipWealth CH13726A AMOLED driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260323-ch13726a-v3-1-e28b6f97fe80@gmail.com> References: <20260323-ch13726a-v3-0-e28b6f97fe80@gmail.com> In-Reply-To: <20260323-ch13726a-v3-0-e28b6f97fe80@gmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Teguh Sobirin , Aaron Kling X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774285718; l=2207; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=m1gbP9xlX+JfXna4d2g22onWt9FebTUXJRHPr06dAlg=; b=sdhUJhJWlSEI9XGJDcNBWzx1JjIDC9xcG8mbZBjG7AF2ed9UZL6GJ/K+VCHYU2lY0RXU623uC w7QKXDdGKmSDSUhEwJ1DfHXFFJuhSuCqIAroKxEaPPOchw1Qx7V4YIC X-Developer-Key: i=webgeek1234@gmail.com; a=ed25519; pk=TQwd6q26txw7bkK7B8qtI/kcAohZc7bHHGSD7domdrU= X-Endpoint-Received: by B4 Relay for webgeek1234@gmail.com/20250217 with auth_id=342 X-Original-From: Aaron Kling Reply-To: webgeek1234@gmail.com From: Aaron Kling The Chip Wealth Technology CH13726A AMOLED driver is a single chip solution for MIPI-DSI. This is used for the AYN Thor bottom panel. Signed-off-by: Aaron Kling --- .../display/panel/chipwealth,ch13726a.yaml | 65 ++++++++++++++++++= ++++ 1 file changed, 65 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/chipwealth,ch1= 3726a.yaml b/Documentation/devicetree/bindings/display/panel/chipwealth,ch1= 3726a.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5d964900795653401a871994bcf= 6403cdeaad64f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/chipwealth,ch13726a.y= aml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/chipwealth,ch13726a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Chip Wealth Technology CH13726A AMOLED driver + +maintainers: + - Neil Armstrong + +description: + Chip Wealth Technology CH13726A is a single-chip solution + for AMOLED connected using a MIPI-DSI video interface. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ayntec,thor-panel-bottom + + reg: + maxItems: 1 + description: DSI virtual channel + + vdd-supply: true + vddio-supply: true + vdd1v2-supply: true + avdd-supply: true + + port: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - vdd-supply + - vddio-supply + - vdd1v2-supply + - avdd-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + panel@0 { + compatible =3D "ayntec,thor-panel-bottom"; + reg =3D <0>; + vdd1v2-supply =3D <&vreg_l11b_1p2>; + vddio-supply =3D <&vdd_disp_1v8>; + vdd-supply =3D <&vreg_l13b_3p0>; + avdd-supply =3D <&vdd_disp2_2v8>; + reset-gpios =3D <&tlmm 133 GPIO_ACTIVE_HIGH>; + }; + }; + +... --=20 2.53.0 From nobody Fri Apr 3 17:32:20 2026 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 4EB083C062C; Mon, 23 Mar 2026 17:08:39 +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=1774285719; cv=none; b=t6sZLVCAAGyKZn5EVox2LJvvA3otXWDgzsI0QsvjBbGslyumH1Ea0UPjtscZEiXKj5KUorvbVTVu+Y7Hwc/Pdq5EiBk1y1cz0IJMk8h1Y7RD6fj6v5SCfzd55Vun91Wt+owqyxmnyGhuiMCxSruJPhGblBS3coS+bPKjIcohYcQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774285719; c=relaxed/simple; bh=pDwSdgt0K1S24oUY+MHSWthNddlsNbbc1I9i6GPqP8Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VPPw15E384q0bnvZVS1Jkc4NTSCEJiKvxs03PbhYnwzKHWuagh47a4bBaKvAhcvCTxUGHlDeEb0X6TZsSi1Q2n8hFf6uT2LNyB9iAK5OGgTbukpe1vtoc3wTUIfqiGoAiRfDHeXyrLReZ777us9NUtKabdVjdAcgaJjZynyT+nA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dRetuc+n; 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="dRetuc+n" Received: by smtp.kernel.org (Postfix) with ESMTPS id 05F54C2BCB3; Mon, 23 Mar 2026 17:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774285719; bh=pDwSdgt0K1S24oUY+MHSWthNddlsNbbc1I9i6GPqP8Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=dRetuc+ndNL8wRaQZg8vHH1R8xl2LDmEAkEMhywP+8UJhDtVNFD0awcTk0NFVEWFc 4+TwVaGUseD6722baHvFERvQmafMAljE3Pv38x2IeTRa6AzQ8/8U1fnYEaHtgRnNF2 u8AcQslSDSFzviMA3MRAnn29WvPb5J7TyvQbHvu26RrEf8YY4DRjIWL37jy1EZaWTd O1zXa3t0cu4EZiF5p5wL/gEmOSAA9X4FGrOSan9lPVySnsbFnCBuWk0rOkpEYSMhFP 5BZmigdRmnrqcFCW1l7D0tGzECRjwKdXzJngzJceniXbW1hoyZEy3Qgf0cY88IRn/u e9EeUMC89IdcQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9EDFF483D8; Mon, 23 Mar 2026 17:08:38 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Mon, 23 Mar 2026 12:08:33 -0500 Subject: [PATCH v3 2/2] drm/panel: Add panel driver for ChipWealth CH13726A based panels Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260323-ch13726a-v3-2-e28b6f97fe80@gmail.com> References: <20260323-ch13726a-v3-0-e28b6f97fe80@gmail.com> In-Reply-To: <20260323-ch13726a-v3-0-e28b6f97fe80@gmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Teguh Sobirin , Aaron Kling X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774285718; l=11523; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=PGS1htHub0KITyss9Eg2gXWt15DqDviEDfgDHc/FXP4=; b=6B/gVD7gY6zgLUawSbcgaN4k38AkkYXgUViuoppZ+pdqWzUwQXSvs0WTnd/GNV7BD7isnL6pk 5rZXEjs/bDKCU+BnuACMG0/pSqYQ4Y7qcu+TKnW+V3EvQ1J/9zYF3Ev X-Developer-Key: i=webgeek1234@gmail.com; a=ed25519; pk=TQwd6q26txw7bkK7B8qtI/kcAohZc7bHHGSD7domdrU= X-Endpoint-Received: by B4 Relay for webgeek1234@gmail.com/20250217 with auth_id=342 X-Original-From: Aaron Kling Reply-To: webgeek1234@gmail.com From: Teguh Sobirin This is used by the AYN Thor for the bottom panel. Signed-off-by: Teguh Sobirin Co-developed-by: Aaron Kling Signed-off-by: Aaron Kling --- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-chipwealth-ch13726a.c | 339 ++++++++++++++++++= ++++ 3 files changed, 351 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index a99f2e2a49fe66a09c6f2d503f570b05a5e228b1..e953b61a819082866b93d0a453e= e750a76d70c18 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -105,6 +105,17 @@ config DRM_PANEL_BOE_TV101WUM_LL2 Say Y here if you want to support for BOE TV101WUM-LL2 WUXGA PANEL DSI Video Mode panel =20 +config DRM_PANEL_CHIPWEALTH_CH13726A + tristate "CHIPWEALTH CH13726A-based DSI panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER + help + Say Y here if you want to enable support for ChipWealth + CH13726A-based display panels. + config DRM_PANEL_EBBG_FT8719 tristate "EBBG FT8719 panel driver" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 3336a2c0cd86419b6a22f74dcde6df966a311da9..85da2eb5a5c664d4302837f52e7= e10ec11da8966 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -9,6 +9,7 @@ obj-$(CONFIG_DRM_PANEL_BOE_TD4320) +=3D panel-boe-td4320.o obj-$(CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A) +=3D panel-boe-th101mb31ig= 002-28a.o obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_LL2) +=3D panel-boe-tv101wum-ll2.o obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_NL6) +=3D panel-boe-tv101wum-nl6.o +obj-$(CONFIG_DRM_PANEL_CHIPWEALTH_CH13726A) +=3D panel-chipwealth-ch13726a= .o obj-$(CONFIG_DRM_PANEL_DSI_CM) +=3D panel-dsi-cm.o obj-$(CONFIG_DRM_PANEL_LVDS) +=3D panel-lvds.o obj-$(CONFIG_DRM_PANEL_SIMPLE) +=3D panel-simple.o diff --git a/drivers/gpu/drm/panel/panel-chipwealth-ch13726a.c b/drivers/gp= u/drm/panel/panel-chipwealth-ch13726a.c new file mode 100644 index 0000000000000000000000000000000000000000..48a5e20e07c48748e073f8bb914= 7036c18c51caa --- /dev/null +++ b/drivers/gpu/drm/panel/panel-chipwealth-ch13726a.c @@ -0,0 +1,339 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * ChipWealth CH13726A MIPI-DSI panel driver + * Copyright (c) 2024, Teguh Sobirin . + */ + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include