linux: kernel: add USB serial support and ACM class 81/10681/2
authorMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 22 Aug 2017 20:18:06 +0000 (23:18 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 30 Aug 2017 16:31:29 +0000 (16:31 +0000)
To allow for USB GPS devices the USB serial + ACM class need to
be enabled in the kernel.

Change-Id: I1b23b7d47bc49a3a61d5df5d964110023f91d481
Bug-AGL: SPEC-831
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10681
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend
meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg [new file with mode: 0644]

index 7915001..f5e01e2 100644 (file)
@@ -2,4 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
 
 # Extra configuration options for the AGL kernel
 SRC_URI_append = " file://can-bus.cfg \
+                   file://usb.cfg \
             "
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg
new file mode 100644 (file)
index 0000000..db2efcb
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_USB_SERIAL=m
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_ACM=m