aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-06-04 19:25:25 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-06-05 21:53:11 +0000
commitccb667c35ffdea7a2bc1304750e6b22368cd55f7 (patch)
tree8d621efea6b6500403898d1e91eed8ecbc4f093d /meta-agl-bsp/conf/include/agl_raspberrypi3.inc
parenta039cce0977ca33e4532de87fd4a1867cc7b21a7 (diff)
Fix rpi touchscreen support on master
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 <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_raspberrypi3.inc')
-rw-r--r--meta-agl-bsp/conf/include/agl_raspberrypi3.inc8
1 files changed, 8 insertions, 0 deletions
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"