Merge "dragonboard-410c: update 96boards-tools recipe"
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 28 May 2018 13:09:15 +0000 (13:09 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Mon, 28 May 2018 13:09:15 +0000 (13:09 +0000)
meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
meta-agl-bsp/recipes-kernel/linux/linux/i2c-led.cfg [new file with mode: 0644]

index b6f9604..8ccdd53 100644 (file)
@@ -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 (file)
index 0000000..f5a3819
--- /dev/null
@@ -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