Processor SDK Linux: 05.02.00.10
kernel: 4.14.79
dts :
…
/ {
...pwm4: dmtimer-pwm@4 {compatible = "ti,omap-dmtimer-pwm";status = "okay";ti,timers = <&timer4>;#pwm-cells = <3>;pinctrl-names = "default";pinctrl-0 = <&dmtimer4_pins>;}; }; &timer4{status = "okay";ti,timer-pwm; }; &dra7_pmx_core {dmtimer4_pins: dmtimer4_pins { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x36D0, PIN_OUTPUT_PULLDOWN | MUX_MODE10) /* timer4 */ >; }; };
…
driver:drivers\pwm\pwm-omap-dmtimer.c
description:
1)insmod pwm-omap-dmtimer.korm pwm-omap-dmtimer
insmod pwm-omap-dmtimer.ko
2)
echo 0 > /sys/class/pwm/pwmchip0/export
echo 1000000 > /sys/class/pwm/pwmchip0/pwm0/period
I tried to follow up the code and found that this warning is caused by the recovery of the irq after unlocking,such as local_irq_restore(), local_irq_enable.
Question:
1) Is it correct for me to use pwm timer like this?
2) I have already reviewed the posts on other similar issues in the forum and there is no solution. How can I eliminate this warning/error now?
3) If I can't solve it, can I block it?
allen.zhang:
可以用中文回
allen.zhang:
回复 Nancy Wang:
Hi Nancy,
万分感谢,这确实帮助我解决了pwm timer L3 自定义错误的问题。现在只剩下omap_l3_probe时的 L3自定义错误,不过这个貌似不好查,我先根据你给的链接里的一个方法看看是否是rtc的问题。