From nobody Thu Oct 2 14:27:42 2025 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 004BD35979 for ; Tue, 16 Sep 2025 02:32:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757989964; cv=none; b=lfsQ5eBKA5yht+QrQOAQj+KbRlOfsydWaKkDBzfMGYEgKWQ7numPcJ8OoKrWqWGQuoGMrTgsbfd2SabJ0U9DU5M7x0uFl/jgtDqknh5r4DAP3VMFXH3HAUjvAwjR/LQxotqCoSJoASQffyH31zOc0j802V9X0V/q0AC1TI0mnr4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757989964; c=relaxed/simple; bh=a4Xw2iLxDUzyz7eq8OF1R9c3YLE4PdzVtLs6KNJOq4E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C2PzfOXgnBM/re+qW5IM1G+lVjI0DDXkvgWOmMxS+HLp43my4WV12zaHkmfHHzP0r8cxpLBYJ2zWAjEqbhbkaZeAZvrqJGXY4AkokTVi5l2E29OiNSile6B/lPIr2tUlG4SeWc66drD2AtJvEExOjB9tIvg6o2Q4M9EPdbukhYc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=Eb2jzNPR; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="Eb2jzNPR" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1757989961; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jGHWHtxYrh7BhZTaz7WCOtU0mmIBJYnKsduPAHkKxfg=; b=Eb2jzNPRRJAGQU5mqxLFlfAK8RQsO0ZdVk/5Zayx9MnPErLjr2rjAS7rSxwHiWh3z/XoUl FUKVthXz9Sll+79o+Il7ih9O1m9DFedciGkw2123S/obSUMtOC6nXXtlejr9HUNnGMu9K3 AjY1IKGcqbFgzX8wTXcbEH+dOiPKPmiFganwzUS5Y1y4GxCuFoj84VQxpuLQHZ0CzD+lUU GaJg1UFbyd4xq5ishI7tqws+reUERqobXKP2luJs4e1Vko86Cpr4J078wB8PfSnoX6naO8 kGRoC1Gez8NhcXDK6Z7qg9qDwOge0VGABut68dvzpX29VZhqyq3srwv4M1GEtA== From: Paul Sajna Date: Mon, 15 Sep 2025 19:32:12 -0700 Subject: [PATCH v2 1/3] Update MAINTAINERS for lg,sw49410 Precedence: bulk X-Mailing-List: linux-kernel@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 Message-Id: <20250915-judyln-panel-v2-1-01ab2199fea5@postmarketos.org> References: <20250915-judyln-panel-v2-0-01ab2199fea5@postmarketos.org> In-Reply-To: <20250915-judyln-panel-v2-0-01ab2199fea5@postmarketos.org> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, David Heidelberg , phone-devel@vger.kernel.org, Amir Dahan , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1757989951; l=814; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=a4Xw2iLxDUzyz7eq8OF1R9c3YLE4PdzVtLs6KNJOq4E=; b=2NG2Va4BOC4emWOZSkySoPI75aAuqbKuwkpVOdNC3dtP7dOthFKbGd34Tlpo7RdCzG2GHs6Mb Q3/Mw+RWO0VD9rl5jOc6RyHylPENpcECSuGexoO6twFqt1kFCB4NpsJ X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT Add myself (Paul Sajna) as maintainer for lg,sw49410 Signed-off-by: Paul Sajna --- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0c1d245bf7b84f8a78b811e0c9c5a3edc09edc22..f6c7f3cd80d7db6551351432215= 049adb3a5f626 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7584,6 +7584,11 @@ T: git https://gitlab.freedesktop.org/drm/misc/kerne= l.git F: Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml F: drivers/gpu/drm/panel/panel-lg-sw43408.c =20 +DRM DRIVER FOR LG SW49410 PANELS +M: Paul Sajna +S: Maintained +F: drivers/gpu/drm/panel/panel-lg-sw49410.c + DRM DRIVER FOR LOGICVC DISPLAY CONTROLLER M: Paul Kocialkowski S: Supported --=20 2.51.0 From nobody Thu Oct 2 14:27:42 2025 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 1C046239E91 for ; Tue, 16 Sep 2025 02:32:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757989969; cv=none; b=CGkz99x2Rrf8vuRGTuKqO0+wSvKi64DuA8pDpfrS2HAP04AeN6GIUEleqWqBhyaXlNAj9koDeVLKLAKQScMdgGbSRv0RHMSx2xRuMf+TE7aKjEUqD3BwD/LwlEgSvUWcU3fJIc1v1Sy+bWUw6d2nSmY9kx25DK81eXr/gMfTy6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757989969; c=relaxed/simple; bh=x0uqPEWdTc0edL7QXXhc6DbEG8QT4LcgjJirDTCoxCg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pB7+GEyshZKOlisGhHUVYJKG0xQj1VeM5Xl6+byPSM7PQejUBBotVvPyZCUeep6FmUAtd9rEqycXLidn3jhmT6GGdhOYU/hc6MTglenus3CYOEe0bBWlw2+lvHeSswbt8MjZ01EM0mY/XsRe+LYNsHRwc/0tLCBxF/AUsFQHqM8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=l0WfkVSM; arc=none smtp.client-ip=95.215.58.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="l0WfkVSM" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1757989965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oiOCKx20vaIFqmnLmrqVV2MDQFuD7U1kdDdocFeOCic=; b=l0WfkVSMvn4Vpz2DYLitReJPuS+ytOLB/Ub7Ler0RztF5x/cWCFFVB/gjtmKLjc79p3n2J vBvm/rFCdwcXx6YHXIKpD5VlqjGI4u/oTG1AUZ+J4CijDLhe1Rb3nsuIHmPUlb0x/jaVZV elpjaGvx2cbsC+DjctFYd6Vz5IpTZi3FHZwrKyeoWqeQzc4GUGvv1feJVAXE6wMYFVh5mG LacwZ0UzqmvS0FnzbnRxOhx1XGauM4t7SOldsa8Yu4IkCqunW7EfynrQ1j5c7TrmPy/l9t Mc+8IfOXbLT8C4ti1djitawuw7KrBrCEh+Oj3WiCSRR3leELVKa95ueMTPL4Nw== From: Paul Sajna Date: Mon, 15 Sep 2025 19:32:13 -0700 Subject: [PATCH v2 2/3] drm: panel: Add LG SW49410 Panel Precedence: bulk X-Mailing-List: linux-kernel@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 Message-Id: <20250915-judyln-panel-v2-2-01ab2199fea5@postmarketos.org> References: <20250915-judyln-panel-v2-0-01ab2199fea5@postmarketos.org> In-Reply-To: <20250915-judyln-panel-v2-0-01ab2199fea5@postmarketos.org> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, David Heidelberg , phone-devel@vger.kernel.org, Amir Dahan , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1757989951; l=20338; i=sajattack@postmarketos.org; s=20250422; h=from:subject:message-id; bh=re8gv2fBP018DNrWN2yWpxBmLNcDEFjmj3RvMld4C2M=; b=+G3xxjyN/cRiZw1f91P8L2MfaU5mB5AP1rFq/+eYa/aw+j8ZZWN+dkd32JEj9H/hRssfU6E6U fhu2Ti6JJMRCd1xjLgaJl2sZ+KKqfK/If4k3fnsUls0pNUiV1g0H0/m X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=TwacvEOiRJ2P2oAdEqIDrtQTL18QS4FfcHfP/zNsxkQ= X-Migadu-Flow: FLOW_OUT From: Amir Dahan Added panel driver used by LG G7 ThinQ (judyln) Signed-off-by: Amir Dahan Co-developed-by: Paul Sajna Signed-off-by: Paul Sajna Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-lg-sw49410.c | 502 +++++++++++++++++++++++++++= ++++ 3 files changed, 516 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index cfebb08e8a62680a14a500d28decfafc2daf743a..a369e3e009de0df0226b7180d05= f8554ea743401 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -406,6 +406,19 @@ config DRM_PANEL_LG_SW43408 pixel. It provides a MIPI DSI interface to the host and has a built-in LED backlight. =20 +config DRM_PANEL_LG_SW49410 + tristate "LG SW49410 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 LG sw49410 panel. + The panel has a 1440x3120@60Hz resolution and uses 24 bit RGB per + pixel. It provides a MIPI DSI interface to the host and has a + built-in LED backlight. + config DRM_PANEL_MAGNACHIP_D53E6EA8966 tristate "Magnachip D53E6EA8966 DSI panel" depends on OF && SPI diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 714cbac830e3f0be3659f1907c5dbacef863bbd8..f7f6d232ad9c7163f328d94f446= 1fcb3379f998b 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -41,6 +41,7 @@ obj-$(CONFIG_DRM_PANEL_LINCOLNTECH_LCD197) +=3D panel-lin= colntech-lcd197.o obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) +=3D panel-lg-lb035q02.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_LG_SW49410) +=3D panel-lg-sw49410.o obj-$(CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966) +=3D panel-magnachip-d53e6ea= 8966.o obj-$(CONFIG_DRM_PANEL_NEC_NL8048HL11) +=3D panel-nec-nl8048hl11.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3051D) +=3D panel-newvision-nv3051d.o diff --git a/drivers/gpu/drm/panel/panel-lg-sw49410.c b/drivers/gpu/drm/pan= el/panel-lg-sw49410.c new file mode 100644 index 0000000000000000000000000000000000000000..781ca2b82afcd82b13f443ccb1a= 0dac29c069c3b --- /dev/null +++ b/drivers/gpu/drm/panel/panel-lg-sw49410.c @@ -0,0 +1,502 @@ +// SPDX-License-Identifier: GPL-2.0-only +// Generated with linux-mdss-dsi-panel-driver-generator from vendor device= tree: +// Copyright (c) 2025, The Linux Foundation. All rights reserved. + +#include +#include +#include +#include +#include +#include + +#include