PWM Control

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PWM Control

622件の閲覧回数
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 返信

601件の閲覧回数
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 件の賞賛
返信