summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-03-29 19:30:29 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-03 18:01:34 +0200
commitdab5aec64bf5907f65926675807e4ebe83b3b10e (patch)
tree084019c7caef1357e874d678a252521e0f4ed82b /drivers/rtc/Kconfig
parentrtc: cpcap: kfreeing devm allocated memory (diff)
downloadlinux-dab5aec64bf5907f65926675807e4ebe83b3b10e.tar.xz
linux-dab5aec64bf5907f65926675807e4ebe83b3b10e.zip
rtc: sh: add support for rza series
This same RTC is used in RZ/A series MPUs, therefore with some slight changes, this driver can be reused. Additionally, since ARM architectures require Device Tree configurations, device tree support has been added. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 050bec749fae..8d3b95728326 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1303,10 +1303,10 @@ config RTC_DRV_SA1100
config RTC_DRV_SH
tristate "SuperH On-Chip RTC"
- depends on SUPERH && HAVE_CLK
+ depends on SUPERH || ARCH_RENESAS
help
Say Y here to enable support for the on-chip RTC found in
- most SuperH processors.
+ most SuperH processors. This RTC is also found in RZ/A SoCs.
To compile this driver as a module, choose M here: the
module will be called rtc-sh.