devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel
@ 2024-07-10 17:04 Stephan Gerhold
  2024-07-10 17:04 ` [PATCH 1/5] dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01 Stephan Gerhold
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Stephan Gerhold @ 2024-07-10 17:04 UTC (permalink / raw)
  To: Neil Armstrong, Bjorn Andersson, Konrad Dybcio
  Cc: Jessica Zhang, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Douglas Anderson, dri-devel, devicetree, linux-kernel,
	linux-arm-msm, Abel Vesa, Johan Hovold

The backlight of the Samsung ATNA45AF01 panel used in the Qualcomm X1E80100
CRD does not work correctly with the current display panel configuration
and drivers: It works after boot, but once the display gets disabled it is
not possible to get it back on. It turns out that the ATNA45AF01 panel
needs exactly the same non-standard power sequence as implemented for
ATNA33XC20 in the panel-samsung-atna33xc20 driver.

Move the ATNA45AF01 panel from the generic panel-edp driver to the
panel-samsung-atna33xc20 driver and fix the panel configuration in the
x1e80100-crd device tree to make the panel work correctly.

The DT changes are included here for reference and easier testing, I assume
Bjorn or Konrad will pick them up after the DRM panel changes were applied.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
Stephan Gerhold (5):
      dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01
      drm/panel: samsung-atna33xc20: Add compatible for ATNA45AF01
      Revert "drm/panel-edp: Add SDC ATNA45AF01"
      arm64: dts: qcom: x1e80100-crd: Fix backlight
      arm64: defconfig: Add CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20

 .../bindings/display/panel/samsung,atna33xc20.yaml      |  6 +++++-
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts               | 17 +++++++++++++++--
 arch/arm64/configs/defconfig                            |  1 +
 drivers/gpu/drm/panel/panel-edp.c                       |  2 --
 drivers/gpu/drm/panel/panel-samsung-atna33xc20.c        |  1 +
 5 files changed, 22 insertions(+), 5 deletions(-)
---
base-commit: 523b23f0bee3014a7a752c9bb9f5c54f0eddae88
change-id: 20240710-x1e80100-crd-backlight-632f9bf936ef

Best regards,
-- 
Stephan Gerhold <stephan.gerhold@linaro.org>


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-12 10:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 17:04 [PATCH 0/5] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel Stephan Gerhold
2024-07-10 17:04 ` [PATCH 1/5] dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01 Stephan Gerhold
2024-07-10 17:35   ` Doug Anderson
2024-07-10 19:03     ` Stephan Gerhold
2024-07-10 19:16       ` Doug Anderson
2024-07-12 10:11         ` Stephan Gerhold
2024-07-11  6:27     ` Krzysztof Kozlowski
2024-07-11  6:25   ` Krzysztof Kozlowski
2024-07-10 17:04 ` [PATCH 2/5] drm/panel: samsung-atna33xc20: Add compatible for ATNA45AF01 Stephan Gerhold
2024-07-10 17:35   ` Doug Anderson
2024-07-10 17:04 ` [PATCH 3/5] Revert "drm/panel-edp: Add SDC ATNA45AF01" Stephan Gerhold
2024-07-10 17:35   ` Doug Anderson
2024-07-10 17:05 ` [PATCH 4/5] arm64: dts: qcom: x1e80100-crd: Fix backlight Stephan Gerhold
2024-07-10 22:07   ` Konrad Dybcio
2024-07-10 17:05 ` [PATCH 5/5] arm64: defconfig: Add CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 Stephan Gerhold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).