This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

External RTC DS1337 for DM368

Expert 1840 points
Other Parts Discussed in Thread: PCF8574

Dear,

I am working with DM368 IPNC and appro Software V2.6. Because Internal RTC of DM368 has problem about power consumption, It can not keep the real-time clock more than 3 minutes without AC. We used external RTC DS 1337 to solve that issue. By look through the kernel, I saw that the driver for this RTC chip is already available in davinci_dm368_ipnc_defconfig but I don't know how to enable it and make it work instead of internal RTC. If you have some experiences about this please help me.

#
# Miscellaneous I2C Chip support
#

# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set

...

#
# Real Time Clock
#
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set

#
# RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_X1205 is not set
CONFIG_RTC_DRV_DAVINCI_DM365=y
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_ISL1208 is not set