From 56bfc99b034cba2540cce12785ff90cfa511d056 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Tue, 26 May 2020 09:33:34 +0200 Subject: [PATCH] linux-mainline: Added fix for bananapi Signed-off-by: Marek Belisko --- recipes-kernel/linux/linux-mainline.inc | 1 + recipes-kernel/linux/linux-mainline/axp20x.cfg | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 recipes-kernel/linux/linux-mainline/axp20x.cfg diff --git a/recipes-kernel/linux/linux-mainline.inc b/recipes-kernel/linux/linux-mainline.inc index b36a4fa..b5360b6 100644 --- a/recipes-kernel/linux/linux-mainline.inc +++ b/recipes-kernel/linux/linux-mainline.inc @@ -27,5 +27,6 @@ SRC_URI = "https://www.kernel.org/pub/linux/kernel/v5.x/linux-${PV}.tar.xz \ " SRC_URI_append_use-mailine-graphics = " file://drm.cfg" +SRC_URI_append_bananapi = " file://axp20x.cfg" FILES_${KERNEL_PACKAGE_NAME}-base_append = " ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo" diff --git a/recipes-kernel/linux/linux-mainline/axp20x.cfg b/recipes-kernel/linux/linux-mainline/axp20x.cfg new file mode 100644 index 0000000..a0d44d7 --- /dev/null +++ b/recipes-kernel/linux/linux-mainline/axp20x.cfg @@ -0,0 +1,4 @@ +CONFIG_MFD_AXP20X_I2C=y +CONFIG_MFD_AXP20X=y +CONFIG_IIO=y +CONFIG_AXP20X_POWER=y