meta-raspberrypi icon indicating copy to clipboard operation
meta-raspberrypi copied to clipboard

Add support for vc4-kms-dsi-waveshare-panel overlay

Open Romain-Donze opened this issue 1 year ago • 6 comments

Since 1a6b218d786990f461b3598250906a83fbb93aaa, https://github.com/raspberrypi/linux has add an overlay for the waveshare dsi displays. how can we add it to a yocto build? and will it work with vc4-fkms-v3d-overlay?

Because due to https://github.com/agherzan/meta-raspberrypi/commit/a6fa6b3aec36b92c3750852dd6788af9d2ce08f6. vc4-kms-v3d only works with HDMI, for the rpi display we need to change it back to vc4-fkms-v3d in /boot/config.txt

Romain-Donze avatar Jan 05 '24 10:01 Romain-Donze

For those wondering what you have to do for now to support a waveshare panel is add to local.conf

RPI_KERNEL_DEVICETREE_OVERLAYS:append = " \
    overlays/vc4-kms-dsi-waveshare-panel.dtbo \
"

RPI_EXTRA_CONFIG:append = " \n\
# Enable waveshare panel \n\
dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC,i2c1 \n\ # choose the right display
"

Romain-Donze avatar Jan 13 '24 16:01 Romain-Donze

I am happy to accept a change to add the respective dtb. Could you prepare a PR?

agherzan avatar Jan 23 '24 14:01 agherzan

What if we ask really nicely Mr @agherzan 😄

shaunmulligan avatar Apr 12 '24 09:04 shaunmulligan

@shaunmulligan That I can't refuse :) But what is the question again?

agherzan avatar Apr 18 '24 20:04 agherzan

To get the vc4-kms-dsi-waveshare-panel dtb added to meta-raspberrypi otherwise I will have to try PR it myself and you know how badly that could go 😅

shaunmulligan avatar Apr 19 '24 10:04 shaunmulligan

As a person without the respective panel, I'd be happier to get that from someone else who can also test it.

agherzan avatar Apr 29 '24 11:04 agherzan