Other Parts Discussed in Thread: AM3352
hiii,
we are using AM3352 -- timer 6 for the pwm-ecap --to read fanspeed, but it is throwing kernel panic -- we took the interrupt number from the dts file - am33xx.dtsi - provided with SDK- we are using SDK-08 as reference.
dts file timer info and kernel bootlog is below .
timer6: timer@48048000 {
compatible = "ti,am335x-timer";
reg = <0x48048000 0x400>;
interrupts = <94>;
ti,hwmods = "timer6";
ti,timer-pwm;
};
unable to fix this issue -- with timer 6 interrupt number 94. please help us in this -- to fix the kernel panic.
[ 6.619412] genirq: Flags mismatch irq 94. 00000020 (wkup_m3_txev) vs. 00000201 (timer6)
[ 6.628036] wkup_m3 44d00000.wkup_m3: request_irq failed
[ 6.633666] remoteproc0: releasing wkup_m3
[ 6.640190] wkup_m3: probe of 44d00000.wkup_m3 failed with error -16
[ 6.647054] ------------[ cut here ]------------
[ 6.651970] WARNING: CPU: 0 PID: 50 at arch/arm/mach-omap2/omap_hwmod.c:2270 _idle+0x1cc/0x218()
[ 6.661189] omap_hwmod: wkup_m3: idle state can only be entered from enabled state
[ 6.669128] Modules linked in:
[ 6.672366] CPU: 0 PID: 50 Comm: kworker/0:1 Not tainted 3.14.26-g2489c02-dirty #249
[ 6.680518] Workqueue: pm pm_runtime_work
[ 6.684733] Backtrace:
[ 6.687355] [<c0011268>] (dump_backtrace) from [<c0011404>] (show_stack+0x18/0x1c)
[ 6.695302] r6:000008de r5:00000009 r4:cf0c3dc0 r3:c082f100
[ 6.701322] [<c00113ec>] (show_stack) from [<c05b01b4>] (dump_stack+0x20/0x28)
[ 6.708938] [<c05b0194>] (dump_stack) from [<c00381f8>] (warn_slowpath_common+0x6c/0x8c)
[ 6.717449] [<c003818c>] (warn_slowpath_common) from [<c00382bc>] (warn_slowpath_fmt+0x38/0x40)
[ 6.726574] r8:c082dc08 r7:00000008 r6:00000000 r5:cf0cd140 r4:c0827630
[ 6.733674] [<c0038288>] (warn_slowpath_fmt) from [<c0024594>] (_idle+0x1cc/0x218)
[ 6.741616] r3:c07208cc r2:c071e9b8
[ 6.745407] [<c00243c8>] (_idle) from [<c0024ae8>] (omap_hwmod_idle+0x20/0x34)
[ 6.752984] r5:cf0cd140 r4:a0000113
[ 6.756776] [<c0024ac8>] (omap_hwmod_idle) from [<c0026100>] (omap_device_idle+0x44/0x80)
[ 6.765354] r4:00000001 r3:cf0cd100
[ 6.769140] [<c00260bc>] (omap_device_idle) from [<c0026160>] (_od_runtime_suspend+0x24/0x2c)
[ 6.778081] r5:cf0cea10 r4:00000000
[ 6.781868] [<c002613c>] (_od_runtime_suspend) from [<c0367000>] (rpm_callback+0xa4/0xc0)
[ 6.790445] r5:0000000a r4:cf0cea10
[ 6.794229] [<c0366f5c>] (rpm_callback) from [<c0367474>] (rpm_suspend+0xf0/0x494)
[ 6.802174] r6:00000000 r5:0000000a r4:00000000 r3:c08240e8
[ 6.808168] [<c0367384>] (rpm_suspend) from [<c03678f8>] (rpm_idle+0x84/0x1b8)
[ 6.815744] r10:00000000 r9:cf0c2000 r8:00000000 r7:cfbd4a00 r6:00000002 r5:cf0cea10
[ 6.824008] r4:00000000
[ 6.826691] [<c0367874>] (rpm_idle) from [<c0368670>] (pm_runtime_work+0x88/0xa4)
[ 6.834541] r6:c082dfe4 r5:cf0ceaa0 r4:cf0ba380 r3:00000080
[ 6.840547] [<c03685e8>] (pm_runtime_work) from [<c004ae0c>] (process_one_work+0xfc/0x338)
[ 6.849239] [<c004ad10>] (process_one_work) from [<c004b1a0>] (worker_thread+0x11c/0x364)
[ 6.857819] r10:c0865f9f r9:c082dfe4 r8:00000001 r7:cf0c2000 r6:cf0ba398 r5:c082dff4
[ 6.866080] r4:cf0ba380
[ 6.868771] [<c004b084>] (worker_thread) from [<c0050d14>] (kthread+0xc4/0xe0)
[ 6.876351] r10:00000000 r9:00000000 r8:00000000 r7:c004b084 r6:cf0ba380 r5:cf0b7100
[ 6.884612] r4:00000000
[ 6.887300] [<c0050c50>] (kthread) from [<c000e878>] (ret_from_fork+0x14/0x3c)
[ 6.894878] r7:00000000 r6:00000000 r5:c0050c50 r4:cf0b7100
[ 6.900858] ---[ end trace d66f6f2f3b0a457e ]---
regards,
Viswanath k