Skip to content
Commit 11ef521c authored by Yangbo Lu's avatar Yangbo Lu Committed by Carles Cufí
Browse files

drivers: pwm_mcux_tpm: adapt to more platforms



The TPM max channel number was got from register array size.
However some platforms TPM instance may begin from TPM1 rather
than TPM0. This should be handled in driver.

Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
parent c2911af7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment