aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-24 15:03:38 +0300
committerAndrei Gherzan <andrei@gherzan.ro>2020-06-24 17:01:17 +0100
commit260b89ecd1de83325c2b22b621af62ca37cb16a9 (patch)
tree333329060fbe7a600a0053c35bc4c3584125cb0b
parent770a69f18d6031404f5da92f7a841813c0c0d207 (diff)
downloadmeta-raspberrypi-260b89ecd1de83325c2b22b621af62ca37cb16a9.tar.gz
meta-raspberrypi-260b89ecd1de83325c2b22b621af62ca37cb16a9.tar.bz2
meta-raspberrypi-260b89ecd1de83325c2b22b621af62ca37cb16a9.zip
docs/extra-build-config.md: Infrared
Add instructions how to use variable ENABLE_IR for infrared support, for example with LIRC. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r--docs/extra-build-config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md
index 843247a..d92cf4e 100644
--- a/docs/extra-build-config.md
+++ b/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