1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

update DPI LCD overlay setting

This commit is contained in:
DanyLE
2023-07-09 22:00:04 +02:00
parent 03e95d013c
commit 4b237be52c
3 changed files with 11 additions and 6 deletions

View File

@ -49,7 +49,12 @@ KERNEL_DEVICETREE:append = " overlays/vc4-kms-dpi-generic.dtbo overlays/dpi24.dt
RPI_EXTRA_CONFIG += "${@['','\n\
dtoverlay=vc4-kms-DPI-28inch \n\
dtoverlay=vc4-kms-dpi-generic \n\
dtparam=hactive=480,hfp=26,hsync=16,hbp=10 \n\
dtparam=vactive=640,vfp=25,vsync=10,vbp=15 \n\
dtparam=clock-frequency=32000000 \n\
dtparam=hsync-invert,vsync-invert,pixclk-invert \n\
dtparam=rgb666-padhi,rotate=270 \n\
dtoverlay=waveshare-28dpi-3b-4b \n\
dtoverlay=waveshare-28dpi-3b \n\
dtoverlay=waveshare-28dpi-4b \n']['${RPI_USE_wS_28_DPI_LCD}' == '1']}"
@ -63,6 +68,6 @@ dtoverlay=ads1115-i2c-gpio,cha_enable,cha_cfg=4,cha_datarate=7,cha_gain=1 \n\
'
# extra kernel CMDLINE_RNDIS option
CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 "
# CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 "
# accept license for wifi and bluetooth firmware
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"