* [PATCH v2 00/11] Pixel 3 XL display panel support
@ 2026-09-24 14:01 David Heidelberg via B4 Relay
2026-09-24 14:01 ` [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure David Heidelberg via B4 Relay
0 siblings, 1 reply; 4+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-09-24 14:01 UTC (permalink / raw)
To: Dzmitry Sankouski, Neil Armstrong, Jessica Zhang, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Abel Vesa
Cc: Petr Vorel, dri-devel, devicetree, linux-kernel, linux-arm-msm,
phone-devel, David Heidelberg, stable
Introduce Samsung AMB630QY01 (Google Pixel 3 XL) panel.
Includes refactoring and improvements to the S6E3HA8 DDIC which is also
used by Samsung S9 (Korea version).
Patches 9 and 11 switch to the new compatibles, so they must not reach
the qcom tree before the driver patches land.
Signed-off-by: David Heidelberg <david@ixit.cz>
---
Changes in v2:
- Rebase on top of next-20260923.
- Cosmetic fix s/Cosmtetic/Cosmetic/ fix in the commit msg. (Neil)
- Link to v1: https://patch.msgid.link/20260920-crosshatch-panel-v1-0-de6e9512da96@ixit.cz
---
David Heidelberg (11):
dt-bindings: display: panel: s6e3ha8: Adjust to reflect the DDIC and panel used
dt-bindings: display: panel: samsung,s6e3ha8: Add AMB630QY01 panel
drm/panel: s6e3ha8: Really assert reset on the failure
drm/panel: s6e3ha8: Introduce AMB577PX01 panel compatible
drm/panel: s6e3ha8: Prepare for supporting multiple panels
drm/panel: s6e3ha8: Correct the polarity logic within
drm/panel: s6e3ha8: Assert reset GPIO in unprepare
drm/panel: s6e3ha8: add Samsung AMB630QY01 (Google Pixel 3 XL) panel
arm64: dts: qcom: sdm845-samsung-starqltechn: Update panel compatible
arm64: dts: qcom: sdm845-google: Move panel pins into common
arm64: dts: qcom: sdm845-google-crosshatch: Add display panel
.../bindings/display/panel/samsung,s6e3ha8.yaml | 46 +++-
.../arm64/boot/dts/qcom/sdm845-google-blueline.dts | 18 --
arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 16 ++
.../boot/dts/qcom/sdm845-google-crosshatch.dts | 60 +++-
.../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 4 +-
drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 304 +++++++++++++++++----
6 files changed, 367 insertions(+), 81 deletions(-)
---
base-commit: 3d7783543c2646af69ad65825e810060494bea21
change-id: 20260801-crosshatch-panel-06ce8a69fb7f
Best regards,
--
David Heidelberg <david@ixit.cz>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure
2026-09-24 14:01 [PATCH v2 00/11] Pixel 3 XL display panel support David Heidelberg via B4 Relay
@ 2026-09-24 14:01 ` David Heidelberg via B4 Relay
2026-09-24 20:00 ` Petr Vorel
2026-09-29 7:43 ` Krzysztof Kozlowski
0 siblings, 2 replies; 4+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-09-24 14:01 UTC (permalink / raw)
To: Dzmitry Sankouski, Neil Armstrong, Jessica Zhang, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Abel Vesa
Cc: Petr Vorel, dri-devel, devicetree, linux-kernel, linux-arm-msm,
phone-devel, David Heidelberg, stable
From: David Heidelberg <david@ixit.cz>
Due to incorrect implementation 0 == asserted, thus when driver fails it
needs to assert reset.
Minimal fix for stable; the polarity convention is corrected properly
later in this series.
Fixes: 779679d3c1640 ("drm/panel: Add support for S6E3HA8 panel driver")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
index 078523df48860..835121b322f4a 100644
--- a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
+++ b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
@@ -179,17 +179,17 @@ static int s6e3ha8_amb577px01_wqhd_prepare(struct drm_panel *panel)
ret = regulator_bulk_enable(ARRAY_SIZE(s6e3ha8_supplies), priv->supplies);
if (ret < 0)
return ret;
mipi_dsi_msleep(&ctx, 120);
s6e3ha8_amb577px01_wqhd_reset(priv);
ret = s6e3ha8_amb577px01_wqhd_on(priv);
if (ret < 0) {
- gpiod_set_value_cansleep(priv->reset_gpio, 1);
+ gpiod_set_value_cansleep(priv->reset_gpio, 0);
goto err;
}
drm_dsc_pps_payload_pack(&pps, &priv->dsc);
samsung_dsi_test_key_on_lvl1(&ctx);
mipi_dsi_picture_parameter_set_multi(&ctx, &pps);
samsung_dsi_test_key_off_lvl1(&ctx);
--
2.55.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure
2026-09-24 14:01 ` [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure David Heidelberg via B4 Relay
@ 2026-09-24 20:00 ` Petr Vorel
2026-09-29 7:43 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2026-09-24 20:00 UTC (permalink / raw)
To: david
Cc: Dzmitry Sankouski, Neil Armstrong, Jessica Zhang, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Abel Vesa, dri-devel, devicetree,
linux-kernel, linux-arm-msm, phone-devel, stable
Hi all,
LGTM.
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Kind regards,
Petr
> Due to incorrect implementation 0 == asserted, thus when driver fails it
> needs to assert reset.
> Minimal fix for stable; the polarity convention is corrected properly
> later in this series.
> Fixes: 779679d3c1640 ("drm/panel: Add support for S6E3HA8 panel driver")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
> index 078523df48860..835121b322f4a 100644
> --- a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
> +++ b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c
> @@ -179,17 +179,17 @@ static int s6e3ha8_amb577px01_wqhd_prepare(struct drm_panel *panel)
> ret = regulator_bulk_enable(ARRAY_SIZE(s6e3ha8_supplies), priv->supplies);
> if (ret < 0)
> return ret;
> mipi_dsi_msleep(&ctx, 120);
> s6e3ha8_amb577px01_wqhd_reset(priv);
> ret = s6e3ha8_amb577px01_wqhd_on(priv);
> if (ret < 0) {
> - gpiod_set_value_cansleep(priv->reset_gpio, 1);
> + gpiod_set_value_cansleep(priv->reset_gpio, 0);
> goto err;
> }
> drm_dsc_pps_payload_pack(&pps, &priv->dsc);
> samsung_dsi_test_key_on_lvl1(&ctx);
> mipi_dsi_picture_parameter_set_multi(&ctx, &pps);
> samsung_dsi_test_key_off_lvl1(&ctx);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure
2026-09-24 14:01 ` [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure David Heidelberg via B4 Relay
2026-09-24 20:00 ` Petr Vorel
@ 2026-09-29 7:43 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-29 7:43 UTC (permalink / raw)
To: David Heidelberg
Cc: Dzmitry Sankouski, Neil Armstrong, Jessica Zhang, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Abel Vesa, Petr Vorel, dri-devel,
devicetree, linux-kernel, linux-arm-msm, phone-devel, stable
On Thu, Sep 24, 2026 at 04:01:31PM +0200, David Heidelberg wrote:
> Due to incorrect implementation 0 == asserted, thus when driver fails it
> needs to assert reset.
>
> Minimal fix for stable; the polarity convention is corrected properly
> later in this series.
We do not do fixes for stable. We do development which MAKES sense. If
you change this line here and in the next commit you change it again,
then this dance makes NO SENSE.
Fix it properly.
Backports to stable are something completely different than mainline.
NAK
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-29 7:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 14:01 [PATCH v2 00/11] Pixel 3 XL display panel support David Heidelberg via B4 Relay
2026-09-24 14:01 ` [PATCH v2 03/11] drm/panel: s6e3ha8: Really assert reset on the failure David Heidelberg via B4 Relay
2026-09-24 20:00 ` Petr Vorel
2026-09-29 7:43 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox