Skip to contentSkip to conversation

mx35pdk: Add RTC support

PATCH New Fabio Estevam 2 participants 2 messages Oct 25, 2011 – Oct 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx35pdk: Add RTC support

MX35PDK has an MC13892 PMIC. Add RTC support.

---
 include/configs/mx35pdk.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/mx35pdk.h +2 -0
index 1707b4d..d7d6f96 100644
@@ -73,6 +73,7 @@
 #define CONFIG_PMIC_I2C
 #define CONFIG_PMIC_FSL
 #define CONFIG_SYS_FSL_PMIC_I2C_ADDR	0x08
+#define CONFIG_RTC_MC13XXX
 
 /*
  * MFD MC9SDZ60
@@ -111,6 +112,7 @@
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
 #define CONFIG_NET_RETRY_COUNT	100
+#define CONFIG_CMD_DATE
 
 #define CONFIG_BOOTDELAY	3
 
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 mx35pdk: Add RTC support

Quoted 20 lines · Fabio Estevam

MX35PDK has an MC13892 PMIC. Add RTC support.

---
 include/configs/mx35pdk.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/mx35pdk.h +1 -0
index 1707b4d..d7d6f96 100644
@@ -73,6 +73,7 @@
 #define CONFIG_PMIC_I2C
 #define CONFIG_PMIC_FSL
 #define CONFIG_SYS_FSL_PMIC_I2C_ADDR	0x08
+#define CONFIG_RTC_MC13XXX
 
 /*
  * MFD MC9SDZ60

include/configs/mx35pdk.h line 118

Quoted 7 lines
include/configs/mx35pdk.h +1 -0
@@ -111,6 +112,7 @@
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
 #define CONFIG_NET_RETRY_COUNT	100
+#define CONFIG_CMD_DATE
 
 #define CONFIG_BOOTDELAY	3
 

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================