lights: boot: use DSI panel regulator driver

* Old rpi_backlight driver is no longer used on recent kernel versions.
  Regulator driver is used for backlight instead.
* Change the backlight path and implement scaling to support the official
  Raspberry Pi 7" DSI Touch Display & Touch Display 2.
* The original Touch Display has max brightness of 255 while the new Touch
  Display 2 has 31.
This commit is contained in:
Konsta
2025-01-30 22:41:25 +02:00
parent bad22b6d33
commit 4815bb04bd
5 changed files with 34 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ disable_overscan=1
# Display panel
#dtoverlay=vc4-kms-dsi-7inch
#dtoverlay=rpi-backlight
#dtoverlay=vc4-kms-dsi-ili9881-7inch
# Graphics acceleration
disable_fw_kms_setup=1