DORMANTno replies

[PATCH RESEND] ARM: versatile: enable RTC DS1338 driver in defconfig

From: Milo Kim <hidden>
Date: 2015-06-30 23:30:59
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Versatile platform boards[*] support external RTC device, DS1338.
It is compatible with rtc-ds1307 device driver.
QEMU[**] also supports this device by default.

Currently, driver configuration is missing in versatile_defconfig.
To enable it, RTC subsystem configuration and I2C host bus support
are required.

[*]  arch/arm/mach-versatile/core.c
[**] hw/arm/versatilepb.c

Cc: Russell King <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Thompson <redacted>
Cc: Sudeep Holla <redacted>
Signed-off-by: Milo Kim <redacted>
---
 arch/arm/configs/versatile_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/arch/arm/configs/versatile_defconfig b/arch/arm/configs/versatile_defconfig
index ea49d37..550500f 100644
--- a/arch/arm/configs/versatile_defconfig
+++ b/arch/arm/configs/versatile_defconfig
@@ -47,6 +47,7 @@ CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=m
+CONFIG_I2C_VERSATILE=y
 CONFIG_GPIOLIB=y
 CONFIG_GPIO_PL061=y
 # CONFIG_HWMON is not set
@@ -66,6 +67,9 @@ CONFIG_LEDS_VERSATILE=y
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
 CONFIG_LEDS_TRIGGER_CPU=y
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_DS1307=y
 CONFIG_EXT2_FS=y
 CONFIG_VFAT_FS=m
 CONFIG_JFFS2_FS=y
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help