From ccb667c35ffdea7a2bc1304750e6b22368cd55f7 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 4 Jun 2019 19:25:25 +0200 Subject: Fix rpi touchscreen support on master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We seem to miss a few bits that changed between kernel 4.9 and kernel 4.14 regarding the 7'' touchscreen. One addition is the rpi-backlight.dtbo which we also need to use in our create-combined-dtb recipe for CI use. We also seem to require https://github.com/raspberrypi/linux/pull/2693#issue-217750943 . Thanks to Scott Murray for the help digging through this. v2 and v3: add devicetree changes v4 and v5: fix name of dtbo v6: move append to machine include - we need it as a global var v7: add to config.txt for sdcard boot case Bug-AGL: SPEC-2465 Change-Id: I2bb3cd974b74a790292e1f36ffdca034928e0bca Signed-off-by: Jan-Simon Möller --- meta-agl-bsp/conf/include/agl_raspberrypi3.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-agl-bsp/conf/include/agl_raspberrypi3.inc') diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc index 298cacd56..2e5f6fc01 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc @@ -25,6 +25,14 @@ IMAGE_FEATURES_remove = "splash" # Build updatable image. Only takes effect when sota.bbclass is inherited DISTRO_FEATURES_append = " sota" +# Add overlays for 7inch touch +# https://github.com/k-quigley/linux/commits/rpi-4.14.y +RPI_KERNEL_DEVICETREE_OVERLAYS_append = "\ + overlays/rpi-backlight.dtbo \ + overlays/rpi-7inch.dtbo \ +" + + # Create WIC images to write to SD cards. WKS_FILE = "sdimage-raspberrypi.wks" AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum" -- cgit 1.2.3-korg