[PATCH 0/5] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel

From: Stephan Gerhold
Date: Wed Jul 10 2024 - 13:08:51 EST


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@xxxxxxxxxx>
---
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@xxxxxxxxxx>