From: Arpit Saini <arpit.saini@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Nabige Aala <nabige.aala@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/4] arm64: dts: qcom: shikra-cqm-evk: Enable display and add ili7807s panel
Date: Mon, 20 Jul 2026 17:37:25 +0530 [thread overview]
Message-ID: <6c89ef9d-3551-4b92-904c-316dbcffcfbd@oss.qualcomm.com> (raw)
In-Reply-To: <fa5bf9e0-66ec-4506-a2fa-bf1d95adf9a6@oss.qualcomm.com>
Hi Konrad,
On 7/16/2026 11:21 PM, Konrad Dybcio wrote:
> On 7/14/26 9:21 AM, Arpit Saini wrote:
>> Hi Dmitry,Konrad
>>
>> On 7/10/2026 6:09 PM, Dmitry Baryshkov wrote:
>>> On Fri, Jul 10, 2026 at 05:28:04PM +0530, Arpit Saini wrote:
>>>> Hi Konrad,
>>>>
>>>> On 7/10/2026 2:31 PM, Arpit Saini wrote:
>
> [...]
>
>>>> Normally the backlight EN pin is controlled by a backlight driver.
>>>>
>>>> However, this panel uses MIPI DCS based backlight control with no
>>>>
>>>> separate backlight driver. Since there is no driver to assert gpio91,
>>>>
>>>> we control it via the panel's pinctrl default state..
>>>>
>>>> So this is platform specific pin , we need this to enable/disable
>>>>
>>>> the backlight.
>>>
>>> Handle it from the panel driver. Also please fix your editor to prevent
>>> it from inserting extra empty lines.
>>>
>>
>> Earlier I handled it through panel driver, but this GPIO is specific to our
>> Qualcomm Daughter Card, it is not going to the panel connector.
>
> So is it an enable pin of a voltage regulator maybe? I'm having trouble
> understanding how this is all tied together, given the panel driver
> uses DCS commands to control the backlight status
>
> Konrad
No, it is not a voltage regulator enable.
GPIO91 (WLED_P1_EN) is the enable pin of the WLED driver IC on the Qualcomm daughter card.
The WLED driver is a boost LED driver that powers the backlight LEDs.
The backlight control works in two parts:
1. GPIO91 must be asserted to enable the WLED driver IC itself.
2. The panel's CABC output (a PWM signal) is connected to the WLED driver's PWM input
and controls the actual brightness.
This CABC output is driven by the DCS set_display_brightness command sent from the panel driver.
So the DCS commands control brightness via the panel's PWM/CABC output,
but the WLED driver IC needs to be enabled first via GPIO91.
Since GPIO91 is on the Qualcomm daughter card and not on the panel connector.
Dmitry suggested , it is not appropriate to model it in the panel binding.
The current approach of asserting it via pinctrl default state in the board DTS keeps it board-specific.
If you have a better suggestion for modelling this, I'm happy to follow your guidance.
SoC (ITP Baseband Card)
├── GPIO91 (WLED_P1_EN) ─────────────────────────────────────┐
│ │
└── DSI ──────────────────────────────────────────────────┐ │
│ │
┌──────────────────────────────────────────────────────────┼──┼──────────────────────────────────┐
│ Qualcomm Display Daughter Card │ │ │
│ │ │ │
│ ┌─────────────────────────────────┐ │ │ ┌──────────────────────┐ │
│ │ DLC DLC0697 Panel (ILI7807S) │◄────────────────────┘ │ │ WLED Driver IC │ │
│ │ │ | │ │ │
│ │ DCS set_display_brightness() │ └──►│ EN │ │
│ │ │ │ │ │ │
│ │ ▼ │ │ │ │
│ │ CABC output ───────────────────┼───────────────────────────►│ PWM │ │
│ │ │ │ │ │
│ │ │ │ LED outputs ────────┼──► Backlight LEDs
│ └─────────────────────────────────┘ └──────────────────────┘ │
│ │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
Thanks,
Arpit
next prev parent reply other threads:[~2026-07-20 12:07 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 6:04 [PATCH v2 0/4] arm64: qcom: dts: Add display support for Qualcomm Shikra Nabige Aala
2026-07-06 6:04 ` [PATCH v2 1/4] arm64: dts: qcom: shikra: Add MDSS display subsystem Nabige Aala
2026-07-06 12:59 ` Konrad Dybcio
2026-07-06 6:04 ` [PATCH v2 2/4] arm64: dts: qcom: shikra-cqm-evk: Enable display and add ili7807s panel Nabige Aala
2026-07-06 6:33 ` Krzysztof Kozlowski
2026-07-06 8:52 ` Arpit Saini
2026-07-06 9:19 ` Krzysztof Kozlowski
2026-07-06 13:48 ` Dmitry Baryshkov
2026-07-06 15:33 ` Krzysztof Kozlowski
2026-07-06 10:03 ` Konrad Dybcio
2026-07-10 9:01 ` Arpit Saini
2026-07-10 11:58 ` Arpit Saini
2026-07-10 12:10 ` Konrad Dybcio
2026-07-10 12:47 ` Dmitry Baryshkov
2026-07-10 12:57 ` Konrad Dybcio
2026-07-10 12:39 ` Dmitry Baryshkov
2026-07-14 7:21 ` Arpit Saini
2026-07-16 17:51 ` Konrad Dybcio
2026-07-20 12:07 ` Arpit Saini [this message]
2026-07-20 13:05 ` Dmitry Baryshkov
2026-07-21 9:05 ` Arpit Saini
2026-07-21 22:27 ` Dmitry Baryshkov
2026-07-28 5:44 ` Arpit Saini
2026-08-28 8:24 ` Arpit Saini
2026-08-28 9:35 ` Arpit Saini
2026-07-10 12:49 ` Dmitry Baryshkov
2026-07-10 13:06 ` Arpit Saini
2026-07-20 13:06 ` Dmitry Baryshkov
2026-07-06 6:04 ` [PATCH v2 3/4] arm64: defconfig: Enable ILI7807S DSI panel driver Nabige Aala
2026-07-06 6:04 ` [PATCH v2 4/4] arm64: dts: qcom: shikra-cqs-evk: Enable display and add ili7807s panel Nabige Aala
2026-07-06 6:34 ` Krzysztof Kozlowski
2026-07-06 8:54 ` Arpit Saini
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=6c89ef9d-3551-4b92-904c-316dbcffcfbd@oss.qualcomm.com \
--to=arpit.saini@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nabige.aala@oss.qualcomm.com \
--cc=robh@kernel.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.