From: Cunyuan Liu <cunyuan.liu@cixtech.com>
To: liviu.dudau@arm.com, maarten.lankhorst@linux.intel.com,
mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: neil.armstrong@linaro.org, heiko@sntech.de, marex@nabladev.com,
dev@kael-k.io, prabhakar.mahadev-lad.rj@bp.renesas.com,
andre.przywara@arm.com, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
cix-kernel-upstream@cixtech.com,
Cunyuan Liu <cunyuan.liu@cixtech.com>
Subject: [PATCH 3/3] drm/komeda: Add support for Arm China Linlon-D6
Date: Wed, 11 Mar 2026 13:55:06 +0800 [thread overview]
Message-ID: <20260311055506.12023-4-cunyuan.liu@cixtech.com> (raw)
In-Reply-To: <20260311055506.12023-1-cunyuan.liu@cixtech.com>
Arm China Linlon-D6 is register-compatible with the Mali-D71 display
pipeline for the purpose of basic modesetting.
On Linlon-D6, the PRODUCT_ID register is located at the same offset as on
Mali-D71 and reports 0x0060. The IP also exposes the same Komeda top-level
block layout expected by the existing d71_identify() probing flow, so we
can reuse the D71 function table to bring up the display engine.
Signed-off-by: Cunyuan Liu <cunyuan.liu@cixtech.com>
---
drivers/gpu/drm/arm/display/include/malidp_product.h | 1 +
drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 1 +
drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/arm/display/include/malidp_product.h b/drivers/gpu/drm/arm/display/include/malidp_product.h
index 16a8a2c22c42..6f954bcdf40e 100644
--- a/drivers/gpu/drm/arm/display/include/malidp_product.h
+++ b/drivers/gpu/drm/arm/display/include/malidp_product.h
@@ -20,6 +20,7 @@
/* Mali-display product IDs */
#define MALIDP_D71_PRODUCT_ID 0x0071
#define MALIDP_D32_PRODUCT_ID 0x0032
+#define LINLONDP_D6_PRODUCT_ID 0x0060
union komeda_config_id {
struct {
diff --git a/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c b/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c
index 80973975bfdb..f105e3a2dce2 100644
--- a/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c
+++ b/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c
@@ -628,6 +628,7 @@ d71_identify(u32 __iomem *reg_base, struct komeda_chip_info *chip)
switch (product_id) {
case MALIDP_D71_PRODUCT_ID:
case MALIDP_D32_PRODUCT_ID:
+ case LINLONDP_D6_PRODUCT_ID:
funcs = &d71_chip_funcs;
break;
default:
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
index 358c1512b087..4bb5f250e95e 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
@@ -104,6 +104,7 @@ static int komeda_platform_probe(struct platform_device *pdev)
static const struct of_device_id komeda_of_match[] = {
{ .compatible = "arm,mali-d71", .data = d71_identify, },
{ .compatible = "arm,mali-d32", .data = d71_identify, },
+ { .compatible = "armchina,linlon-d6", .data = d71_identify, },
{},
};
--
2.53.0
next prev parent reply other threads:[~2026-03-11 8:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 5:55 [PATCH 0/3] Arm China Linlon-D6 display controller support Cunyuan Liu
2026-03-11 5:55 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Arm Technology (China) Co., Ltd Cunyuan Liu
2026-03-11 18:42 ` Conor Dooley
2026-03-11 19:15 ` Liviu Dudau
2026-03-11 20:16 ` Krzysztof Kozlowski
2026-03-11 21:17 ` Claude review: " Claude Code Review Bot
2026-03-11 5:55 ` [PATCH 2/3] dt-bindings: display: arm, komeda: add Arm China Linlon D6 compatible Cunyuan Liu
2026-03-11 19:11 ` [PATCH 2/3] dt-bindings: display: arm,komeda: " Liviu Dudau
2026-03-11 20:16 ` Krzysztof Kozlowski
2026-03-11 21:17 ` Claude review: dt-bindings: display: arm, komeda: " Claude Code Review Bot
2026-03-11 5:55 ` Cunyuan Liu [this message]
2026-03-11 19:42 ` [PATCH 3/3] drm/komeda: Add support for Arm China Linlon-D6 Liviu Dudau
2026-03-11 21:17 ` Claude review: " Claude Code Review Bot
2026-03-11 21:17 ` Claude review: Arm China Linlon-D6 display controller support Claude Code Review Bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260311055506.12023-4-cunyuan.liu@cixtech.com \
--to=cunyuan.liu@cixtech.com \
--cc=airlied@gmail.com \
--cc=andre.przywara@arm.com \
--cc=cix-kernel-upstream@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=dev@kael-k.io \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marex@nabladev.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox