summaryrefslogtreecommitdiff
path: root/meta-raspberrypi/docs/extra-build-config.md
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2020-06-27 08:13:56 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-06-27 08:14:12 +0300
commit4fc9e431d19fba76d604f05afd8b9f478d30f462 (patch)
treec10d3341dae23968fef480f4698270ff1e1d65b6 /meta-raspberrypi/docs/extra-build-config.md
parent84ad7c5b112283d1ccb14744025a2d2ba986412d (diff)
downloadopenbmc-4fc9e431d19fba76d604f05afd8b9f478d30f462.tar.xz
meta-raspberrypi: subtree update:39cf54c3cb..a6f1233d52
Jon Magnuson (1): packagegroup-rpi-test: resolve `wireless-regdb` conflict Khem Raj (1): linux-raspberrypi_5.4.bb: Upgrade to 5.4.47 Leon Anavi (7): lirc_%.bbappend: Fix for gpio-ir lirc: Move to dynamic-layers rpi-config: Add ENABLE_IR variable for infrared rpi-base.inc: Include modules if IR is enabled lirc_%.bbappend: Use lircd.service as in Raspbian docs/extra-build-config.md: Infrared lirc: Rename bbappend to match only version 0.10.1 M. ter Woord (1): Update layer-contents.md to include pi4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6f20c20dec1dd2fdab9e4e52dea1cdd54be4fffc
Diffstat (limited to 'meta-raspberrypi/docs/extra-build-config.md')
-rw-r--r--meta-raspberrypi/docs/extra-build-config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-raspberrypi/docs/extra-build-config.md b/meta-raspberrypi/docs/extra-build-config.md
index 843247aaa..d92cf4ee3 100644
--- a/meta-raspberrypi/docs/extra-build-config.md
+++ b/meta-raspberrypi/docs/extra-build-config.md
@@ -261,6 +261,18 @@ In order to use Pican2 CAN module, set the following variables:
See: <http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html>
+## Enable infrared
+
+Users who want to enable infrared support, for example for using LIRC (Linux
+Infrared Remote Control), have to explicitly set in local.conf:
+
+ ENABLE_IR = "1"
+
+This will add device tree overlays gpio-ir and gpio-ir-tx to config.txt.
+Appropriate kernel modules will be also included in the image. By default the
+GPIO pin for gpio-ir is set to 18 and the pin for gpio-ir-tx is 17. Both pins
+can be easily changed by modifying variables `GPIO_IR` and `GPIO_IR_TX`.
+
## Manual additions to config.txt
The `RPI_EXTRA_CONFIG` variable can be used to manually add additional lines to