From: Liviu Dudau <liviu.dudau@arm.com>
To: Cunyuan Liu <cunyuan.liu@cixtech.com>
Cc: 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,
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
Subject: Re: [PATCH 3/3] drm/komeda: Add support for Arm China Linlon-D6
Date: Wed, 11 Mar 2026 19:42:29 +0000 [thread overview]
Message-ID: <abHFpSd0LLuNxLHo@e142607> (raw)
In-Reply-To: <20260311055506.12023-4-cunyuan.liu@cixtech.com>
On Wed, Mar 11, 2026 at 01:55:06PM +0800, Cunyuan Liu wrote:
> 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>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Best regards,
Liviu
> ---
> 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
>
--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
prev parent reply other threads:[~2026-03-11 19:44 UTC|newest]
Thread overview: 13+ 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 22:37 ` Rob Herring (Arm)
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 ` Liviu Dudau
2026-03-11 20:16 ` Krzysztof Kozlowski
2026-03-12 8:15 ` Cunyuan Liu
2026-03-12 16:06 ` Krzysztof Kozlowski
2026-03-11 5:55 ` [PATCH 3/3] drm/komeda: Add support for Arm China Linlon-D6 Cunyuan Liu
2026-03-11 19:42 ` Liviu Dudau [this message]
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=abHFpSd0LLuNxLHo@e142607 \
--to=liviu.dudau@arm.com \
--cc=airlied@gmail.com \
--cc=andre.przywara@arm.com \
--cc=cix-kernel-upstream@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=cunyuan.liu@cixtech.com \
--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=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