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:
Yangbo Lu <yangbo.lu@nxp.com>
Loading
Please sign in to comment