I am testing the pwm driver with am3517 to control the brightness, and one time I need to read timer11 tclr value. but when insmod it under kernel 2.6.37 the kernel will crash, but the same procedure will work under kernel 2.6.32.
Technical Reference Manual - AM3517
-------------------------------------------------------------
General-Purpose Timers Register Manual www.ti.com
Table 13-28. TCLR
Address Offset 0x024
Physical Address 0x4831 8024 Instance GPT1
0x4903 2024 GPT2
0x4903 4024 GPT3
0x4903 6024 GPT4
0x4903 8024 GPT5
0x4903 A024 GPT6
0x4903 C024 GPT7
0x4903 E024 GPT8
0x4904 0024 GPT9
0x4808 6024 GPT10
0x4808 8024 GPT11
Description This register controls optional features specific to the timer functionality.
Type RW
-----------------------------
My test code:
5531.test_drv.c.txt
the crash log:
8228.insmod-crash-log.txt