Skip to contentSkip to conversation

rtc-mpc5121: add support for RTC on MPC5200

PATCH New Dmitry Eremin-Solenikov 1 participant 1 message May 31, 2011 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc-mpc5121: add support for RTC on MPC5200

MPC5200B contains a bit limited version of RTC from MPC5121. Add support for RTC on that CPUs.

---
 drivers/rtc/Kconfig       |    4 +-
 drivers/rtc/rtc-mpc5121.c |   81 ++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 75 insertions(+), 10 deletions(-)
drivers/rtc/Kconfig +2 -2
index f822e13..bbef21d 100644
@@ -1006,10 +1006,10 @@ config RTC_DRV_MC13XXX
 
 config RTC_DRV_MPC5121
 	tristate "Freescale MPC5121 built-in RTC"
-	depends on PPC_MPC512x && RTC_CLASS
+	depends on PPC_MPC512x || PPC_MPC52xx
 	help
 	  If you say yes here you will get support for the
-	  built-in RTC MPC5121.
+	  built-in RTC on MPC5121 or on MPC5200.
 
 	  This driver can also be built as a module. If so, the module
 	  will be called rtc-mpc5121.
drivers/rtc/rtc-mpc5121.c +73 -8

117 lines not on this page · raw message

Signature · 1 line
1.7.4.4