Re: [PATCH 02/11] arm64: dts: qcom: sc8280xp-arcata: Enable backlight
From: Konrad Dybcio
Date: Thu May 21 2026 - 05:00:35 EST
On 5/21/26 12:26 AM, Jérôme de Bretagne wrote:
> On 5/20/26 18:40, Jérôme de Bretagne via B4 Relay wrote:
>> From: Jérôme de Bretagne <jerome.debretagne@xxxxxxxxx>
>>
>> Add backlight nodes and enable backlight so that it can be controlled
>> with the corresponding buttons found on Surface Pro Type Cover keyboards.
>>
>> The nodes are almost identical to the ones from the ThinkPad X13s with
>> a different enable GPIO for the vreg_edp_bl node.
>>
>> The difference was found by looking at the output of /sys/kernel/debug/gpio
>> on the ThinkPad X13s to see the properties of its enable gpio9:
[...]
> and ... backlight still works! It can also be enabled/disabled with:
> /sys/class/backlight/backlight/bl_power
> as expected.
>
> I have no clue why both gpio6 on pmc8280_2 and gpio6 on pmc8280c can enable and disable the backlight. Is it a common scenario?
Could it be that one of them is an ENABLE_BL pin, while the other one
enables the regulator?
Konrad