* 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.
46 lines
534 B
Plaintext
46 lines
534 B
Plaintext
# Kernel
|
|
arm_64bit=1
|
|
kernel=Image
|
|
|
|
# Ramdisk
|
|
initramfs ramdisk.img followkernel
|
|
|
|
# Audio
|
|
dtparam=audio=on
|
|
|
|
# Camera
|
|
camera_auto_detect=1
|
|
start_x=1
|
|
|
|
# CPU
|
|
arm_boost=1
|
|
|
|
# Display
|
|
disable_overscan=1
|
|
|
|
# Display panel
|
|
#dtoverlay=vc4-kms-dsi-7inch
|
|
#dtoverlay=vc4-kms-dsi-ili9881-7inch
|
|
|
|
# Graphics acceleration
|
|
disable_fw_kms_setup=1
|
|
dtoverlay=vc4-kms-v3d
|
|
|
|
# I2C
|
|
#dtparam=i2c_arm=on
|
|
|
|
# I2S
|
|
#dtparam=i2s=on
|
|
|
|
# Serial console
|
|
enable_uart=1
|
|
|
|
# SPI
|
|
#dtparam=spi=on
|
|
|
|
# USB
|
|
dtoverlay=dwc2,dr_mode=peripheral
|
|
[cm4]
|
|
dtoverlay=dwc2,dr_mode=otg
|
|
[all]
|