From: milo.kim@ti.com (Milo Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: versatile: enable RTC DS1338 driver in defconfig
Date: Mon, 29 Jun 2015 13:38:34 +0900 [thread overview]
Message-ID: <1435552714-536-1-git-send-email-milo.kim@ti.com> (raw)
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 <liviu.dudau@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Milo Kim <milo.kim@ti.com>
---
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
next reply other threads:[~2015-06-29 4:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 4:38 Milo Kim [this message]
2015-06-29 8:35 ` [PATCH] ARM: versatile: enable RTC DS1338 driver in defconfig Sudeep Holla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435552714-536-1-git-send-email-milo.kim@ti.com \
--to=milo.kim@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).