Part Number: AM5728
Tool/software: Linux
Hi,
I am using ti-processor-sdk-linux-am57xx-evm-04.03.00.05.
I want to set the GPIO3_0 as a PWM gpio and output. using timer16.here is my dts file.
118 pwm_timer16: dmtimer-pwm@16 {
119 pinctrl-names = "default";
120 pinctrl-0 = <&fan_pins_default>;
121 compatible = "ti,omap-dmtimer-pwm";
122 ti,timers = <&timer16>;
123 #pwm-cells = <3>;
124 ti,prescaler = <7>;
125 ti,clock-source = <0x00>;
126 };
127
128 pwm_fan: pwm_fan {
129 compatible = "pwm-fan";
130 cooling-min-state = <0>;
131 cooling-max-state = <3>;
132 #cooling-cells = <2>;
133 pwms = <&pwm_timer16 0 10000 0>;
134 cooling-levels = <102 153 204 250>;
135 };
193 &timer16 {
194 ti,timer-pwm;
195 };
but at commit f6b5b67b6845a4d197f1c5b6af847af284f6898f,TI use the timer16 to generate the 1pps sygnal.
Here is my question:
it will call the error "cpts: unable to obtain a time stamp error",am i right?
so,I can't use timer16 as a pwm gpio output now?
Please let me know it.
Thanks.