From f58f5c7c6be3129e6526a832dae0174ec6133e55 Mon Sep 17 00:00:00 2001
From: Sebastian Panceac <sebastian@resin.io>
Date: Thu, 26 Jul 2018 13:04:28 +0200
Subject: [PATCH] linux-mainline: Enable drivers for CP210x usb-serial
 converters

Signed-off-by: Sebastian Panceac <sebastian@resin.io>
---
 CHANGELOG.md                                                 | 1 +
 .../recipes-kernel/linux/linux-mainline_%.bbappend           | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f14cc9..c634619 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
 Change log
 -----------
 
+* linux-mainline: Enable drivers for CP210x usb-serial converters [Sebastian]
 * linux-mainline: Enable drivers for Huawei modems [Sebastian]
 * Update the resin-yocto-scripts submodule to 8312741e13604a9d166370349061876afb22c0fa [Sebastian]
 
diff --git a/layers/meta-resin-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend b/layers/meta-resin-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend
index 75f2e99..b4d02d8 100644
--- a/layers/meta-resin-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend
+++ b/layers/meta-resin-allwinner/recipes-kernel/linux/linux-mainline_%.bbappend
@@ -44,3 +44,8 @@ RESIN_CONFIGS_DEPS[huawei_modems] = "\
 RESIN_CONFIGS[huawei_modems] ="\
     CONFIG_USB_NET_HUAWEI_CDC_NCM=m \
 "
+
+RESIN_CONFIGS_append = " cp210x"
+RESIN_CONFIGS[cp210x] ="\
+    CONFIG_USB_SERIAL_CP210X=m \
+"