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.
Tool/software:
Are there any examples showing how to configure the linux kernel driver for dm timer (timer-ti-dm.c)? I'm wanting to set up a timer to monitor a pin that will have a PWM signal on it. So I will need to measure both the frequency and duty cycle. I know the basic steps in using a timer for such a purpose (capture mode), but didn't know if there were examples or API descriptions for the dm timer. I would assume this would need to be a kernel module. I see the driver for outputing a PWM signal (pwm-omap-dmtimer.c) and could potentially use it as a starting point. Thanks
Hi Jason,
For the PWM we have an FAQ:
http://e2e.ti.com/support/processors/f/791/t/982074
For the dm timer we have not supported them on J784s4 and no immediate plans to add support.
However there is reference on how to add the dm timer nodes in: arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
- Keerthy