From nobody Thu Jun 11 04:29:23 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 29E7930CD9E; Tue, 5 May 2026 13:53:43 +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=1777989223; cv=none; b=bubfpo/r1UfiXwQqAGVPaT5xVpNdKSrDfb1lSC9+UuCDlO07cil2Zo6h7Ba+jR7becZP2oGuMBTVr+TvKojSkXGo9QxiQ+/Mb8VO2Vx0/0ioeyMBET1DPdxEnmEXQxKwN5HhACW07IlVtGwnwmzFscCf4glILr4SpfOqKtJP/ME= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777989223; c=relaxed/simple; bh=mC6wlA1gmKWuqXf2SGLFMrrIqUF0N65NZG2jchAVO3I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=onT1gAVDgK18NVNqxTSyeBYQ2KZScZFLDv5jWW1RhUcvAWlvPnmb9B46U6gjjooWp3BeeCv1oJbO6XUWviUYFRvyBZQcxei9xiRTiBUc/4sf9S9fgXSU3ExysTVL3f8xmzw89tdRPBl6LMC98CtKgQWEDrSNNRdTywHCoH2J34Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FIMsCFwE; 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="FIMsCFwE" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0AF49C2BCC7; Tue, 5 May 2026 13:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777989223; bh=mC6wlA1gmKWuqXf2SGLFMrrIqUF0N65NZG2jchAVO3I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FIMsCFwEKKmHQetNWz0kXmFWv93uXI2hAtGk01C50DQf+cMPgfftYEOwBe1aCafJE jiyrYzpwdHx/5uUi/strfg7obzbp9Svi1VlBpN6jMKSv80vDp67IlebLf0vdKTpFfI 2hJNnZlA7Iojnp8q05E/XRoZ4EysJh822pwcTZqUoIKb9Jmt4Lvn6hO/dU9Nb0KdVp MJagR3eC3oo/JBbfRr9FWUHKHtyun0+tAahgt+1vzMwIaN3miHXJmTtDsgCws8sv1j SJO4CfeE1U0d81ofnL3l42J7NANAenRzsJtSv2JmAXBzq6SoHTv+gmDois2F65UzJz Iq4BDxbj3EoOw== 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 F3391CD3436; Tue, 5 May 2026 13:53:42 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 05 May 2026 15:53:40 +0200 Subject: [PATCH v2 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: <20260505-panel-clean-up-kconfig-dep-v2-1-9cc31d6e6919@ixit.cz> References: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@ixit.cz> In-Reply-To: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@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=1680; i=david@ixit.cz; h=from:subject:message-id; bh=TVGOFZIIfQs7jOp2zryQfUMRnfUQK6EtJZ6mq42pgvA=; b=kA0DAAgBYAI/xNNJIHIByyZiAGn59mWg904dRVwsSoZ2pmLahuq2VvOjkEQLPq3qQyTcohEUl YkCMwQAAQgAHRYhBNd6Cc/u3Cu9U6cEdGACP8TTSSByBQJp+fZlAAoJEGACP8TTSSByAncP/R6y rXp3lXzYCRzCEjocs7PTfuDH6KuHywwvH0C34lPGnnlGMmk4Mr4BjQTP1r2DDre/fp/l4bhcebD ET4dCz2PlhvU3bvQfBtktPykIfBtcxbCM4x4xSD1uiteT//9uSWgccD5i3kr8WYh2hdSYf5nlFF IIHxkBqUSDrzai9PrCkhrJZjViZoU13Z1XSwDnK+3dAce/pM8DM112e3j0VSo2Bb9sSihs8PBGd 8kvEn1JjT0WNA42JFqw61Uc26SMzAjMcykkdyyJzw0A2ukmRy5bpsdY41DT4OrW8DwdbiPKiOSL t0C6FKJFxM0o8sN+n4UAhk0T4UlAOmH+wHUqCpEwDRrLfedwCzwdsR9E2Vk/TdAqz5Rm3Kpjr/7 /jG6BM/J8MoCMpI2mjKk0dv58AUrci/ww8s6UuWCf2v4/c3xAWtv5xnoAklsyW2o58RYfGWiCIO dCyU2uAdkYwIvDjQfsJ6nRGWJyVGltwfUwx+nG7AOf6cMR/X6g+8YVuz2fFy4SK+o+8RIbRNClN M6YYu9p2hqadIuVG9ZSQbu3J9FdXo+eiVHL1y4R7wiUfzfXa1jq49bYiTcX7bNgtFxlmilSJR+g K8vPSQNPRN9W2h+WoN/1WjCWhdGu51EDCaCUX5gMvtKVVi25Flzp2poSQquBCKoPciCoLPcLvBE Ykvzl 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 d6863b28ddc55..627b839ac9edb 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -976,20 +976,20 @@ config DRM_PANEL_SAMSUNG_S6E8FC0 S6E8FC0 DSI controller and connected panel. Currently supported panels: =20 M1906F9 (M1906F9SH or M1906F9SI), 6.09 inch 720x1560, found in the Xiaomi Mi A3 smartphone (xiaomi-laurel). =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 Jun 11 04:29:23 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 695B847ECEF; Tue, 5 May 2026 13:53:43 +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=1777989223; cv=none; b=NDFeoAhzCHXrE/8Vudf5vvK8cfTqXXW3ogm1CZInIg0gvheLfzVZ06b2oydprJ+TX4+JVm3A4v1oUyQJm+K44xPkT9GSMrLSwpYSOPPH1rLW1K3s1yarVQJ2bJWcwUQVrn0361AwLMYDzfE/d3M2FMy0YA7HWGraOVpemwE38s0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777989223; c=relaxed/simple; bh=//Y+/r+/tM8UGYOTCqVNHTEEgnX1Rpm29wI2eQHBetw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gRNxBgpl5faleGkbDYWuwZVlX4Gl9tkRBMRmvRxM3gIwh2Zz3i7OuX18XodtrnKOakk7URNtq0luj7HNAuvIu9jnG5ZqXQkHfg79kqmEqg8aolzAsKg4kajs4iRWHVU6x6NHLbs0nSDfAHCSRnmgW13z1dGZ/yHiHONZ44BsTLo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lTLOv2yU; 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="lTLOv2yU" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1BDFBC2BCB9; Tue, 5 May 2026 13:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777989223; bh=//Y+/r+/tM8UGYOTCqVNHTEEgnX1Rpm29wI2eQHBetw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=lTLOv2yUz8v292NnimV79h6sbGH5FzoJOgGNZ51bhOG6JrXSGjrRj5fqC8K/7dgMC MORH32ZWn+c2pvsdu55pqqTJpQXUsWbHG/pHbsEEnssMTophdURB9m8nn0madunDKa br06Hy7Ai/PxdhQs2yeiOFwH0ZS7aq3K1SwdUPDceZ2zwbjeF+WF0cAdsrrgpREKyL 8zr4Md2zEaS4S70bqsHtzf0O382cf0OUXykCBsHNohanvwENDEnKLsdhq634crQKav U/whTeMZd5gS48xgAEVw5TJ/r2QKzNLYEycyzJ1MKfY5QDKf0mSKkKfPGZfeO7VPZR MgB2ww9nH7HEg== 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 108A8CD343F; Tue, 5 May 2026 13:53:43 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 05 May 2026 15:53:41 +0200 Subject: [PATCH v2 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: <20260505-panel-clean-up-kconfig-dep-v2-2-9cc31d6e6919@ixit.cz> References: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@ixit.cz> In-Reply-To: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@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=1470; i=david@ixit.cz; h=from:subject:message-id; bh=tMPycBU9bYA9m9HbJGQQMSogaUvweOSqPEkrM2y7OiM=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp+fZlIjuwo12NBe88aqBKlnXnMhUAVO+Xg/BS6 e5F5cMbs+iJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCafn2ZQAKCRBgAj/E00kg cpyfEADRF3qMUJ/VAns8ufTXnAt7hJtg1BJasyriXpoNW8SIxEdpMtGfdssrYrfU1dbWEh66nNs 9aep64SF2TdrybA+YErRVBCFsHhAwufkleyaUch39yHLXbEbQMxZjWqQCydPWQp4Rz9tn5cz7zE jeZregN2VXZB5JTwij38m7JZyOh8XB7DTNnHsePJ3C2TF+o3B+KNUsndFzcXyu2tLpRkZqsp9ZK OKI5RQTqVIr+EhOSrvNdc0ygdeIO/Mdb2u+mqhOTXFzU4OiX0Q9lMV19ZowE+tcHLxou9vH/9ml JJWTczh9HU7bPWCR3JeDbkKiqDtJzlKo9MCEX4M4wFyQq5oLEoJczM8ujB480wSDG/LF1HMItGm hZp2glUL7CNqEQFQsL8tG5FSDG3r8WPZjzxaiqA5bWp1n48gDxl/sdbSDLchFucwGAd/2UTUuWh +pnmczotsRLBMDtVk5UmV6KgqRcgyjXnp4N4SGk8EC28MjgLtPLNLNDzsdA9HHpolf1GN/RVyW2 18gDVd20Af25HAuCCwmuuFvc0btybkxENLF/ht8Q2u6aupvxWhv2VspYDB9DOkT95f4eNcQj8ZH tQfd6wLTRftt2gXO6D/L5Ks0ho9LAQdWAnLUDmQ6xz9ypVy4mpDjNQsu+6l3Th1PYfkDYs5NJB2 MzkUSnCkPVAjJBA== 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 Reviewed-by: Neil Armstrong --- 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 627b839ac9edb..813380ca76117 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -884,20 +884,20 @@ 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 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 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 Jun 11 04:29:23 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 4E80E47DFB8; Tue, 5 May 2026 13:53:43 +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=1777989223; cv=none; b=QXMYh9klJwOMYIgJRBSdrBxdvHYTNxMn5bIhqxoDhQFm2VqFjHFXQ2KpLv2x4n/+MST0DexongiUMMJkO/vVZuBhCCMda8n45MeXY3TghHANm0ue7yJGHeQfKEEq7/DEZ/K0Tb/xi36Yiopv81C2LF0j9T+VZAKlwwkqPQGzzKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777989223; c=relaxed/simple; bh=WJLW1LIBFRlns54JhZuKAzNjilqRJNlCoxN2hCz5D+c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JIFe5HwiBCpXaefY8PuxhreGc23X88Z96Qf2Ks9DJYAP0GGstAvP7rWHlavyZtpupwrUFQDON9CcDuR1K5kvcyAy1AgLR2iLyi8i1sGWdhrIwGgToN4z00Wps5sywOt8MnSM4QXsCF3m6UCZrhtXi65XSsbAae4LifmSPWiHvaw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yzr6ZnFS; 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="Yzr6ZnFS" Received: by smtp.kernel.org (Postfix) with ESMTPS id 29D98C2BCFA; Tue, 5 May 2026 13:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777989223; bh=WJLW1LIBFRlns54JhZuKAzNjilqRJNlCoxN2hCz5D+c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Yzr6ZnFS863lFhr+fM+WNCQAW5SUe16zpHrUooQje0Iuu4HBN6zvH9+Ql4UAxVy+S 3P3yWEGhtg0At8Ktpbkyo6wwf8cd/JYksESwklUZWFr0xVnu7ofrZApNOf52gqLsq+ rYoS54syGOl6MHn3XwdmCaFWzg/Mi7pZH8Q7Sj1EG6W3NlmOdiIePxJgvrhjTiVoF2 tDbWXaMgPd1Avn/3GJH/Tvcs3jaohZGEFoaVYQP6IahLFs03CjytrEOR3tLwEp2DX9 ilq6Cd9FAxgxvRKwq+K8wabDhN8Ml9UXU9hwpGjY/cnwPkUbODhC2R0Q5fN3rozPBK 3WtzXqwN87+rA== 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 20B30FF8855; Tue, 5 May 2026 13:53:43 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 05 May 2026 15:53:42 +0200 Subject: [PATCH v2 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: <20260505-panel-clean-up-kconfig-dep-v2-3-9cc31d6e6919@ixit.cz> References: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@ixit.cz> In-Reply-To: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@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=1657; i=david@ixit.cz; h=from:subject:message-id; bh=kaTc3CFnkJzzXMWx8bermuEVEdbEt+t1LKTOg/OEgqQ=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp+fZlZuFsQpcrrhCiCZQPl5lR5ffQgn5kiiG4L Tn5g0ph4uuJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCafn2ZQAKCRBgAj/E00kg ckxyD/42mOAxQtMxFcc5olDd9cUMwA+teThsvrzosP6epTv4ngLYB+bfUvq2A+mQAarpIBFxxxA DIdRnq+9OeIVBUk5VCRIwwMU2I6g03/6tu8nun6wEYEb87ikLJD0k5OQAYU7woQl8Zq6y2COP// 2Gxe+Ve8lYF5zB5NBL7+YnzA1O12Ap2N7FzS30w27N0lrewLAITgGRpzxmWgtP2jp5RsDZ+gQSX NDr5hXsPFQ4oM5i0Hy4TEOnaX4jradVJ6FDbJv3h/Z1CBsavbVj3XFxtIQB02/aVjq0wKHnUb6U X2mgsORWfOqbfbTn3acFNVS+ikF/A56O3HPltpBibI0r/9tBiv2NzqfECjlQCQ9Qh/eiDlgrsBq TWfidQ3cWmH2ZlwcbXpO1mAR/1dkPMo3WkvUS6sujca5HOHJlQj9ELP9DbfrKHbHTCyw3wHCy7+ OC5iTXPS6pWk/ck+6qVEfCvlukKeDDLC4xjRaez7qZA0+OZgvyPrySH1vR0xIo+9g939ddRXsmA QgqQ0q/L8c7qG4S7Q/ldRynGbM87ChyiuDFn2FspuIv6KJ0KZ/5nalANOFTci1cSnLAevdzjc65 3WO9lKwItZTHBkuU75MXiHEnswELuEffJ9RqLbGEMDxAygYyv97Z0xJ04fPWG7+O3zHbuBHcMcK 3Caugx9mvZ/bqsg== 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 Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 813380ca76117..9360297ee99e5 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -904,21 +904,28 @@ 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 GPIOLIB depends on OF 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 Jun 11 04:29:23 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 6964A47ECF3; Tue, 5 May 2026 13:53:43 +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=1777989223; cv=none; b=uPIJs1Gk0h0V5BUFykxdUIJQeji8yqUNiWhVpCs9Fbf7kC4kUexGsa6Jx7d46Y8+Thw3UwrkT0WMoTiNHWIpd9cC9fowuJ91pnHbm/K3lc6nE55pedQrGQV2BPcW7bG6bvZ1mpE6LiN63jbHlG/cFrW2550QnbztTSek3BnYlY4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777989223; c=relaxed/simple; bh=goSukybPO2VDrABblia7ZggbeS16zEwr/pw3N8kfc1k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XOxL9knI8PGdV0M38g0WPmjk/tdqgYELaRp2jTtErUWswRK1WRQHtZlSt2NLrJ5S6dCELUj//tXPUvprnC+liSHbzWxk1nTlnmKAGz5X7D0fQCZyaRqfFNvmGhqvVn1jZnm/yuzlU4qt9acChOs0TvmFpahYewpEeyq3uTQQd/w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zs9LnOnI; 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="Zs9LnOnI" Received: by smtp.kernel.org (Postfix) with ESMTPS id 38357C2BCF4; Tue, 5 May 2026 13:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777989223; bh=goSukybPO2VDrABblia7ZggbeS16zEwr/pw3N8kfc1k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Zs9LnOnICQSqPq8AzN6yb8egUNzLPy/NDepnNS1Klc+4RBggx18xL/HxfKEU/regj fEjpj7cWfR1ZVO2GBC9OnrjFFTVEYbOL4MzSELcgjIBW1INh0LgFkpkZ+vui5AMAjV M5t4uJhEBxHpODRFQ7eJk5RceaYWkpEEr7ZC7ujNxXELy0/tZNoo0dpoybkmQKd2cO OfaKxTeXBwr1lPNbUaP4/caqyb67wtnEXBl6O2BTm0lGiyHhTZiDSOikPAmOEM7f1e TLuvwTode754KBMccKoE+5Uf7vC+6CcudbfW88XOEhZyECrmH/t+dUPGhJbANNpmef Y6hSekfSUE7+g== 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 31C6ECD3427; Tue, 5 May 2026 13:53:43 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Tue, 05 May 2026 15:53:43 +0200 Subject: [PATCH v2 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: <20260505-panel-clean-up-kconfig-dep-v2-4-9cc31d6e6919@ixit.cz> References: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@ixit.cz> In-Reply-To: <20260505-panel-clean-up-kconfig-dep-v2-0-9cc31d6e6919@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=4731; i=david@ixit.cz; h=from:subject:message-id; bh=Uigl/kqj5rg3YP60cQ5j5/+HMEkyA3xJf42f3JZNrHs=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBp+fZlyaQuvXQbusf8IyJixRXPJ5fbXXpDrMbnm WEEjb+CGWCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCafn2ZQAKCRBgAj/E00kg cg/GD/wNeiS8CeFlaYhKFdyQxx/iJc3ykfSdMPBmUFrLrVM4jypAnoNV0dtC40xSrXzd1HRhUPD NNGfYdimvm9gk0rMucf/arx9Tv+3w7GzDbXCfoYT07puf/4uk0WOWVoC5NUf3gCYo8slZb1UPT7 jp8xZj5bXLpDXiYB/RAAftOKcpulqH33lxpqfuLCH2IquMNwyq6UilgzFwN/7AhGVnLhZC0cWcx 6IEcT4W6wNWtoan4wOCPHIgN8i/6VtXI4hbHMtqpw0jV6KZ7rLwh6kmWC7Fz+SxN+wfkCDswd52 5jrZjbbaHw+j9V2HSfbSapkR806O1No+6xQTfcYLtJr/A5dPs6Q9ahNinmGyauZ6gt6HkHtFOMw Z7xImDSpB7McVvifuS2iBibvsKUdwVKH4N++8NjLnto2YRlbUa7MVUP/t4+aPZDXPPUyc9A4duo 8D4pr3ZCwc716WDlqTqAvzTrfeW7frfmxgzDGlDoOloteY+s49URNft2qoWdO9vLLjLlwOOAEr4 i3wEw6E6EiFEi7aM3RTk4K7Zmai3701dgbCWhOMSKkRD8q/f1Se1NqemzFAb7IVOW3Dnx5WqVKO 7vSakmikq7pRGQz8vh42qo7i4HhI6G6lx4YI1KQBbiZBhm+X8YbH6pQNVcen1c7R6QOEn7TdRvu 0iJD7VMlBegkrfg== 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 Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 9360297ee99e5..268b45d4b82f5 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -102,16 +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 GPIOLIB depends on OF 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. @@ -339,17 +340,18 @@ config DRM_PANEL_JADARD_JD9365DA_H3 depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Jadard JD9365DA-H3 WXGA MIPI DSI panel. The panel support TFT dot matrix LCD with 800RGBx1280 dots at maximum. =20 config DRM_PANEL_JDI_LPM102A188A tristate "JDI LPM102A188A DSI panel" - depends on OF && GPIOLIB + depends on GPIOLIB + depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for JDI LPM102A188A DSI command mode panel as found in Google Pixel C devices. The panel has a 2560=C3=971800 resolution. It provides a MIPI DSI inter= face to the host. =20 @@ -454,16 +456,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 GPIOLIB 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 sw43408 panel. The panel has a 1080x2160@60Hz resolution and uses 24 bit RGB per @@ -579,26 +582,28 @@ 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 GPIOLIB depends on OF 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 GPIOLIB depends on OF 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 @@ -726,17 +731,18 @@ config DRM_PANEL_RAYDIUM_RM692E5 select DRM_DISPLAY_DSC_HELPER select DRM_DISPLAY_HELPER help 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_RM69380 tristate "Raydium RM69380-based DSI panel" - depends on OF && GPIOLIB + depends on GPIOLIB + depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Raydium RM69380-based display panels. =20 This panel controller can be found in the Lenovo Xiaoxin Pad Pro 2021 in combination with an EDO OLED panel. @@ -1251,16 +1257,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 GPIOLIB depends on OF 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 --=20 2.53.0