From nobody Thu Apr 23 11:57:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AC79F3BF689; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; cv=none; b=T4gGfrgI8afvjhL/bZ0z5QVL27J8tcxPlFrz2tLfmJK2ndHh4bw6UworQK+Pkp7aqOH/zKFOj5b4GnoP+hZ5lx8fKySa4LwuarWLUnqUtHdKFRy0bdwAyHBRhvTVGAkeLEfNaMeTlZ7XQFsJ1m2qeiVKMcl4HZpITKiTJN4/9/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; c=relaxed/simple; bh=K0QCVo5ALBEs41KyVKfs3ycfbrBMm7RYQg6EZ0+LXo4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HhiGobVRAOdjrDOHf/o7F08FgE/t2aq31JKcUF/QLcfmFUlN5WAaHhwlr8PZLqXOsnZQ35v9goI7NPUS/xnjTkMKVIjwK9p8Ukv3v9z9MGs3CPUiLamH2c0ejQKCBvPfLVetQdXZ9mbDJSzKqKFdd1JR7d2HjbgyL4Vjq4OZRIM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KK6t8DWH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KK6t8DWH" Received: by smtp.kernel.org (Postfix) with ESMTPS id 744CEC2BCB4; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776851322; bh=K0QCVo5ALBEs41KyVKfs3ycfbrBMm7RYQg6EZ0+LXo4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=KK6t8DWHmcFYX4wiUVsAC3k0Q3r9NDpTmNnRfMNTtZUIi09ETzUDkLoSAVV3mvUWy URff3qFfdV/tI/Y4VEDdfPSPylhgGAarET2bC9UGfm6APbDhJ6HXm4a5wIpowIlBUL LRF374sP8oOKaUFbxQTwuxq7YyRtYB3Mw5yFg9qs9trbMPvcaW4XxB4y5IQoDGi9ZL btdCQ8b/EreHhTT5qAeMH05kGk3t9MN8F+xPwhLnZaBSqFCc9KDptAADZAWUx/DYDp Q/XP6deG9dl9Mz3FtUTbU4Isq4xoIVoHTijdBdx2WTXL6qyiHZGuFUtelPKOE+3t4J 9yNI0nbmMRCnQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6193FF9B601; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 22 Apr 2026 11:48:35 +0200 Subject: [PATCH RESEND 1/4] drm/panel: Clean up SOFEF00 config dependencies 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: <20260422-panel-clean-up-kconfig-dep-v1-1-d825e9ffe911@ixit.cz> References: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> In-Reply-To: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dmitry Baryshkov , Dzmitry Sankouski , Sam Ravnborg Cc: Casey Connolly , marijn.suijten@somainline.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1740; i=david@ixit.cz; h=from:subject:message-id; bh=DAaFafWyDcSH7f6w40haps2stWSTD0Bd9lNBAMYDas4=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp6Jl4vQxNPIa0rU/KQP11LJVDeZX6wN19aQBsQ jkhxCkWHDWJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaeiZeAAKCRBgAj/E00kg couuEACDd5cliA9KTLX42F5dxYaZoR6tPflbuebpOuI925j0NbdcHGOYCavC9H2jQ4pjB9v7gKV M+GzdOsVpIhjoDfN7EyTfN1b6KJDehb1PZRBGZ93bIwMGSaiPoqPuKYs+eFKH9P1WIfSOgax5Ws j1vUbOb49LjLfe+NKMD8LlEk9fol675/SzFBvOWBL+G1luWHRRlbMyprC65HJodBRTTFZctSqNd FXgwRpyVAwU7++19MXnzbUGsw1kIjjDuIxslUb3gqCarG0PYiyi4QEAHeROxGGAg9gfZqzjwFRa E8jg+/Y9xDBXgOAIFFRFQwWE8gEETpArRKzlyllEesNRXCIJMC5tFM9Bfqdo8Ii4fJVMBWPm60Y pbrt3NsoZPpadFgIyCXpSC+wlMqWlVfvd2tAgn14cNQCzG8NQ+ebrFGppPAkqVeHPB3xWPYsxFG OFOl9SwOlSr8pha8knjKjaocdacxRZ/W0KmyIG0S7xwgfjOMAhy4PZmRsi9bEHeGtYHpE8cgH/U REkL15FhNvLk7AeKzqf5woyXpjAQlHJk2mdKbqhmG+x55IVkqWvr5XWcqdn1XOCL+pS8S8yU/76 VSyS9829MrvruWRqAFTmVLMwN1NB93OBIFGhHSZvBjW4ZoOKFDgXA8Zbly0kklma/Fsr55JRM/z mNA0Yb08eO58BKw== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: Marijn Suijten As per the config name this Display IC features a DSI command-mode interface (or the command to switch to video mode is not known/documented) and does not use any of the video-mode helper utilities, hence should not select VIDEOMODE_HELPERS. In addition it uses devm_gpiod_get() and related functions from GPIOLIB. Fixes: 5933baa36e26 ("drm/panel/samsung-sofef00: Add panel for OnePlus 6/T = devices") Reviewed-by: Neil Armstrong Reviewed-by: Casey Connolly Reviewed-by: David Heidelberg Signed-off-by: Marijn Suijten --- drivers/gpu/drm/panel/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 79264f7bbd0e2..2fd3222ba2e3b 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -904,20 +904,20 @@ config DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01 help Say Y here if you want to enable support for Samsung AMS561RA01 panel, which uses Samsung's S6E8AA5X01 controller. The panel has a ~5.6 inch AMOLED display, and the controller is driven by the MIPI DSI protocol with 4 lanes. =20 config DRM_PANEL_SAMSUNG_SOFEF00 tristate "Samsung SOFEF00 DSI panel controller" + depends on GPIOLIB depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE - select VIDEOMODE_HELPERS help Say Y or M here if you want to enable support for the Samsung AMOLED panel SOFEF00 DDIC and connected panel. Currently supported panels: =20 Samsung AMS628NW01 (found in OnePlus 6, 1080x2280@60Hz) =20 config DRM_PANEL_SEIKO_43WVF1G --=20 2.53.0 From nobody Thu Apr 23 11:57:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AC6A43BF685; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; cv=none; b=TTefgy7xTh5WETCXwtPgZK2LLWNIWaa94OpApZzKSbO8QvrGey6bMuy5Xx8V9vTUjxi1eS5bvRfYjhUv8ZKrCm2k1jcV3d7lEcj0KN+NJXNokxuDd7aBBPe7YyCox/YUA6np1nq6woxzy4NH2Bo7Tm0c7/WDIXoDsz66VJ74ycA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; c=relaxed/simple; bh=08E5ptp45hu+A0H4XUoisT3SzTcHnJ4oRsrCTwjFrdk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NtSuusPoCUhfhZnHRO/ede2dBg9gAu1OfetprY/Oi5S8ux8OwinUYpyqaQ6SGCIwKSR00Qg41HBs45htngBYszZHYy3KUBbe9UTyqazuBzAWwku7o1uzLWoVBX1HKlTLYm9ppvS1VnZLLMBPepbGlnSensUTaiii1Z49RmNT0tw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mnePCkJj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mnePCkJj" Received: by smtp.kernel.org (Postfix) with ESMTPS id 7DE18C2BCB3; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776851322; bh=08E5ptp45hu+A0H4XUoisT3SzTcHnJ4oRsrCTwjFrdk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mnePCkJj43XLBTwzn0Ju+e7ncNLlF9wb69NzZYQxnDdxlGcTCR1FYUJKNqF4++vuq nygD/ckGbIUCf/cEF18E1TUL4K0idYQFIz7AWjY/dqLgYGO/wVrR9ccJ8fWTP6Uoxm kx5lR+j42Z2aTvEKdux0QUvPTmcA3gXNXLaMY94s7fPYJMpBKNThLHh46LZvFogTuF bfTIm243jGH81c+Y20L9Ag4CbEDnM/gFsXqBJWLzGMzfTV6k5fQ286GA72LfZ2oKTD u67bN3FZ2Feh2e0HfwZ7V5K96syQ8sWGtuOnw7OkceYN5CU0B/1ZBQWKGe6Lx5vxSg S3nqr/Lgnu7dg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70B3FF9B604; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 22 Apr 2026 11:48:36 +0200 Subject: [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 config dependencies 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: <20260422-panel-clean-up-kconfig-dep-v1-2-d825e9ffe911@ixit.cz> References: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> In-Reply-To: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dmitry Baryshkov , Dzmitry Sankouski , Sam Ravnborg Cc: Casey Connolly , marijn.suijten@somainline.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1478; i=david@ixit.cz; h=from:subject:message-id; bh=QCqlyKwxaTuh0MEQOecgcLXACzmZnqmhpNcpsr+X/mk=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp6Jl4VvzN9Tmhv0fiX0jap40QPW/cGjhZ9zewV O9tyI+pLeCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaeiZeAAKCRBgAj/E00kg ckS4EACuyuy0CX7BUwMsewxbajohgYJsNQytKfCFdtWG17RdIDwzDK/nIKAYIa7wm+upxG19qfP izncmG6VvlHD3a5vIWybDj2FfR0KATxxA21Yb9t8a+r17jgogH2kIT49p3oVxQEKMPvLag9X+MU fBc683jLs95octNXJdZesv4QQBJd7o97lIBam3IvnhndM+eATYHJYDD8MKt5jkzh3EQ2FnnpuhF sxqheIs35Gpl3MMqy7FYM+7GBpSB6+ggf5zLjEWs8LGIjPgkEfhetTiSjsvukN8gy+rMVYR55zy /pOrKZtaYvr3MEKkbTIGSaqDbi9YjuWBzCt+PsWyXUp3IF9gBAj/QT/ce/C/9bHPASaehZSAF0Y 6XlonVRXcQF7Esj9s/a9jUfwEPcBwupOCN6vL1hhAek7L3jRH2JyNLEw7Tfn0dK66RRXr+//tTe pnbj0+3bYpx5yCBpWkjORfmgZocxVfaAUzgUq4p7XWjgMvmezCgaDU4DTL3nPraBIQwJORwryzj AoDQ/VEVEHmjhrS5wxsk+fR8WigRGyQf33B6pARi/JvkFs5rSRuUyCaEKTX6M3djf2zIBOxuDvU rWWK6qtHDY4PVz3ASfCL1DaNhRIzfGL8v8WmoFsSZJWkJKE4oP2sxIO1q4w9NVjhbZUVkoGVVis YJD3NlTzb0ZPSNg== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg As per the config name this Display IC features a DSI command-mode interface (or the command to switch to video mode is not known/documented) and does not use any of the video-mode helper utilities, hence should not select VIDEOMODE_HELPERS. In addition it uses devm_gpiod_get() and related functions from GPIOLIB. Fixes: 88148c30ef26 ("drm/panel: Add Samsung S6E3FC2X01 DDIC with AMS641RW = panel") Signed-off-by: David Heidelberg --- drivers/gpu/drm/panel/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 2fd3222ba2e3b..a81ea7755c03f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -825,20 +825,19 @@ config DRM_PANEL_SAMSUNG_S6D7AA0 tristate "Samsung S6D7AA0 MIPI-DSI video mode panel controller" depends on OF depends on BACKLIGHT_CLASS_DEVICE select DRM_MIPI_DSI select VIDEOMODE_HELPERS =20 config DRM_PANEL_SAMSUNG_S6E3FC2X01 tristate "Samsung S6E3FC2X01 DSI panel controller" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE - select VIDEOMODE_HELPERS help Say Y or M here if you want to enable support for the Samsung S6E3FC2 DDIC and connected MIPI DSI panel. Currently supported panels: =20 Samsung AMS641RW (found in the OnePlus 6T smartphone) =20 config DRM_PANEL_SAMSUNG_S6E3HA2 --=20 2.53.0 From nobody Thu Apr 23 11:57:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B5DAF3C0621; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; cv=none; b=UF7MOhpCpBCBaoLuQ2G4nI0wkxzIFGkJ57pkbDVyAyVnrv94i377mTIVSoRfqkzEvQAbCUMWkW46fq4n0SsYnmwKskTuB2jbyEt8tajfExgiIDH2/1KCu/AYWX2crnCKUMqAwKhYXlBZQ3x7633FummkJrDi0fdoO92nykr64VE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; c=relaxed/simple; bh=dEStAOYvvTqP4eZwbeu8ORXA+TxQlnJ46bVxEwIV+/M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N+r8aaj8ES3qq831O8ErOSBbMMqFoA11xzGlFnFPNLN9gE9XvcKRf65GYdpc/MUhRWO0Ta1DWVHIXPChxL1RECpkfJrmnbR2YkMi+WlXdS/hQcetODx3sx3uaytX6iGDg9SM4QrBhU+QTZCWjuf5Dygbn2+ba3lnYE/lCm2LSK4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qoFz7fog; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qoFz7fog" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8CFE9C2BCB8; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776851322; bh=dEStAOYvvTqP4eZwbeu8ORXA+TxQlnJ46bVxEwIV+/M=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=qoFz7foguRFAeG3cyQlS1m3t2+25J5B7wzYAlDX2Mol3YT6vlKMmhzy85JNqHZMKi idac5xA8VyU+McWBOfr6OHpO8rI/PRP6DLyYGL2pc1Vd4OwQGG8WH+fC3cMeoJlVon aKcZWz760K79GZTRTlHAgKBcxMhUyG6fgDd8Q4SqD+ZxNi+NaCi+efFMJxhWpmlKuT M2a3VeYAyqgIcfX03Y7OpVMjAVSdkbLlhelgRY4/T6Qiybb5hHZaQHR1x0TMwJTrgR rzvfZmUt27LCMHUtEncnMM2z1PiBXUFJDGVdcgVD8Buq2o0NJRfz+7pFAycYGQGfry Fq4uFe4BN7OzQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 811A5F9B5F5; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 22 Apr 2026 11:48:37 +0200 Subject: [PATCH RESEND 3/4] drm/panel: Clean up S6E3HA2 config dependencies and fill help text 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: <20260422-panel-clean-up-kconfig-dep-v1-3-d825e9ffe911@ixit.cz> References: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> In-Reply-To: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dmitry Baryshkov , Dzmitry Sankouski , Sam Ravnborg Cc: Casey Connolly , marijn.suijten@somainline.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1666; i=david@ixit.cz; h=from:subject:message-id; bh=6btRlHpzFWcpsPVnKzj/ASpL7mxJeb/wvSMA84mBejw=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp6Jl4Yj7VBbvMjvojVvl+CxxCBLgHAW9g3nU3Z ElNpVGBBXeJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaeiZeAAKCRBgAj/E00kg cs/VEACSzK8B/mOtJAB8GVBdcF4dDL1JH8JUOVbrc4eQbDruTr9/S8+n4IOTVA1Vdu+pjStQm84 /7Gjh/bOZjf3/VdmhMZn/0AnBvwViXU1WbrwWN19UySL31Ahfw9MoYFact0jRn/M0NwJqYuwUpc ehrWi8pXTc8cIkEQI+v/KvGihbaD1F11asRvPg8Ga8QwNqAjeOb+WcBoqffmUv01DpDjhiiGAEe faUKFDLIRXsA1i9BYcCRY/D+/zsGFsLfSC2gcFS0/lv5Bvmv8Dq4p5Zv/lE2zxRtB5eniZf85nY gboqq2ifR7rZkKZ5V+3aZSwmgQKl5YM1Ux/PQH7vDAjTzXj++Jh9a879E/T8uPCpS95Vz8FJ1jC u6ylOCky7PSy0oZF9kzueYi9xmix3/5KjJrXpBisSUgifYFmPocPiNVxPbsDHq7PpjiiUzzEBlM fuPR0edzLtFv6u64A0+mRgcVLBswqyLQwgTueNB0kq2sj44FrUFrr2Jz1qX56dtNpK7HbYaxP7o MQNxAp9MI9kyKuo4URGfVGqnHaa91QPROsaZqHqjMuUV7sGSUfBJdcRxViJy1KxMBjQ56LVxW4p /vMRPTCeV2YQ1RU7d7sm5ftZL9mfHEjIRgxtAx+CgKTtV3VBmadXxl3mQ/fzeSWOECajKOG09nn V1mvxs83l+BYabQ== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg As per the config name this Display IC features a DSI command-mode interface (or the command to switch to video mode is not known/documented) and does not use any of the video-mode helper utilities, hence should not select VIDEOMODE_HELPERS. In addition it uses devm_gpiod_get() and related functions from GPIOLIB. Fixes: 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver") Signed-off-by: David Heidelberg --- drivers/gpu/drm/panel/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index a81ea7755c03f..4e7b4808f6e7c 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -844,21 +844,27 @@ config DRM_PANEL_SAMSUNG_S6E3HA2 tristate "Samsung S6E3HA2 DSI video mode panel" depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE select VIDEOMODE_HELPERS =20 config DRM_PANEL_SAMSUNG_S6E3HA8 tristate "Samsung S6E3HA8 DSI video mode panel" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE select DRM_DISPLAY_DSC_HELPER - select VIDEOMODE_HELPERS + help + Say Y or M here if you want to enable support for the + Samsung S6E3HA8 DDIC and connected MIPI DSI panel. + Currently supported panels: + + Samsung AMB577PX01 (found in the Samsung S9 smartphone) + =20 config DRM_PANEL_SAMSUNG_S6E63J0X03 tristate "Samsung S6E63J0X03 DSI command mode panel" depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE select VIDEOMODE_HELPERS =20 --=20 2.53.0 From nobody Thu Apr 23 11:57:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BC9C43C0636; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; cv=none; b=Cv+z5o6Su/KyLrC4GkIelksPkqbrjtEdfsMyvUurnn9d3yTM7pkh39/eKuXLH8w8fcAmkelkiYqoYGub4dgrHTq7VrUlzUpBGtPFSHVrPhRI80N86gDnM1Y4EA/97xbL/9u4/LhEvGNL+pTkVhblP/HC+JtMqGYHxGlB3ZxTaN8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776851322; c=relaxed/simple; bh=DpZCKZE+rfT1AbndPVJGdc7LuCv/ALyUgKn5uPD43Y0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ejEVsC5XEC6BfmOmDFJy1sZrbYUOqt6PsbuBNAJPZnafAOccOzEAveLIAgpOn3GDw8VObBPwx6dUGK7LCypEGTwN5B+UpX+BOOSU/b58qKwg+IuNOZ+aSy3lusM1YS9MBPKMKaieiJLhw+uu++HFDEbH4v9CUJDpb5ACjzm9SL8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jptyPDK8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jptyPDK8" Received: by smtp.kernel.org (Postfix) with ESMTPS id 99927C2BCC4; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776851322; bh=DpZCKZE+rfT1AbndPVJGdc7LuCv/ALyUgKn5uPD43Y0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jptyPDK8UyKmc/9lnx4O1mfLNnGuoJdIARmspM28GXTbKSpEMXI7g8ZjWJubjGi2u lKUqDPEi+AtiqipGu9p91zKQA5Rd1KHbpy05kcdO3kTbuGwByuwWxRiCgTrgU5hgp7 JuI6e/5Bog0LaC18sWS21XF9AZLCLN3lqnhHwpU7l4kjRGm4XXfOF6fktcyMBq3t1q ng8TKOQxFAB7/Fycb5+X4gwr3XooOpfHzDMgGpkx5lpoZzXvFeeS+EM6Qrz+ZYjIok F9sWrxHyY3y8TRGKsIeF4nh3IRZ7jvpNCaDmLDD7ggV+laO5M2XKAfMOqZzdMnBAg2 eNrNJ3832h9ng== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91912F9B602; Wed, 22 Apr 2026 09:48:42 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 22 Apr 2026 11:48:38 +0200 Subject: [PATCH RESEND 4/4] drm/panel: Enable GPIOLIB for panels which uses functions from it 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: <20260422-panel-clean-up-kconfig-dep-v1-4-d825e9ffe911@ixit.cz> References: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> In-Reply-To: <20260422-panel-clean-up-kconfig-dep-v1-0-d825e9ffe911@ixit.cz> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dmitry Baryshkov , Dzmitry Sankouski , Sam Ravnborg Cc: Casey Connolly , marijn.suijten@somainline.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3466; i=david@ixit.cz; h=from:subject:message-id; bh=ZBiRe+gQ0qF5gTizCozkxDh2BdDwt4NwCy4NcwkIA/Y=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp6Jl4kCY/HgJI146RXhILETPAjE/tuZPSMXgms ECWjlvmXBCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaeiZeAAKCRBgAj/E00kg cpZwD/9vZ9FucYKgFYXr3tHHRj8yMP/0ETa0QOo7hASX8YXgej+JZ3N4UId5QbXPCN5OLceCYcr VqgKEtobr+IxcM6ylugM2DGgmODrx/rIBgBiSGWr5SO7UsSeZuBFUvQorv7bHPVqN5Umtp6kTEH CChaxNd2J5E/H+tntOwhx6/ujnUPPoI1GUgOZyWXuPr2VS5+/xInliCQMmW71e0e72tJphclkQc QrOsdes9sVs9N0/pGp5VF/0Fexe3dpMX4PUim18treuc+NXPy4FzsEfNRdr8LJJl84XpT6xJ3Ea by+iuMu2tq4MzSHfSfnNtZ37akBouhC6IXqbqiEYC/JnSKbX71ZLfsWe3dGIN4X7Hgt297D90t9 9Mh6l7l4EWsEcgK9oy5CXxQZ71ElO5sPiwD2VdL1nX06t9DB489HowVWW9BKQ9J0pKDaLvE5Nzw pYJNC1KtB1wo0YwHEAmYfbNLP/1sId6MksL/Ewbrf9YHyAtK2p0nGguP4JXXZs+qH6wuk6cva1P pi72s4ciJyc2ZZQibC4jP6H9cwlZ+dhK7vwEw21uJYnf5SdRivXrYt/PAr2Tn/EGAm89srG+RIY 1HnazOJvAIkL+NY2D85TKLC0mWSTIioa5KRXKGcj09gycqeMrkPTfRcbOTgCMWg04kt+DRivUZW aSDByIPcFYz/hIA== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg These panels used on sdm845 devices are using GPIOLIB functions, ensure it's enabled. Signed-off-by: David Heidelberg --- drivers/gpu/drm/panel/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 4e7b4808f6e7c..3e819b4b23962 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -102,17 +102,17 @@ config DRM_PANEL_BOE_TV101WUM_LL2 depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to support for BOE TV101WUM-LL2 WUXGA PANEL DSI Video Mode panel =20 config DRM_PANEL_EBBG_FT8719 tristate "EBBG FT8719 panel driver" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for the EBBG FT8719 video mode panel. Mainly found on Xiaomi Poco F1 mobile phone. The panel has a resolution of 1080x2246. It provides a MIPI DSI interface to the host. =20 @@ -427,17 +427,17 @@ config DRM_PANEL_LG_LG4573 depends on OF && SPI select VIDEOMODE_HELPERS help Say Y here if you want to enable support for LG4573 RGB panel. To compile this driver as a module, choose M here. =20 config DRM_PANEL_LG_SW43408 tristate "LG SW43408 panel" - depends on OF + depends on OF && GPIOLIB 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 sw43408 panel. The panel has a 1080x2160@60Hz resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host and has a @@ -531,27 +531,27 @@ config DRM_PANEL_NOVATEK_NT36523 depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for the panels built around the Novatek NT36523 display controller, such as some Boe panels used in Xiaomi Mi Pad 5 and 5 Pro tablets. =20 config DRM_PANEL_NOVATEK_NT36672A tristate "Novatek NT36672A DSI panel" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for the panels built around the Novatek NT36672A display controller, such as some Tianma panels used in a few Xiaomi Poco F1 mobile phones. =20 config DRM_PANEL_NOVATEK_NT36672E tristate "Novatek NT36672E DSI panel" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Novatek NT36672E DSI Video= Mode LCD panel module. The panel has a resolution of 1080x2408 and uses 24 b= it RGB per pixel. =20 config DRM_PANEL_NOVATEK_NT37801 @@ -1177,17 +1177,17 @@ config DRM_PANEL_VISIONOX_R66451 select DRM_DISPLAY_DSC_HELPER select DRM_DISPLAY_HELPER help Say Y here if you want to enable support for Visionox R66451 1080x2340 AMOLED DSI panel. =20 config DRM_PANEL_VISIONOX_RM69299 tristate "Visionox RM69299" - depends on OF + depends on OF && GPIOLIB depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Visionox RM69299 DSI Video Mode panel. =20 config DRM_PANEL_VISIONOX_RM692E5 tristate "Visionox RM692E5" --=20 2.53.0