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 --- .../recipes-kernel/linux/linux-raspberrypi_%.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend') diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend index 4271926e4..ffbf791e8 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -3,6 +3,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" require recipes-kernel/linux/linux-agl.inc require recipes-kernel/linux/linux-agl-4.14.inc +# ENABLE DSI +# ported from https://github.com/k-quigley/linux +SRC_URI_append = " \ + file://dsi/0001-Add-devicetree-support-for-RaspberryPi-7-panel-over-.patch \ + file://dsi/0002-drm-vc4-Make-DSI-call-into-the-bridge-after-the-DSI-.patch \ + file://dsi/0003-drm-vc4-Set-up-the-DSI-host-at-pdev-probe-time-not-c.patch \ + file://dsi/0004-drm-panel-Backport-4.15-support-for-the-Raspberry-Pi.patch \ +" + # NOTE: Kprobes need to be disabled until linux-raspberrypi gets updated # to newer than 4.14.104 to avoid lttng-modules failing to build. SRC_URI_append = "\ -- cgit 1.2.3-korg