aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorCharlie Garner <charlie@akao.au>2026-09-24 00:55:05 +0930
committerBjorn Andersson <bjorn.andersson@oss.qualcomm.com>2026-09-25 08:15:02 -0500
commitd132100e3866ec820eb55884d9b77900805e8ee1 (patch)
tree31f850f37ffa936c6e11bc614b63172902be161d /scripts/Makefile.thinlto
parentarm64: dts: qcom: sm8650: Add initial Valve Deckard devicetree (diff)
arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: add PWM backlight
The panel on the Dell Inspiron 14 Plus 7441 (AUO B140QAX01.H) cannot have its brightness set over eDP AUX. DPCD 0x702 has BRIGHTNESS_PWM_PIN_CAP set but BRIGHTNESS_AUX_SET_CAP clear: 0x701 GENERAL_CAP_1 = 0x9b 0x702 BACKLIGHT_ADJUSTMENT_CAP = 0x91 bit1 (AUX_SET) clear 0x721 MODE_SET = 0x00 control mode: PWM pin With no backlight phandle on the panel, panel-edp falls back to drm_panel_dp_aux_backlight(). drm_edp_backlight_supported() only tests 0x701 bit0, which is set, so a backlight device is registered - but drm_edp_backlight_probe_max() returns early when !aux_set, leaving max at 0: systemd-backlight: dp_aux_backlight: Maximum brightness is 0, ignoring device. gnome-shell: Backlight is unusable because the maximum brightness 0 is bigger than minimum brightness 0 Brightness is driven by PWM instead. UEFI already configures the pad and leaves it running, which is how the panel is lit before Linux touches it: gpiochip0 (c42d000.spmi:pmic@0:gpio@8800, PMK8550): gpio5 : out low func3 vin-0 pull-down 10uA push-pull medium and the corresponding LPG is present but disabled: pmic@0/pwm qcom,pmk8550-pwm status=disabled This matches the PWM wiring of the HP OmniBook X14 (x1-hp-omnibook-x14.dtsi), so describe it the same way: enable pmk8550_pwm, add the pinctrl state for gpio5 func3, and give the panel a pwm-backlight. The panel keeps its existing enable-gpios and edp_bl_en pinctrl, so power sequencing is unchanged; only brightness control is added. Keep this in the Inspiron DT rather than x1-dell-thena.dtsi. The Latitude 7455 shares the dtsi but was submitted with a different panel (BOE NE14QDM) and a working backlight without any PWM description, and this has only been tested on the Inspiron. Label the panel in the dtsi so the board DT can attach the backlight, as the ThinkPad T14s LCD variant does. Signed-off-by: Charlie Garner <charlie@akao.au> Link: https://lore.kernel.org/r/20260923152506.44989-2-charlie@akao.au Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions