From nobody Mon Jun 8 07:24:28 2026 Received: from mail-43101.protonmail.ch (mail-43101.protonmail.ch [185.70.43.101]) (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 DEED834D90C; Wed, 3 Jun 2026 13:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.101 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780491801; cv=none; b=XpENrPkP05ceSKr6zxh+8MgdtvRflI+C+yj9YmmGlI0f5jMv5PExwc6/Y06l4vNnbSXcKVz8pY96R1YHaSMfCMDyL+37RMLzB0gyELWeTTGbkoxVPU8rotCs8Pm9M2qOM2AHm056s0pSUhvb0NhEy04+9hoXf7cKsXMDmlOvV9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780491801; c=relaxed/simple; bh=ooYqb4J3l5d4HSCMRdNqd7gPaqi08D3zACIgNEk9QlY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pLJ852g/g6O12SULpeb4lUxWWnRVqPXHHIUyDKK94Tghh8vAqO+r9McwGSW5lhm+cv7G3VSOayfnHUelZWIIlokQnCxjgPfS5pjlL8w1++GmcRBk7SDVCuALzOOkywYRGdeRj+WD+Z9xuzJ3TkFADkriZqHBeWkmAPh+ElUcKVA= 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=I14eYEXp; arc=none smtp.client-ip=185.70.43.101 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="I14eYEXp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780491797; x=1780750997; bh=84hOhCwOr6CZp7OHVWmJONnUUJ7lvZP68eI7P+7cmi8=; 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=I14eYEXpcuHy6ERxq7xJ1A6DhscBaSKIRksP0rLbFGNpDQxweuCPqFDbfYiXAwkCs VrsJ+fKjW9W4B1cJ5MeqdYvIUtg+r6AwmhmrXEm0+kmXprIaODSrpSAhhDs5Xh4+8o JSBHBl7FlnNjAQK7mabwkSQOqtfxNK2n596zxabSJYZfFnsH6e9f+eb7SnJB9tWBGT huZfQcyR8HBgV8s8d3jEBjEl1rkyUpZApdJldoUJFMxJ/J0QhMGQgtuh8koQWOyLS+ wHqd6783nD91MpDi2Xf7MnMhppQMCWgl95IJy67f+5CRN2c234Q2oU1GSlSjQ3Fd4U Jtos4unqZC5bA== Date: Wed, 03 Jun 2026 13:03:12 +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 1/2] dt-bindings: display: panel: Document BOE BF068MWM-TD0 Message-ID: <20260603-asteroids-panel-support-v1-1-109c6ac81c8f@pm.me> In-Reply-To: <20260603-asteroids-panel-support-v1-0-109c6ac81c8f@pm.me> References: <20260603-asteroids-panel-support-v1-0-109c6ac81c8f@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 8e671c51da754ca6e3ac00f4fb63e6c295ed3ca5 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 BOE BF068MWM-TD0 6.77" 1080x2392 AMOLED display panel used in the Nothing Phone (3a). Signed-off-by: Alexander Koskovich --- .../bindings/display/panel/boe,bf068mwm-td0.yaml | 77 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 82 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/boe,bf068mwm-t= d0.yaml b/Documentation/devicetree/bindings/display/panel/boe,bf068mwm-td0.= yaml new file mode 100644 index 000000000000..840ddff709ea --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/boe,bf068mwm-td0.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/boe,bf068mwm-td0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BOE BF068MWM-TD0 6.77" 1080x2392 AMOLED Panel + +maintainers: + - Alexander Koskovich + +description: + This is a 6.77" AMOLED video mode display panel on a MIPI-DSI 4-lane + interface. + + The panel also requires ELVDD/ELVSS/ELAVDD rails but these are + internally managed by the panel via EL_ON1 (ELAVDD) and EL_ON2 + (ELVDD/ELVSS) control signals, they are not managed by the platform. + + The driver IC for this panel assembly is an RM69220. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: boe,bf068mwm-td0 + + reg: + maxItems: 1 + + dvdd-supply: + description: Digital voltage rail + + vci-supply: + description: Analog voltage rail + + vddio-supply: + description: I/O voltage rail + +required: + - compatible + - reg + - reset-gpios + - dvdd-supply + - vci-supply + - vddio-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "boe,bf068mwm-td0"; + 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..63d0224bba3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8000,6 +8000,11 @@ S: Maintained T: git https://gitlab.freedesktop.org/drm/misc/kernel.git F: drivers/gpu/drm/tiny/bochs.c =20 +DRM DRIVER FOR BOE BF068MWM-TD0 PANELS +M: Alexander Koskovich +S: Maintained +F: Documentation/devicetree/bindings/display/panel/boe,bf068mwm-td0.yaml + DRM DRIVER FOR BOE HIMAX8279D PANELS M: Jerry Han S: Maintained --=20 2.53.0 From nobody Mon Jun 8 07:24:28 2026 Received: from mail-106120.protonmail.ch (mail-106120.protonmail.ch [79.135.106.120]) (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 751B643E9DF for ; Wed, 3 Jun 2026 13:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.120 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780491819; cv=none; b=LERwulrk/7RmuFwh4oYspZQEo8G+vTrP1MzCmmvFiy8YHRmMIJd64htPRAGg8+Q8PIypMorSliil4ZYc2SKPQpHW5eOhbQAaWdCC0V/quKhWp49GAgy6aWVNEKVQ5v5OqeVu1mtuSNcqhUODfDqZ2/9XILijFY6ZR+0d5zLEP4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780491819; c=relaxed/simple; bh=MuSqORdYowceOIKAknXWOJsDEkZPNZCPUPxixCLRAUA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BvQEG7RGd53inw1pI8lQ6TlytA0dx0h0PftJqtZRvW2TjR8Cfw1KuaOh1He02OJx3F7BMtl6DYWj+8zz9ew82CA0l7wl6vTrE8HlrjeGeUGFNuqU97v9DeVVUumetnKSYmJo+VIC+ydCgTL9sJKCdDcb3tXtjZGFHG3VJh5f3vo= 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=ruL4BZgN; arc=none smtp.client-ip=79.135.106.120 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="ruL4BZgN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780491809; x=1780751009; bh=MZ8Z/A4WZ/tX++iZJVysuny8VUtR9ZvD02LVT4P3Kss=; 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=ruL4BZgN3a4gxocJdM0PlV0jp+VXtY/oArRIhingD+63q6NJPbWjubJMx10XGAs/V iXKvhoEdqHgO4uWYZ9hraRTofOZVR8/8EbXGgL2WfUrU67UfqcT3ki3A4mYwh9rXnt WZsjFBVojd+9WHFyTCrT4vSFaGxUiNW+CHCUAfX19IzXBRtyg5ueUrzeH0DKLrBcPM E7YMIWulbwm74BlNeK7s8g0ABa8w5ersUSssfN+KfJ4rvU2G3f66Ob9IhgeX3X0wp8 BpfxTch+b5OXhNExIW1cqZhZOnLo0K+qbVlewNR2GIbhbZ/RQTpTuEe6Kr08OVQn89 g9VXIGohB8l5Q== Date: Wed, 03 Jun 2026 13:03:22 +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 2/2] drm/panel: Add BOE BF068MWM-TD0 panel driver Message-ID: <20260603-asteroids-panel-support-v1-2-109c6ac81c8f@pm.me> In-Reply-To: <20260603-asteroids-panel-support-v1-0-109c6ac81c8f@pm.me> References: <20260603-asteroids-panel-support-v1-0-109c6ac81c8f@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: b81d5fb2c37f600947fca1456371c1ed0e1959b0 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 the panel driver for BOE BF068MWM-TD0 support found in the Nothing Phone (3a). Signed-off-by: Alexander Koskovich --- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-boe-bf068mwm-td0.c | 432 +++++++++++++++++++++= ++++ 4 files changed, 445 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 63d0224bba3b..d7175e630d77 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8004,6 +8004,7 @@ DRM DRIVER FOR BOE BF068MWM-TD0 PANELS M: Alexander Koskovich S: Maintained F: Documentation/devicetree/bindings/display/panel/boe,bf068mwm-td0.yaml +F: drivers/gpu/drm/panel/panel-boe-bf068mwm-td0.c =20 DRM DRIVER FOR BOE HIMAX8279D PANELS M: Jerry Han diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 7450b27622a2..03987190f45c 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -56,6 +56,17 @@ config DRM_PANEL_BOE_BF060Y8M_AJ0 uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host and backlight is controlled through DSI commands. =20 +config DRM_PANEL_BOE_BF068MWM_TD0 + tristate "BOE BF068MWM-TD0 panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for BOE BF068MWM-TD0 + 6.77" AMOLED modules. The panel has a 1080x2392 resolution and + uses 30 bit RGB per pixel. It provides a MIPI DSI interface to + the host and backlight is controlled through DSI commands. + config DRM_PANEL_BOE_HIMAX8279D tristate "Boe Himax8279d panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index c2c5cf817116..2fa1ea3cfe26 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -4,6 +4,7 @@ obj-$(CONFIG_DRM_PANEL_ARM_VERSATILE) +=3D panel-arm-versat= ile.o obj-$(CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596) +=3D panel-asus-z00t-tm5p5= -n35596.o obj-$(CONFIG_DRM_PANEL_AUO_A030JTN01) +=3D panel-auo-a030jtn01.o obj-$(CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0) +=3D panel-boe-bf060y8m-aj0.o +obj-$(CONFIG_DRM_PANEL_BOE_BF068MWM_TD0) +=3D panel-boe-bf068mwm-td0.o obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) +=3D panel-boe-himax8279d.o obj-$(CONFIG_DRM_PANEL_BOE_TD4320) +=3D panel-boe-td4320.o obj-$(CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A) +=3D panel-boe-th101mb31ig= 002-28a.o diff --git a/drivers/gpu/drm/panel/panel-boe-bf068mwm-td0.c b/drivers/gpu/d= rm/panel/panel-boe-bf068mwm-td0.c new file mode 100644 index 000000000000..bbf7aed19616 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-boe-bf068mwm-td0.c @@ -0,0 +1,432 @@ +// 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