Skip to contentSkip to conversation

ARM: versatile: enable RTC DS1338 driver in defconfig

PATCH Superseded Milo Kim 2 participants 2 messages Jun 29, 2015 Arm (32-bit)

lore
Share & tools
lore

Milo Kim

author
#0 lore raw

PATCH 1/1 ARM: versatile: enable RTC DS1338 driver in defconfig

Versatile platform boards[*] support external RTC device, DS1338. It is compatible with rtc-ds1307 device driver.
This driver requires not only RTC subsystem configuration but also I2C host bus support.

QEMU[**] also supports this device by default.

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

Cc Liviu Dudau <[email protected]>
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
---
 arch/arm/configs/versatile_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/versatile_defconfig +4 -0
index ea49d37..550500f 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: versatile: enable RTC DS1338 driver in defconfig

+RMK

Quoted 5 lines · Milo Kim

Versatile platform boards[*] support external RTC device, DS1338. It is compatible with rtc-ds1307 device driver.
This driver requires not only RTC subsystem configuration but also I2C host bus support.

Quoted 8 lines

QEMU[**] also supports this device by default.

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

Cc Liviu Dudau <[email protected]>
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>

Not sure why you have cc-ed Vexpress maintainers for versatile platform updates ? Did get_maintainer.pl gave these email address ? Please cc RMK in future.

Regards,
Sudeep