From 6136e6009970859fc02477cdd37fb29a2031566f Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 7 Mar 2016 15:52:32 +0200 Subject: RPi2: add support for touch display The RPi touch display need the rpi-tf5604 devicetree to enable touch. Add it to the kernel build and enabled it in the config.txt. Update meta-raspberrypi to latest revision for the PiTFT support. Change-Id: Ibc5ba51c844bc17b541d8021a755f141a5ff2a0c Reviewed-by: Risto Avila --- conf/bblayers.conf.rpi.sample | 1 + conf/distro/include/raspberrypi2.conf | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'conf') diff --git a/conf/bblayers.conf.rpi.sample b/conf/bblayers.conf.rpi.sample index 6b12ac5..3be5ea3 100644 --- a/conf/bblayers.conf.rpi.sample +++ b/conf/bblayers.conf.rpi.sample @@ -37,6 +37,7 @@ BBLAYERS ?= " \ ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ ${BSPDIR}/sources/meta-openembedded/meta-ruby \ ${BSPDIR}/sources/meta-b2qt \ + ${BSPDIR}/sources/meta-b2qt/meta-raspberrypi-extras \ ${BSPDIR}/sources/meta-mingw \ ${BSPDIR}/sources/meta-qt5 \ " diff --git a/conf/distro/include/raspberrypi2.conf b/conf/distro/include/raspberrypi2.conf index 7e4c057..040ea9b 100644 --- a/conf/distro/include/raspberrypi2.conf +++ b/conf/distro/include/raspberrypi2.conf @@ -46,3 +46,7 @@ module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1" GPU_MEM = "256" # video camera support VIDEO_CAMERA = "1" +RPI_FT5604 = "1" + +KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb" +MACHINE_FEATURES += "pitft" -- cgit v1.2.3-54-g00ecf