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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

496 Views
laodzu
Contributor III

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 Kudos
1 Reply

483 Views
Alejandro_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 Kudos