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:
@@ -38,8 +38,8 @@
|
||||
/vendor/bin/hw/android\.hardware\.health-service\.rpi u:object_r:hal_health_default_exec:s0
|
||||
|
||||
# Lights
|
||||
/sys/class/backlight/rpi_backlight/brightness u:object_r:sysfs_leds:s0
|
||||
/sys/devices/platform/rpi_backlight/backlight/rpi_backlight/brightness u:object_r:sysfs_leds:s0
|
||||
/sys/class/backlight/11-0045/brightness u:object_r:sysfs_leds:s0
|
||||
/sys/class/backlight/11-0045/max_brightness u:object_r:sysfs_leds:s0
|
||||
/vendor/bin/hw/android\.hardware\.light-service\.rpi u:object_r:hal_light_default_exec:s0
|
||||
|
||||
# Partitions
|
||||
|
Reference in New Issue
Block a user