Re: [PATCH] arm64: dts: qcom: x1e80100-medion-sprchrgd-14-s1: Add PWM backlight
From: Konrad Dybcio
Date: Tue Oct 13 2026 - 06:20:38 EST
On 10/3/26 2:00 PM, Sérgio Ferreira via B4 Relay wrote:
> From: Sérgio Ferreira <ferreira@xxxxxxxx>
>
> The eDP panel (CSOT MNE007ZA3-2, IPS LCD) cannot have its brightness
> set over eDP AUX. With no backlight phandle on the panel, panel-edp
> falls back to the DP AUX backlight, which registers dp_aux_backlight
> with a maximum brightness of 0, so brightness control has no effect.
[...]
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pwms = <&pm8550_pwm 3 500000>;
> + enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
> +
> + pinctrl-0 = <&edp_bl_pwm>;
Let's also add a pin state config for the enable GPIO (read back from
firmware is fine - I assume it'll be func=normal/power-source=1/
input-disable/output-enable)
Konrad