aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorYordan Dimitrov <y.dimitrov.14@gmail.com>2018-05-22 13:41:01 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-05-22 12:50:22 +0000
commit29b1adc0e0e9bd2bf7c13bdb5dc3f19a0e9cb06a (patch)
tree52dce5482d708460df3928a8a854f17ab39c22e5 /meta-agl-bsp
parent8be767a00d15e0c6413da31926263897a3958263 (diff)
Enable I2C-TINY-USB and LEDS-BLINKM drivers for AGL demonstrator
To extent the demonstrator we need to support an I2C adaptor and RGB LED. Change-Id: I1816ee9a7acf4699d1639b4954422df9ca8f452e Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux-agl.inc3
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/i2c-led.cfg3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
index b6f9604a5..8ccdd53af 100644
--- a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
+++ b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
@@ -30,6 +30,7 @@ SRC_URI_append = "\
file://drm.cfg \
file://btusb.cfg \
file://usbaudio.cfg \
+ file://i2c-led.cfg \
"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/can-bus.cfg"
# Enable support for usb video class for usb camera devices
@@ -45,6 +46,8 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/drm.cfg"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/btusb.cfg"
# Enable USB audio devices
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/usbaudio.cfg"
+# Enable I2C and LED for demontrator
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/i2c-led.cfg"
# Enable required features for the agl-netboot feature
SRC_URI_append_netboot = " file://nbd.cfg \
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/i2c-led.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/i2c-led.cfg
new file mode 100644
index 000000000..f5a3819c7
--- /dev/null
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/i2c-led.cfg
@@ -0,0 +1,3 @@
+# enabling I2C and LED for demonstrator
+CONFIG_I2C_TINY_USB=y
+CONFIG_LEDS_BLINKM=y \ No newline at end of file