]> git.hungrycats.org Git - linux/commit
drm/panel: himax-hx83121a: add backlight regulator support
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>
Mon, 8 Jun 2026 16:26:22 +0000 (00:26 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 18 Jun 2026 13:53:23 +0000 (15:53 +0200)
commit98b46e693b912eef0e6d497327489113845cbd15
treed90a46c3e94cbc6f281ff7b2f74a91531eaedc21
parentae8dbbe8955d7470dd41e101b852fd1a70f62930
drm/panel: himax-hx83121a: add backlight regulator support

The backlight, when managed by the panel controller, could be powered by
an external regulator, and shutting down the regulator could power off
the backlight.

Add support for such a regulator. It's powered off when the backlight is
0 (either by setting brightness to 0 or setting bl_power), and powered
on when the backlight should be operating.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260608162622.403713-3-zhengxingda@iscas.ac.cn
drivers/gpu/drm/panel/panel-himax-hx83121a.c