QY-IMX6S Linux Function And Test Manual
Any question, please send E-mail
Page 11 of 72
Sales E-mail
Website
:http://www.qiytech.com
©2012 Qiyangtech
Copyright
Test Code
:
CD/Source Code/Test Code/ rtc_test/rtc_test.c
Driver Code
:
ds1338 Driver
:
linux-3.0.101/drivers/rtc/rtc-ds1307.c
i2c Driver
:
linux-3.0.101/drivers/i2c/busses/i2c-imx.c
The Kernel Options
:
I2c2:
Device Drivers --->
I2C support --->
[*] Enable compatibility bits for old user-space
< *> I2C device interface
< > I2C bus multiplexing support
[*] Autoselect pertinent helper modules
I2C Hardware Bus support --->
[ ] I2C Core debugging messages
[ ] I2C Algorithm debugging messages
[ ] I2C Bus debugging messages
rtc:
Device Drivers --->
[*] Real Time Clock --->
[*] Set system time from RTC on startup and resume
(rtc0) RTC used to set the system time
[ ] RTC debug support
*** RTC interfaces ***
[*] /sys/class/rtc/rtcN (sysfs)
[*] /proc/driver/rtc (procfs for rtc0)