Linux driver for Timer PWM Module (TPM) on i.MX8QXP?

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

Linux driver for Timer PWM Module (TPM) on i.MX8QXP?

1,960 次查看
laodzu
Contributor IV

Hi,

I would like to use the TPM unit on the i.MX8QXP processor from Linux. Checking the 5.15.72-2.2.0 kernel, I can find a TPM driver for the i.MX7ULP and i.MX8ULP. The documentation is here:

https://github.com/nxp-imx/linux-imx/blob/lf-5.15.71-2.2.0/Documentation/devicetree/bindings/timer/n...

So as far as I can see, there is currently no official support for TPM on this platform. Is the i.MX8ULP module compatible with the one in i.MX8QXP or will this require a completely new driver?

Any hint will be greatly appreciated!

0 项奖励
回复
1 回复

1,947 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello!

Theoretically the IMX7ULP and the IMX8QXP have the same TPM module, the only difference is the counter, in the IMX7ULP the counter is of 16-bit. And in IMX8QXP the counter is of 32-bit.

Also, I checked and the combability with the IMX8ULP is until 5.17.y Kernel.

So, the driver should works well in the IMX8QXP.

 

Best regards!

0 项奖励
回复