PWM Control

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PWM Control

385 次查看
charleshuang
Senior Contributor II

Hi NXP,
We are now using imx93 to use LVDS, and we need to use the PIN of PWM TPM3. In the EVK version,
we do not see the definition of the relevant TPM3 PIN. Please tell me how to use it.Currently there is no definition of TPM3 pin in the following files.
arch/arm64/boot/dts/freescale/imx93.dtsi
drivers/clk/imx/clk-imx93.c
include/dt-bindings/clock/imx93-clock.h
Please tell me what settings need to be made if you want to use TPM3 to set pwm output.

Thanks

0 项奖励
1 回复

364 次查看
joanxie
NXP TechSupport
NXP TechSupport

current bsp only uses tpm4 as pwm, for tpm3, maybe you can try this

tpm3: pwm@424e0000 {                   

compatible = "fsl,imx7ulp-pwm";                         

reg = <0x424e0000 0x1000>;                             

clocks = <&clk IMX93_CLK_TPM3_GATE>;                             

 assigned-clock-parents = <&clk IMX93_CLK_24M>;

ssigned-clock-rates = <24000000>;+                              

#pwm-cells = <3>;                            

status = "disabled";

};

0 项奖励