From nobody Sun Feb 8 04:23:12 2026 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B45F1AD24 for ; Sun, 25 Jan 2026 13:19:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769347170; cv=none; b=PGdvPPsI8K/7vhpFojj0PAczf4RfjtjtCitV/HEyPYRhhKGmOEKtyvhU8w47DBvnoKK4h5FXXhv2SE+G2iNnGF84GxrcyzxW8rgu8OL2QIcG9Tm8BP4kOYPIVmz8PlclP5B1/2enstBNIKpIw2nvZnI/3Ed9Q8/4v4RFVju1UaA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769347170; c=relaxed/simple; bh=QlyqcO1+IdKatW4r9kkCO0xkGqiulU8TNo9N+h8E64o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XXN7WUhH5Wad2+TN80bZH0jOB4KZsNopk2oB62t7lnNtooqPZ7LyuYHvFo6IuyKudajGcYsq6CCef41Z45rQOPZWMrYMGi6nht1fg97DZkyPAQ2THOgA84C6DEkHWkV/b9pVGkWLcYph3BgIoGhW+HUIia9m0TNAz95ZcHevieg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QQUPR88X; arc=none smtp.client-ip=209.85.128.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QQUPR88X" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-47ee3a63300so41882195e9.2 for ; Sun, 25 Jan 2026 05:19:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769347167; x=1769951967; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R5Zfr1fBtqgJrfSd/g+IV1kLhhHTpd7Gc0DhUBdILk8=; b=QQUPR88Xh8X3OWqF+jVZdPM/XIvsG8lw6A4vn34dghDnjpBUgfslM3fpgw/I+8P+Qn Wh+hCLAIlrYBCTNjAsnk2YDA9RL//bSKoagSa4VVPF5sdYII/2z9tQx9ReoaMbX8sK9w ajj6prJuFMxYvAQrHicoi8hwBPBgByzZH8to1+YMMivaNindNTHsCmaPqOjFEhW2G47J libSjcBZv8SqhR4XtVS3aLFDgy3HzsWfSG/uprhc/VjxNRfBP4+/atq9lEkN+nz/vpFF bXKIkCC61ahKGNR+0q3pI6gB5GoOnP3RsMDhemDw0bp6ammMD0ovxPbOr1ngshbzp5lE BdHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769347167; x=1769951967; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=R5Zfr1fBtqgJrfSd/g+IV1kLhhHTpd7Gc0DhUBdILk8=; b=cgncHUghfZa42IpFqYn3vU0NZc7BYgKqFpwy31/QAIwdgE0hJSzfxe2fSQ0Bu7v08Y sbWvEO+PcH2CwFrgxnPglOd1PetpPbWPKIFp/Y4Or4SvlzjytWiYeFuK1GUv0QWa9vx9 aNtnUksH0GShyQmJOic63YVgq1QYr1oXf5Hj3H3ibFtL6x/vd4LwA62eKFP8EZGO5vqk bEwC6yPo6w7fD62fDyz8+2axueVGURXCTRtPX5p4QWGrEhlXvc2r3Hyx5wlQQua9Jnpb 9QUyq78BvyL0SA/PulH2vXClZKNTaYUTjzh40j+vGWSHxV2970joERlgGDCGRfi7H3q+ ykOQ== X-Forwarded-Encrypted: i=1; AJvYcCVz+C4XQ27/rCvjKIkZJUffMqOB8Lc6UteK+fxTBK4FlnzSL98TXC+jU8X/O6O96v5BTCSZPWRlZtQqqME=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4V1V4TV9r8wXXnHe0QWW3rUi6KZ5mjZ7YErUFRkZnGSlLFkE5 nxsKLAcV7kcTzf7F90caF0KxgC6AG+Q4ju/h9pwV+BEQE4xWF2GsnPgD X-Gm-Gg: AZuq6aLrdMSLGUmLSfXUTTTlUr76GGJt3469xVNGgCrktGojN9lWpIDxAkNnuRKFwi5 cRIDn3RBLlfyvo+h2QtdeWgabVk0yRdPbHRGN0JQdq0UGEWFYl+3pEXvKi0XVT1w3HJuN0LSfmx DJ5B3qWwg6jPkQHjTedJfpQQsqgRH3+Eowl8/bOOc4sxp+aXMrpi8C8WAIzI6hgRwxyxWcSLxRa wD3SRd4+CvhedfvYQH1UbYC4zDGaa/aYKlW9j58VFWCClAif2gKsRYBipFLuN7YSjkjTOZfn2R4 EZ07EhzXU3V1XOGbegB8Yop5coEy6jI1N2D1SlX5RAY7dYfMqcp6nZAokzP4Lw/oZCzDbh3XNgG ydAgMM0kAapeVdxyMhzV1sF49WLjgkwrQsTkYWw5Zst16f7fcMFSF7S5ukai3bRQq4C1C/7OK7h dK X-Received: by 2002:a05:600c:3f18:b0:477:7c7d:d9b2 with SMTP id 5b1f17b1804b1-4805d06ae8dmr25854955e9.32.1769347167119; Sun, 25 Jan 2026 05:19:27 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48047028928sm382382215e9.2.2026.01.25.05.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 05:19:26 -0800 (PST) From: Svyatoslav Ryhel To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Svyatoslav Ryhel Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/2] dt-bindings: display: panel: document Atrix 4G and Droid X2 DSI panel Date: Sun, 25 Jan 2026 15:19:03 +0200 Message-ID: <20260125131904.45372-2-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260125131904.45372-1-clamor95@gmail.com> References: <20260125131904.45372-1-clamor95@gmail.com> 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" Atrix 4G and Droid X2 use the same 540x960 DSI video mode panel. Exact panel vendor and model are unknown hence generic compatible is used based on board name it is used with. Signed-off-by: Svyatoslav Ryhel --- .../display/panel/motorola,mot-panel.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/motorol= a,mot-panel.yaml diff --git a/Documentation/devicetree/bindings/display/panel/motorola,mot-p= anel.yaml b/Documentation/devicetree/bindings/display/panel/motorola,mot-pa= nel.yaml new file mode 100644 index 000000000000..2326a83bc405 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/motorola,mot-panel.ya= ml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/motorola,mot-panel.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atrix 4G and Droid X2 DSI Display Panel + +maintainers: + - Svyatoslav Ryhel + +description: + Atrix 4G and Droid X2 use the same 540x960 DSI video mode panel. Exact + panel vendor and model are unknown hence generic compatible is used. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: motorola,mot-panel + + reg: + maxItems: 1 + + vdd-supply: + description: Regulator for main power supply. + + vddio-supply: + description: Regulator for 1.8V IO power supply. + + backlight: true + reset-gpios: true + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "motorola,mot-panel"; + reg =3D <0>; + + reset-gpios =3D <&gpio 35 GPIO_ACTIVE_LOW>; + + vdd-supply =3D <&vdd_5v0_panel>; + vddio-supply =3D <&vdd_1v8_vio>; + + backlight =3D <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&dsi_out>; + }; + }; + }; + }; +... --=20 2.51.0 From nobody Sun Feb 8 04:23:12 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0761431B100 for ; Sun, 25 Jan 2026 13:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769347171; cv=none; b=p5DnB48MuzsQXEhIHgmrQenrvXEvUcINou/j34HLEgOJ/KwwWir6sDmFYgGMXDSkUYzmz1w3Mj9VJw5eSBaxRsz+y+7zn7U1IFf72jCGlwjwibzwzQMXl692zC2ehmwJyE4AeNt+tkd3o9M8csGYJgQZRFSW8kW9/e2ussM+Mhg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769347171; c=relaxed/simple; bh=XfxBswv9mBP2ocuKduBY6Fa4RmapW0s/lHj/6j8sX84=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DsHJve7TdvLjAv4hy4rZtA7b/7XiNCIVvYNT8MbFzQknJccknBvgUYVGC/UM9Qrw3kZ3ZnMbD4y6XjfVhb0ZNiBSA2iXGvFvddgSXTxWDy9TYScUPNyNovsEiQaeKaBH5ic/SYMkdmM5iyy1RUsR9hlv2lR8f2imRO0d2xjST24= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Wynoq+ww; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wynoq+ww" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-47ee301a06aso41978565e9.0 for ; Sun, 25 Jan 2026 05:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769347168; x=1769951968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wiE33LyxEJX3/UL2a7lOhkiHlYQtFsPfGjbbIbdNsMo=; b=Wynoq+ww3O+l8uJSFA6F7+b+SUOc38nvDfEVlyrb/QKEC6tOEn7wAD2UjVMvGMp9Jb AOOf5c3Fbt3Q0pq75FAEtjSpFrPEU5taGLbxZfNlZl0xNVrLeU8IFOkunMoFW1/arJ8c Lx/OJKtB+0MI3YeOPsJXyfTHqiILQ/XFhtGVaNUYkYZ7ykPl+bO/jJprLSzmNlWuJNJT aqlenJtp13a+itOw+uCKOruyDvGPlYjWboLKOeTNXAY6ZSiYsejeTdIvAekVoGnuhCrd EYSnUl3fUCADDoryeYTo2NLZ8fmRE8IW5nLs5nlFygnYNr2iCyUtB2KpOuX2RP5IXzxu Qmlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769347168; x=1769951968; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wiE33LyxEJX3/UL2a7lOhkiHlYQtFsPfGjbbIbdNsMo=; b=gdAQAWcGBCutNRmHVLZhRKJAPKmOuePXxSKO+Lu1H6ct3dRS2Mdgq4vxF2gQWD45hE PGgxaekigDb5nVyDCms/VHjMjTNjbXRysTzJJDWArQ7lp9fSj8jKWf6nJbWJpIY1mftY CcBIob867j8XK2vEbA7+LcO+StNQk9sO8YzFdlH0SpeiUU4HwrhTnOVAbtyvzVzwxNnC clR5aJKM0V15oA65C4y8sJUMI2QRrtOtiGa/y6bMBTuaKjR0ac81WZ84m1ZKIB9sw8UM zH1B51VObvwk65SjGFpYCl1pO8oqEeftKVeqPlqpt5pZXC7vicIoSkCAeLRrQDWkI+Hu M+Mg== X-Forwarded-Encrypted: i=1; AJvYcCWKvVLevhfDlzJNlfwCtWtkjue2oxE22K0SZaR8gMxwpyUamOp+L8qWoDoFkER6Us+eXFXy/rXT0VzPJS4=@vger.kernel.org X-Gm-Message-State: AOJu0Yys0B5zQI2mt9pJBJcdhHzxIxsciaz9ZZB0rJu+sK7WJcZpgYlH w1FTnNsn6g6Ka3hMysFXan4l9fx6MrfzBlPCrtHc2tNtr/+PjDws0hvp X-Gm-Gg: AZuq6aKQZL2EnJsZyJw+NJ5vqJdsOJFXX6lv2LorcD/b6Jr03Tm9NjsH0KP112jLFuS bhxOm3cADEx2bgVW6yv5rVfX/I+G5uUOUtbi6zqiXDvuyYWtzbtfRQVMet0zgi8Py2yyToJ8diF r0QBi/474EMOGsLgx6o3B0hBlkHCEB2ih3fV3R5mKy/P5oIAfJpfDdXLmdjaNBBm9sCStwhy7Fd slzJBZQXyFyLDs9NizIGir+ptuPrf6WlaWWQLVKcWH0yz7B5T/JjqtRDcwtPhyyqSlfDC071iHq BuOPkeNTpQSnhRvSeWHs5GI23qhwMxN9soi5m3HQyffKQUa4ZxCtlmbf/dUhexZYI0fR2R3XiSw nJ/W0Zqvf82N0hEMYtuM7o5SszfncnhExPyR/A+SyuF7pCcx5LAZAVyL6q8BDXn0PjiT59NXlWu Yk X-Received: by 2002:a05:600c:820b:b0:477:58af:a91d with SMTP id 5b1f17b1804b1-4805ce44046mr24397115e9.5.1769347168186; Sun, 25 Jan 2026 05:19:28 -0800 (PST) Received: from xeon ([188.163.112.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48047028928sm382382215e9.2.2026.01.25.05.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 05:19:27 -0800 (PST) From: Svyatoslav Ryhel To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Svyatoslav Ryhel Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] gpu/drm: panel: add support for DSI panel used in Motorola Atrix 4G and Droid X2 Date: Sun, 25 Jan 2026 15:19:04 +0200 Message-ID: <20260125131904.45372-3-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260125131904.45372-1-clamor95@gmail.com> References: <20260125131904.45372-1-clamor95@gmail.com> 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 support for the DSI LCD panel module found in Motorola Atrix 4G or Droid X2 smartphones. Exact panel vendor and model are unknown hence panel uses generic compatible based on board where it is used. The panel has a 540x960 resolution with 24 bit RGB per pixel. Signed-off-by: Svyatoslav Ryhel --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-motorola-mot.c | 244 +++++++++++++++++++++ 3 files changed, 257 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-motorola-mot.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 35d894752688..bf4d244e7a0d 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -451,6 +451,18 @@ config DRM_PANEL_MANTIX_MLAF057WE51 has a resolution of 720x1440 pixels, a built in backlight and touch controller. =20 +config DRM_PANEL_MOTOROLA_MOT + tristate "Atrix 4G and Droid X2 540x960 DSI video mode panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select VIDEOMODE_HELPERS + help + Say Y here if you want to enable support for the LCD panel module + for Motorola Atrix 4G or Droid X2. Exact panel vendor and model are + unknown. The panel has a 540x960 resolution and uses 24 bit RGB per + pixel. + config DRM_PANEL_NEC_NL8048HL11 tristate "NEC NL8048HL11 RGB panel" depends on GPIOLIB && OF && SPI diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 3848c0d768ba..721db1e3631b 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -44,6 +44,7 @@ obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) +=3D panel-lg-lb035q0= 2.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) +=3D panel-lg-lg4573.o obj-$(CONFIG_DRM_PANEL_LG_SW43408) +=3D panel-lg-sw43408.o obj-$(CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966) +=3D panel-magnachip-d53e6ea= 8966.o +obj-$(CONFIG_DRM_PANEL_MOTOROLA_MOT) +=3D panel-motorola-mot.o obj-$(CONFIG_DRM_PANEL_NEC_NL8048HL11) +=3D panel-nec-nl8048hl11.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3051D) +=3D panel-newvision-nv3051d.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3052C) +=3D panel-newvision-nv3052c.o diff --git a/drivers/gpu/drm/panel/panel-motorola-mot.c b/drivers/gpu/drm/p= anel/panel-motorola-mot.c new file mode 100644 index 000000000000..eb1f86c3d704 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-motorola-mot.c @@ -0,0 +1,244 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include +#include +#include +#include +#include + +#include