Part Number: AM3352
Hi,
I am trying to add EPSON RX8130CE to my eval board with AM3352 and have followed the steps as specified below.
1. Copy the file rtc-rx8130.c into the directory ./linux-3.8.x/drivers/rtc. "linux-3.8.x" refers to
the base of the linux kernel source tree.
2. Add the following lines into the drivers/rtc/Kconfig file:
config RTC_DRV_RX8130
tristate "Epson RX8130CE"
help
If you say yes here you get support for the Epson
RX8130CE RTC chips.
This driver can also be built as a module. If so, the module
will be called rtc-rx8130.
3. Add the following line to the drivers/rtc/Makefile:
obj-$(CONFIG_RTC_DRV_RX8130) += rtc-rx8130.o
4. During the rebuild, make sure to include the 'Epson RX8130CE' option in the Kernel
Configuration window under 'Device Drivers' -> 'Real Time Clock'.
Same is provided in the EPSON website in the RX8130_readme.pdf.
https://www5.epsondevice.com/en/information/support/linux_rtc/down_load.html
Only difference is I am adding the support for kernel 3.2.
So in order to support that, I have modified the rtc-rx8130.c as below