All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Stephan Gerhold <stephan.gerhold@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Jessica Zhang <quic_jesszhan@quicinc.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Douglas Anderson <dianders@chromium.org>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	Abel Vesa <abel.vesa@linaro.org>
Subject: Re: [PATCH v2 3/4] arm64: dts: qcom: x1e80100-crd: Fix backlight
Date: Mon, 15 Jul 2024 14:33:58 +0200	[thread overview]
Message-ID: <ZpUXNmrs2nfViUeP@hovoldconsulting.com> (raw)
In-Reply-To: <20240715-x1e80100-crd-backlight-v2-3-31b7f2f658a3@linaro.org>

On Mon, Jul 15, 2024 at 02:15:39PM +0200, Stephan Gerhold wrote:
> The backlight does not work correctly with the current display panel
> configuration: 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 by the
> panel-samsung-atna33xc20 driver for sc7180-trogdor-homestar.
> 
> Switch the panel in the DT to the new compatible and make two more changes
> to make it work correctly:
> 
>  1. Add the missing GPIO for the panel EL_ON3 line (EDP_BL_EN on CRD and
>     enable-gpios in the DT).
>  2. Drop the regulator-always-on for the panel regulator. The panel does
>     not seem to power off properly if the regulator stays on.
> 
> Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> This can be applied as fix for 6.11 since the driver works as-is with the
> fallback compatible. If so, the defconfig patch should ideally also go
> there to ensure people actually have the driver enabled.

Verified that I can change the brightness setting and that the backlight
comes on again after being turned off (e.g. at suspend):

Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>

  reply	other threads:[~2024-07-15 12:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZpUXNmrs2nfViUeP@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=abel.vesa@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quic_jesszhan@quicinc.com \
    --cc=robh@kernel.org \
    --cc=stephan.gerhold@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.