The Davinci's onchip RTC is also present on TI OMAP1, AM33XX, AM43XX and
DRA7XX SOCs. So, let's enable compilation for these architectures too.

Signed-off-by: Dario Binacchi <dario...@libero.it>
---

(no changes since v1)

 drivers/rtc/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index c84a9d2b27..cbdfddb80f 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -188,4 +188,11 @@ config RTC_ABX80X
          families of ultra-low-power  battery- and capacitor-backed real-time
          clock chips.
 
+config RTC_DAVINCI
+       bool "Enable TI OMAP RTC driver"
+       depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
+       help
+         Say "yes" here to support the on chip real time clock
+         present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
+
 endmenu
-- 
2.17.1

Reply via email to