From nobody Fri Jun 19 22:18:17 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 EF02D2E3AF1; Tue, 21 Apr 2026 17:38:40 +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=1776793121; cv=none; b=ftyOv5JEwTeTkZIm19xDvXYYYskp84fSdBhMC0iaXWmRHSrKANnAAgLGqD/0BIx/ORMZJtO3RwCHAW/gvF/OESBEQFh7FdL8qeXfJHrAHiOemkNUPiKRTlpwQlGx2pjgJkqb1kn3WfbHJanoOfiar611L4u59MHSmVnLoYPPWeY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776793121; c=relaxed/simple; bh=oAVLn0Pf8rZYdqjOGJ0372UjEDnO37tJPkJuki+zbTQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mIcUZ+VX6MKqp1QMZaVNmWxfbBXpkkyLm0109ntATVswKhWfjZdpA8C4YPR9MINJ8Q8jyuOVkhrIjtprw9K3PplzKRLtyszAqWuHqnMTlmZCEQyK+scxh21GGkRfRkvf0KiFjpbnFZknyv4fQ1Ug5YyPgepCXdBsbaR600DU5L0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qo69LB0R; 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="qo69LB0R" Received: by smtp.kernel.org (Postfix) with ESMTPS id B90CDC2BCB5; Tue, 21 Apr 2026 17:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776793120; bh=oAVLn0Pf8rZYdqjOGJ0372UjEDnO37tJPkJuki+zbTQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=qo69LB0R3uYYnm0psLLp3HoROMnfpMz1qZb6AmFj7i6xQwAan5zm3g5KooUspCvkz l68xHZQFLXFnQNM9ZhRrYQQ/xzJXPXfza2/Nfw3MMmcQDvwZXoRDnRKS5zCSy4Xpzv yd1f3DVdVNKOY05qbq0HgOZQtpLzBfVwhKAsB222tfFk1cFK4ScJBoZM+iVMZhQW++ OSSGkbr7TZJVf77C+W3x1yP8H3YRm8F4zGMtPGa4WNvAv/3AJOcfO3wjUiLREQSEHx e1R8hFWnAn8zTgP/4oFXbHJP7W4CctfhzVq9HCfdM1u2PufRJ1XmccmrgBh8xMIwur WeEUv0NE92Jcg== 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 A5D4AF327D9; Tue, 21 Apr 2026 17:38:40 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Tue, 21 Apr 2026 12:38:37 -0500 Subject: [PATCH v5 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: <20260421-ch13726a-v5-1-f7f6f4f30e05@gmail.com> References: <20260421-ch13726a-v5-0-f7f6f4f30e05@gmail.com> In-Reply-To: <20260421-ch13726a-v5-0-f7f6f4f30e05@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.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776793120; l=2232; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=9mFynGjtbhyIlNz+8QqjnthJKrW1n6N71zYlWYxXU8Y=; b=t/6NZe7KGkazfs2i7oNOeSYtuJWNCvxVsHVzfxdCPGOsCUT5NY6Oj4J5Nyk6jO6SA8MFvbdKD yPWOfuKa13XDkyQO9Oft1tdBfNhTGO/whcJei+nBpTxsLtalUgtsghX 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 | 67 ++++++++++++++++++= ++++ 1 file changed, 67 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 00000000000000..c8d7b61037e622 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/chipwealth,ch13726a.y= aml @@ -0,0 +1,67 @@ +# 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: + items: + - const: ayntec,thor-panel-bottom + - const: chipwealth,ch13726a + + 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", "chipwealth,ch13726= a"; + 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 Jun 19 22:18:17 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 3D32031F9BF; Tue, 21 Apr 2026 17:38:41 +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=1776793121; cv=none; b=Yu7jvUrjIShPQM7cLP80rfTilloctfoQnXOh4+96BM/G5Jp2F4jQGLGxSgOA47jJ969yRdrkciGLnh51bW/NlJl5+gNEjq9pjPvkYQqxx/FV+fvBvNK2aiU+548l3bVjmPoC5swIp8ay50YfEqLxVhuSz2ZkgY7LThraeXgEGaA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776793121; c=relaxed/simple; bh=La+dsMtKigLbKRdhWtAoDxJD3ki82cNWB5aMHPibp8U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O46ghBvMI9/bFzGbgF4bhxPwSWwILsXdplt8jALFAGglp9E/JYc2YnjtWzHf4ZOyNWodbwy2zlvABmUl/x1cSP97Fp/yQDnGeEbNNPvi5KvGdhv7DbtaPY0anD1rlR0FX2+O8ciiHiJeaL+kp3tmExxVKl5BVXYPibH3VukfPaE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IVrgCufO; 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="IVrgCufO" Received: by smtp.kernel.org (Postfix) with ESMTPS id DDB01C2BCB8; Tue, 21 Apr 2026 17:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776793120; bh=La+dsMtKigLbKRdhWtAoDxJD3ki82cNWB5aMHPibp8U=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=IVrgCufOpbWwdcXZPrbeGT6lxD92tSHmG8rrKvlqh1J1sNxQHQ38QZTn7py0hxDTD ljozgKbbFber9M9wvcMHzR8Qb67ABu+hVTYk7ztxs8ZmDjbVqgrLyCCHS5FNWDNpP1 FlnKgi5MfKPsqHAO0wqehv3VY3Q0lUiguRFdJy8hXj3wcAHNjFvBnFhJLZOY0B5ID4 +wocHg+8PHqtJ/s3gtsQfV4RbuE35I4DPCZeYKOLIz8AtbdtKWftWTe0iWmDx6jiYq EmHFqTMMvUR1+7ce1LikMJEXtlUHPMn8IxXuqAwOzj8TsCBu6eVBCLj905/YkSGHrp alVEnR8PSQHZw== 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 B84CDF327DB; Tue, 21 Apr 2026 17:38:40 +0000 (UTC) From: Aaron Kling via B4 Relay Date: Tue, 21 Apr 2026 12:38:38 -0500 Subject: [PATCH v5 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: <20260421-ch13726a-v5-2-f7f6f4f30e05@gmail.com> References: <20260421-ch13726a-v5-0-f7f6f4f30e05@gmail.com> In-Reply-To: <20260421-ch13726a-v5-0-f7f6f4f30e05@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.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776793120; l=11291; i=webgeek1234@gmail.com; s=20250217; h=from:subject:message-id; bh=6zJEeAQrGi45qzGSgqVejzQKCslg4CHUh2iZVXemX90=; b=ID4W3hY+c+U6xpOwaahWYKoVHFT3uiZKJZVQxNdFw/fpAcQa3EW9LSgiYEtnqCHh1VjYaiOGr E8fOnHgo31cAPKmtwq2VnmfgEGfHvLd9rnxPb6dG2UTpMH5GHhpdhvD 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 | 333 ++++++++++++++++++= ++++ 3 files changed, 345 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index d6863b28ddc559..e2c00f08f4507d 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 a4291dc3905bed..343d283d1620fb 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 00000000000000..175f40e752126f --- /dev/null +++ b/drivers/gpu/drm/panel/panel-chipwealth-ch13726a.c @@ -0,0 +1,333 @@ +// 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