From nobody Mon Jun 8 07:24:01 2026 Received: from mail-244116.protonmail.ch (mail-244116.protonmail.ch [109.224.244.116]) (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 BCD48352F86 for ; Fri, 5 Jun 2026 18:27:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780684058; cv=none; b=FI8JkIvnTVA8aCKovpRPF70mpz/KO4L2ohA+tk7Kc2RrWj1gp+Yz7pEs9tyTcpnKYYYr/7bLUgRElGMc/AN0potL4wcmF8T1f/toSNpAsgTtvx5xfADBUpmBhJa5fsJQdZc5LWJtQKWBrPTkWNCY23baqbLNKXwRUgYzrf8xevA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780684058; c=relaxed/simple; bh=PmhLka/oAIyw1nTpu65gQAy1Pd6k0shsEAEaJaJyphw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IJfrPKpO8JJdoDqcnfjrWGtHVoAxmCW7zCJF+26t55PQ52NG1GiCfLJ8HAMWZ2ZHdxSzzRTpyU835NcRydoHBr6y6+/0RbOuWGrrHIQ3trOHsNTBk4ECNq2SZ3l8LlxoEiQWsDOSOwCh9HTy2iQWOS5tmr+ThnpAAdtfLVbna7c= 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=T0OjfAo5; arc=none smtp.client-ip=109.224.244.116 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="T0OjfAo5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780684053; x=1780943253; bh=tx75P+P7ozafjtRnuFZTBl8obCQW842DsBNmRgarzJE=; 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=T0OjfAo5HDT1ZU6MHnwOLpwxFQdZG0ZnMUVKlar7qQOEYkFYhnkIZEN6Ww5RSQb1x /PQ4RjiqSkKwcjW3LkGA46gytFLbXn7F4WFEycRhQfO3fecO47Oa/2MwVikBGI7qQm viQdiFll4zouhTeLYgzSJFmtUGaAEMA53sM89XBhaDqUPpQXv3tuh19SEbVbfD/4/a aYLi8AAUSu9tKfZ+MI4VbZYgdrvzdGg++49pE6S5Na+aOlrkAIrrsGts5MB+rIGji0 AZJBQQC5xrTDInZI2uneQmC4cUHwXGozHNiHaYqjudcE3BaH+WTpga1Vz/XNjrUy02 3FGCnYiKLCYcQ== Date: Fri, 05 Jun 2026 18:27:28 +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 v2 1/2] dt-bindings: display: panel: Document Raydium RM69220 DDIC Message-ID: <20260605-asteroids-panel-support-v2-1-44b96c6eca91@pm.me> In-Reply-To: <20260605-asteroids-panel-support-v2-0-44b96c6eca91@pm.me> References: <20260605-asteroids-panel-support-v2-0-44b96c6eca91@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 92ce6ad62654657bc34b31db8652216b856de177 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document the Raydium RM69220 DDIC and the BOE BF068MWM-TD0 6.77" 1080x2392 AMOLED display panel used in the Nothing Phone (3a). Signed-off-by: Alexander Koskovich --- .../bindings/display/panel/raydium,rm69220.yaml | 74 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 79 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm6922= 0.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm69220.ya= ml new file mode 100644 index 000000000000..7423b192d892 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raydium,rm69220.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raydium RM69220 based MIPI-DSI panels + +maintainers: + - Alexander Koskovich + +description: + The Raydium RM69220 is a generic DSI Panel IC used to control + AMOLED panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - boe,bf068mwm-td0 + - const: raydium,rm69220 + + reg: + maxItems: 1 + + dvdd-supply: + description: Digital voltage rail + + vci-supply: + description: Analog voltage rail + + vddio-supply: + description: I/O voltage rail + +required: + - compatible + - dvdd-supply + - port + - reg + - reset-gpios + - vci-supply + - vddio-supply + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "boe,bf068mwm-td0", "raydium,rm69220"; + reg =3D <0>; + + reset-gpios =3D <&tlmm 12 GPIO_ACTIVE_LOW>; + dvdd-supply =3D <&vreg_oled_dvdd_1p8>; + vci-supply =3D <&vreg_l19b>; + vddio-supply =3D <&vreg_l9b>; + + port { + panel_in_0: endpoint { + remote-endpoint =3D <&dsi0_out>; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index c9f2780b2d31..ca2417d9d238 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8354,6 +8354,11 @@ S: Maintained F: Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml F: drivers/gpu/drm/panel/panel-raydium-rm67191.c =20 +DRM DRIVER FOR RAYDIUM RM69220 PANELS +M: Alexander Koskovich +S: Maintained +F: Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml + DRM DRIVER FOR SAMSUNG DB7430 PANELS M: Linus Walleij S: Maintained --=20 2.53.0 From nobody Mon Jun 8 07:24:01 2026 Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 7300839B4A6 for ; Fri, 5 Jun 2026 18:27:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780684066; cv=none; b=ItsPXzi8cAG/9t58JqhqWJmIjtqlHRMN0Z0SwSjd93SbzQy7xLjJP20ML7cwGL3jV+A8/A0dRnOLSQYS+wtHtcUPK0UijxuM4a+N/TzKw5hgbUaSGcI/H/T1qHV0bEFe2CVn+mvRn6rkz14eb+zbDJDPbtW7Rg9EId14RBVp6ho= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780684066; c=relaxed/simple; bh=rmAO0HOIzPhBKIGhj4NKbpMr1PCmSs1FWOB4wtX6QPc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gdybjbz1jzamOaf4PP8Ud59JjLWOwhriWM56I5uXpy9rLTjI3Lx62mFSi6X6m7CJmGSKU6qp5b7TgfzUls9W0U/JQpsbRdNIO9DxB2fIjIgDGwGKliNsYL9Xx2LGWAZxWqhuffNmxJAdND54TfgD/yx4xP6NfsYOUTEu3t/XqfI= 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=AdOQBp2h; arc=none smtp.client-ip=185.70.43.22 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="AdOQBp2h" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780684062; x=1780943262; bh=02Bgr1XWRCtQkzqmsWQlqE8VsMOzRGy8hGLaI8ruSDY=; 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=AdOQBp2hAmaKc+dpHVJHlq/w8r5G7skp2/XkVd9Top0I4Pn1h1v5gP1R2MaRCCHbn qWVHYnJ0PDhdyPOF8AyupA3+s/dMyBE9ZjjOzkrrWenXIAdNumTOyMZM29mGWCwn4t vtiFXDcHVZxd7yLAe16WqWIOz5MsucYI9Jw6qkXo7r3WyBzR+ikKXA+bxt0vk16B8Y vzKZEi79BC5YxQYJAdDIebgS5w9roa5BscDMUatLLlf1nZEHuNVTPhn69JlO4IBHZx svbuoB/kV7GrTb7ckmUU3J3JFiW5BMp8gyq7ePRchSHg74awtLv+b3nhuCfgFS1/a8 U7zS+8EfZS+jQ== Date: Fri, 05 Jun 2026 18:27:36 +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 v2 2/2] drm/panel: Add driver for Raydium RM69220 DDIC Message-ID: <20260605-asteroids-panel-support-v2-2-44b96c6eca91@pm.me> In-Reply-To: <20260605-asteroids-panel-support-v2-0-44b96c6eca91@pm.me> References: <20260605-asteroids-panel-support-v2-0-44b96c6eca91@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 4e352a6ef76ea85e964af41d2d71a603698d429d Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 | 435 ++++++++++++++++++++++= ++++ 4 files changed, 452 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ca2417d9d238..367f8a42e485 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8358,6 +8358,7 @@ DRM DRIVER FOR RAYDIUM RM69220 PANELS M: Alexander Koskovich S: Maintained F: Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml +F: drivers/gpu/drm/panel/panel-raydium-rm69220.c =20 DRM DRIVER FOR SAMSUNG DB7430 PANELS M: Linus Walleij diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 7450b27622a2..142c91202b8f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -769,6 +769,21 @@ config DRM_PANEL_RAYDIUM_RM692E5 Say Y here if you want to enable support for Raydium RM692E5-based display panels, such as the one found in the Fairphone 5 smartphone. =20 +config DRM_PANEL_RAYDIUM_RM69220 + tristate "Raydium RM69220-based DSI panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER + select DRM_DISPLAY_HELPER + help + Say Y here if you want to enable support for Raydium RM69220-based + display panels, such as the BOE BF068MWM-TD0 which can be found in + the Nothing Phone (3a). + + To compile this driver as a module, choose M here: the module + will be called panel-raydium-rm69220. + config DRM_PANEL_RAYDIUM_RM69380 tristate "Raydium RM69380-based DSI panel" depends on GPIOLIB diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index c2c5cf817116..4c23ac013f12 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -76,6 +76,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..9f5dd51b4d5e --- /dev/null +++ b/drivers/gpu/drm/panel/panel-raydium-rm69220.c @@ -0,0 +1,435 @@ +// 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