From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-10629.protonmail.ch (mail-10629.protonmail.ch [79.135.106.29]) (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 8F91D30D41C for ; Sat, 4 Jul 2026 08:24:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.29 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783153475; cv=none; b=ddb0RYrmc5vz+vJctydZzkz7MvUuwIUew+Jz2dGglyKi7ILjRMJ68UiHXUEXsEcGLBGHjpc7R5kdLof2RYB0b977KcPz2z8GBQHrwknr44LoBv5cn5EotGxpYy1rSB0Z2JRS2KDE7XJWGoxYcgHsKomh7F8vF/FUX7Mr6xyf80w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783153475; c=relaxed/simple; bh=iRiCmX0RxD1ejKDtSsHxuw2qDntdfAyTQvu1/AVdvOk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Y0mNhUmnr0teL1xMSjWdptQVvf8F1/rrkurqsg8+CTCUxOVXf7OPS49iGvRQxz5/nV3HHrdAh/2sVvbWwaL7tGoRpC4MTDoRQUNp0z7ba9KqwrjPscwLTO0ulRG6CCWeylL5rVS/QqMfI7gqTcfMYXhUxwp93lk9yt7zxgNWsBE= 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=f9Ol8rJO; arc=none smtp.client-ip=79.135.106.29 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="f9Ol8rJO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1783153465; x=1783412665; bh=FE56xZC+oidqRx6Q0b0Qrj61IlYg68jQ4tpKfHW0AIE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=f9Ol8rJO+/+On/0LIkQYJOzfLnHFMJYKBEsW5pqe+b+yMS9ku7w+/uQlTkvX/4VsP 0PoQ/DC7jaPXnfZWj2E9haP9TyXCj6R1Vy1Qh7ehi5cxTa/RzaUj8qEn2qDIBgC2A8 w9H4zfP0wWwURCqdqtmGAr6P0TwA0bgqGM8t22iyhlO6Ui5S1qIT1W6PIscLQQp7sR vlE7z3aV6y+CtpfUuCNofVVC4v4uPYPAu7CvoLgyTZXPOR7fDzIvhCmLt8bDodcFRr JjKTs1exXoXd8xIarU9xdVAyN9/RMUHttVnUULIsyQnrDMLWfk+xrjjzEKTv+0JUwR Sgew7ZpZyjHAA== Date: Sat, 04 Jul 2026 08:24:19 +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 v3 2/2] drm/panel: Add driver for Raydium RM69220 DDIC Message-ID: <20260704-asteroids-panel-support-v3-2-38dc92570579@pm.me> In-Reply-To: <20260704-asteroids-panel-support-v3-0-38dc92570579@pm.me> References: <20260704-asteroids-panel-support-v3-0-38dc92570579@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 29ef8378ecccf889140b7382c203cb2e8a1c0610 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 eb70658e081e..dd68e2eb35a9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8378,6 +8378,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 c0cc2bb4a3eb..4bc67c508fa6 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -799,6 +799,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 6926ef28ab8d..93774d9bb5e4 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -79,6 +79,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_R69328) +=3D panel-renesas-r69328.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..4fa3036c4b5f --- /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