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.

dm8148 pwm 2 issue

Hi,

i am facing issue with timer 2, i've configured timer 3, 6, and 7 selected on ball no AE28, AC27, P22, R24 respectively. 

all these timers are working fine except timer 2.

here is crash log of timer 2.

BUG: warning at arch/arm/plat-omap/dmtimer.c:445/omap_dm_timer_request_specific(): unable to get timer 2
Backtrace:
[<c0043f70>] (dump_backtrace+0x0/0x110) from [<c031040c>] (dump_stack+0x18/0x1c)
 r6:c042d1cc r5:c447ba00 r4:00000000 r3:60000013
[<c03103f4>] (dump_stack+0x0/0x1c) from [<c0061088>] (omap_dm_timer_request_specific+0x70/0xac)
[<c0061018>] (omap_dm_timer_request_specific+0x0/0xac) from [<c030dbec>] (omap_pwm_probe+0x74/0x228)
 r4:c448de00
[<c030db78>] (omap_pwm_probe+0x0/0x228) from [<c0225aec>] (platform_drv_probe+0x1c/0x20)
 r6:c042dfb0 r5:c447ba3c r4:c447ba08
[<c0225ad0>] (platform_drv_probe+0x0/0x20) from [<c0224b5c>] (driver_probe_device+0xd0/0x18c)
[<c0224a8c>] (driver_probe_device+0x0/0x18c) from [<c0224c80>] (__driver_attach+0x68/0x8c)
 r7:00000000 r6:c042dfb0 r5:c447ba3c r4:c447ba08
[<c0224c18>] (__driver_attach+0x0/0x8c) from [<c0223cf4>] (bus_for_each_dev+0x58/0x88)
 r6:c0224c18 r5:c4425ef8 r4:c042dfb0 r3:c441ee34
[<c0223c9c>] (bus_for_each_dev+0x0/0x88) from [<c02247f4>] (driver_attach+0x20/0x28)
 r7:00000000 r6:c0441de8 r5:c4487c80 r4:c042dfb0
[<c02247d4>] (driver_attach+0x0/0x28) from [<c02243f8>] (bus_add_driver+0xb4/0x230)
[<c0224344>] (bus_add_driver+0x0/0x230) from [<c0224edc>] (driver_register+0xb0/0x134)
[<c0224e2c>] (driver_register+0x0/0x134) from [<c0225fa8>] (platform_driver_register+0x4c/0x60)
[<c0225f5c>] (platform_driver_register+0x0/0x60) from [<c0011c38>] (omap_pwm_init+0x14/0x1c)
[<c0011c24>] (omap_pwm_init+0x0/0x1c) from [<c00364f8>] (do_one_initcall+0xbc/0x190)
[<c003643c>] (do_one_initcall+0x0/0x190) from [<c0008a28>] (kernel_init+0xa0/0x154)
 r8:00000000 r7:00000013 r6:c006aa98 r5:c00263b4 r4:c002607c
[<c0008988>] (kernel_init+0x0/0x154) from [<c006aa98>] (do_exit+0x0/0x5d0)
 r5:c0008988 r4:00000000
omap-pwm: probe of omap-pwm.0 failed with error -1002430080
PWM1 init success.
PWM2 init success.
PWM3 init success.

i also checked in kernel code if there is any module using this timer or not, i've found nothing.

please give me pointers in where to look into regarding this issue.

Thanks & regards,

Akash