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.

Linux: AM571x DMTimer in PWM mode

Other Parts Discussed in Thread: AM5718

Tool/software: Linux

Hi TI:

Our platform is AM5718.

SDK version is 04.01.00.06

Because we need PWM signal to trigger something.

We set timer10 as PWM mode and start timer10 during power on.

        timer10: timer@48086000 {
            compatible = "ti,omap5430-timer";
            reg = <0x48086000 0x80>;
            interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
            ti,hwmods = "timer10";
            ti,timer-pwm;
        };

But we can't measure pulse in timer 10 (N9 pin)

Question:

1. Can you tell us how to set timer as PWM in linux kernel?

2. How to set the duty cycle for PWM timer by linux kernel?

DarkHou