From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-24417.protonmail.ch (mail-24417.protonmail.ch [109.224.244.17]) (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 C95643081A2 for ; Fri, 2 Oct 2026 01:51:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790905916; cv=none; b=AOlVr9Gu3JVZ43khB4+fqBHUY2gtWItpnLUDEpRaYi4dBYXTmQmSU/ugE5bHWHtoF7+108+xQYt6FTIJNAizwzgh6Cx2y7iPm0f8Qe/+lipumhMBXQhyNu4X+i1VkJAcV9O3q+s3Ie6qJKOrlu9sCidWGEnOlm7ok8oi1vp4VZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790905916; c=relaxed/simple; bh=/c701bHMpGHHpBBH+Nr0q6cIzdxeztmbGihc1zkruOo=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=sGJRYLmTIynI5b1bQQkZRgKrbWGd0VGDiXJeBlXqriOnDfPZ8uC3pt6e0Uc4AVT/tQOTSGvFMW7zDSvU9gb+Wc39KC4q1hvgZRW8P5dbOVdqMZfs6ZHzIT743OkbfxXTfZmAFGp0n0t6i2g4pibXi+9fgaTuLuAXgNHsSKb4jfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=YLEcWYUO; arc=none smtp.client-ip=109.224.244.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="YLEcWYUO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1790905911; x=1791165111; bh=/mor2t7+zGxmTy+WpeseCaJm18rfuGj4yLAW0d0L4mA=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=YLEcWYUOJJxiUnYM8i5IZTZbmRbBSJRYQsgpAk2HAk9SJVG9SHX17yEHV4OMEmPZf fLICk3vLdVPF1InZVyYNupfh/cVbxMtawG1qwsNCWa1BEueW0TuE7tD8TIfukRnzdG wx38qVXD7m9ASbMxxWbp30F6vfk1FTc6XEPze2AdJENQeQegtSmBGUplVrjPs3hAlW aMUz8M7Sv4smXiihcoKD0jnRqCpAs8c7iCkskMdesdGd67DqTAB8pTLSZ1PcaZyNX/ qSHcaLrj8aHoDSRRpKmhXtMTs1/UkoKi8s3Gh9NtJbU9nOAaIUIvX8+U1dM69adzh7 n7bi5SXv/5yUQ== Date: Fri, 02 Oct 2026 01:51:46 +0000 To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley From: Alexander Koskovich Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Koskovich Subject: [PATCH v4 2/2] drm/panel: Add driver for Raydium RM69220 DDIC Message-ID: <20261001-asteroids-panel-support-v4-2-fb228194ad91@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 3893ef6421dfb228631305b12ed3dd37f44d937d Precedence: bulk X-Mailing-List: devicetree@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 Add a panel driver for Raydium RM69220 DDIC based displays such as the BOE BF068MWM-TD0 found in the Nothing Phone (3a). Signed-off-by: Alexander Koskovich --- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig | 15 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-raydium-rm69220.c | 417 ++++++++++++++++++++++= ++++ 4 files changed, 434 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6702142b117d..1e4d309e4792 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8587,6 +8587,7 @@ DRM DRIVER FOR RAYDIUM RM69220 PANELS M:=09Alexander Koskovich S:=09Maintained F:=09Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml +F:=09drivers/gpu/drm/panel/panel-raydium-rm69220.c =20 DRM DRIVER FOR SAMSUNG DB7430 PANELS M:=09Linus Walleij diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 53a1fc2913fe..61c047891f50 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -850,6 +850,21 @@ config DRM_PANEL_RAYDIUM_RM692E5 =09 Say Y here if you want to enable support for Raydium RM692E5-based =09 display panels, such as the one found in the Fairphone 5 smartphone. =20 +config DRM_PANEL_RAYDIUM_RM69220 +=09tristate "Raydium RM69220-based DSI panel" +=09depends on OF +=09depends on DRM_MIPI_DSI +=09depends on BACKLIGHT_CLASS_DEVICE +=09select DRM_DISPLAY_DSC_HELPER +=09select DRM_DISPLAY_HELPER +=09help +=09 Say Y here if you want to enable support for Raydium RM69220-based +=09 display panels, such as the BOE BF068MWM-TD0 which can be found in +=09 the Nothing Phone (3a). + +=09 To compile this driver as a module, choose M here: the module +=09 will be called panel-raydium-rm69220. + config DRM_PANEL_RAYDIUM_RM69380 =09tristate "Raydium RM69380-based DSI panel" =09depends on GPIOLIB diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefil= e index f2c9c80a218f..00c06d956e8b 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM67191) +=3D panel-raydiu= m-rm67191.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM67200) +=3D panel-raydium-rm67200.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM68200) +=3D panel-raydium-rm68200.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM692E5) +=3D panel-raydium-rm692e5.o +obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM69220) +=3D panel-raydium-rm69220.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM69380) +=3D panel-raydium-rm69380.o obj-$(CONFIG_DRM_PANEL_RENESAS_R61307) +=3D panel-renesas-r61307.o obj-$(CONFIG_DRM_PANEL_RENESAS_R63419) +=3D panel-renesas-r63419.o diff --git a/drivers/gpu/drm/panel/panel-raydium-rm69220.c b/drivers/gpu/dr= m/panel/panel-raydium-rm69220.c new file mode 100644 index 000000000000..3030f8b89760 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-raydium-rm69220.c @@ -0,0 +1,417 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Generated with linux-mdss-dsi-panel-driver-generator from vendor device= tree. + * Copyright (c) 2026 Alexander Koskovich + */ + +#include +#include +#include +#include +#include +#include + +#include