devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel
@ 2024-07-15 12:15 Stephan Gerhold
  2024-07-15 12:15 ` [PATCH v2 1/4] dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01 Stephan Gerhold
                   ` (4 more replies)
  0 siblings, 5 replies; 34+ messages in thread
From: Stephan Gerhold @ 2024-07-15 12:15 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 panel and DT changes can be picked up independently. Since v2 uses the
existing "samsung,atna33xc20" compatible as fallback, the DT changes work
even without the driver changes.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
Changes in v2:
- Use fallback compatible to avoid changes in driver (Doug)
- ... this allows applying the DT change as fix, so add Fixes: tag there
- Add review tags (except Krzysztof's, since the binding changed quite a bit)
- Link to v1: https://lore.kernel.org/r/20240710-x1e80100-crd-backlight-v1-0-eb242311a23e@linaro.org

---
Stephan Gerhold (4):
      dt-bindings: display: panel: samsung,atna33xc20: Document 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      |  8 +++++++-
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts               | 17 +++++++++++++++--
 arch/arm64/configs/defconfig                            |  1 +
 drivers/gpu/drm/panel/panel-edp.c                       |  2 --
 4 files changed, 23 insertions(+), 5 deletions(-)
---
base-commit: 91e3b24eb7d297d9d99030800ed96944b8652eaf
change-id: 20240710-x1e80100-crd-backlight-632f9bf936ef

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


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

end of thread, other threads:[~2024-08-27 19:31 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 12:15 [PATCH v2 0/4] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel Stephan Gerhold
2024-07-15 12:15 ` [PATCH v2 1/4] dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01 Stephan Gerhold
2024-07-15 12:39   ` Neil Armstrong
2024-07-15 13:42   ` Doug Anderson
2024-07-15 15:31   ` Conor Dooley
2024-07-18  0:21     ` Doug Anderson
2024-07-18  6:19       ` Krzysztof Kozlowski
2024-07-18 14:45         ` Doug Anderson
2024-07-18 14:56           ` Conor Dooley
2024-07-18 14:59             ` Doug Anderson
2024-07-19 17:07               ` Doug Anderson
2024-07-19 19:26                 ` Conor Dooley
2024-07-22 15:45                 ` Doug Anderson
2024-07-15 12:15 ` [PATCH v2 2/4] Revert "drm/panel-edp: Add SDC ATNA45AF01" Stephan Gerhold
2024-07-15 12:30   ` Johan Hovold
2024-07-15 12:42   ` Neil Armstrong
2024-07-15 12:54     ` Stephan Gerhold
2024-07-15 13:01       ` Neil Armstrong
2024-07-15 13:10         ` Stephan Gerhold
2024-07-15 13:51         ` Doug Anderson
2024-07-15 13:57           ` neil.armstrong
2024-07-15 14:40             ` Doug Anderson
2024-07-15 16:39               ` neil.armstrong
2024-07-22 15:49           ` Doug Anderson
2024-08-27 15:36             ` Doug Anderson
2024-08-27 16:26               ` neil.armstrong
2024-08-27 19:31                 ` Doug Anderson
2024-07-15 13:10       ` Johan Hovold
2024-07-15 12:15 ` [PATCH v2 3/4] arm64: dts: qcom: x1e80100-crd: Fix backlight Stephan Gerhold
2024-07-15 12:33   ` Johan Hovold
2024-07-15 12:15 ` [PATCH v2 4/4] arm64: defconfig: Add CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 Stephan Gerhold
2024-07-15 12:34   ` Johan Hovold
2024-07-15 13:43   ` Doug Anderson
2024-07-29  3:58 ` (subset) [PATCH v2 0/4] drm/panel: atna33xc20: Fix the Samsung ATNA45AF01 panel Bjorn Andersson

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).