From 5481ce9a1157a43d8b2c963e03fb243e70974361 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Tue, 18 Oct 2016 23:26:59 +0200 Subject: [PATCH] imx6: Add ds1307 RTC to kernel for working hctosys MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise if we use ds1307 as kernel module, hctosys fails as ds1307 is being initialized later then hctosys: [ 2.427349] hctosys: unable to open rtc device (rtc0) [ 3.714263] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1 [ 8.990061] rtc-ds1307 3-006f: rtc core: registered mcp7941x as rtc0 Signed-off-by: Petr Å tetiar --- target/linux/imx6/config-4.4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/imx6/config-4.4 b/target/linux/imx6/config-4.4 index 8799a95f8b02..6d251b8156cd 100644 --- a/target/linux/imx6/config-4.4 +++ b/target/linux/imx6/config-4.4 @@ -163,6 +163,7 @@ CONFIG_GENERIC_STRNLEN_USER=y # CONFIG_GIANFAR is not set CONFIG_GLOB=y CONFIG_GPIOLIB=y +CONFIG_GPIOLIB_IRQCHIP=y CONFIG_GPIO_DEVRES=y CONFIG_GPIO_GENERIC=y CONFIG_GPIO_MXC=y @@ -349,6 +350,7 @@ CONFIG_REGULATOR_PFUZE100=y CONFIG_RFS_ACCEL=y CONFIG_RPS=y CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=y # CONFIG_RTC_DRV_IMXDI is not set # CONFIG_RTC_DRV_MXC is not set CONFIG_RWSEM_SPIN_ON_OWNER=y -- 2.30.2