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.

AM3352: ti-sysc: probe of timers failed with error -16

Part Number: AM3352

Good day everyone, 

I am facing an issue with porting our project to the new kernel (v5.15.79). We are using CPU type AM33xx (specificaly AM3352BZCED60).

It looks like there are some issues when probing timers. Or at least, I am not sure what the severity of the error below is:

[ 0.753569] ti-sysc: probe of 44e31000.target-module failed with error -16
[ 0.794004] ti-sysc: probe of 48040000.target-module failed with error -16

Based on the am33xx-l4.dtsi, it looks that 44e31000 stands for timer1 which is a sysc-omap2-timer and 48040000 stands for timer2 (a sysc-omap4-timer)

I already checked the latest kernel and the code is exactly the same as in v5.15.79. 

Both timers have in device tree flags ti,no-reset-on-init and ti,no-idle

https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/am33xx.dtsi#L690

To me, the probing code looks like it is reporting an error in case you have sysc-omap2-timer / sysc-omap4-timer in combination with these flags

https://github.com/torvalds/linux/blob/master/drivers/bus/ti-sysc.c#L3233

So is this error output expected? What could be the consequences of this error?

  • Hello Igor,

    Did probing the timers work on your previous version of Linux? What version of Linux are you porting from?

    Please keep in mind that Linux 5.10 (in the AM335x Linux SDK 8.2) is the latest version of Linux I can help with on the forums.

    Regards,

    Nick