soc: nxp: ke1xf: rename ftm instances to pwm to match other SoCs
Rename the NXP FTM instances in the KE1xF SoC to PWM to match the other SoCs/boards using the FlexTimer as PWM generator. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
87e768c79d
commit
ebb4126cbe
3 changed files with 29 additions and 29 deletions
|
@ -196,17 +196,17 @@ static ALWAYS_INLINE void clk_init(void)
|
|||
#ifdef DT_NXP_KINETIS_ADC12_ADC_2_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Adc2, DT_NXP_KINETIS_ADC12_ADC_2_CLOCK_IP_SOURCE);
|
||||
#endif
|
||||
#ifdef DT_NXP_KINETIS_FTM_FTM_0_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm0, DT_NXP_KINETIS_FTM_FTM_0_CLOCK_IP_SOURCE);
|
||||
#ifdef DT_NXP_KINETIS_FTM_PWM_0_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm0, DT_NXP_KINETIS_FTM_PWM_0_CLOCK_IP_SOURCE);
|
||||
#endif
|
||||
#ifdef DT_NXP_KINETIS_FTM_FTM_1_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm1, DT_NXP_KINETIS_FTM_FTM_1_CLOCK_IP_SOURCE);
|
||||
#ifdef DT_NXP_KINETIS_FTM_PWM_1_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm1, DT_NXP_KINETIS_FTM_PWM_1_CLOCK_IP_SOURCE);
|
||||
#endif
|
||||
#ifdef DT_NXP_KINETIS_FTM_FTM_2_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm2, DT_NXP_KINETIS_FTM_FTM_2_CLOCK_IP_SOURCE);
|
||||
#ifdef DT_NXP_KINETIS_FTM_PWM_2_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm2, DT_NXP_KINETIS_FTM_PWM_2_CLOCK_IP_SOURCE);
|
||||
#endif
|
||||
#ifdef DT_NXP_KINETIS_FTM_FTM_3_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm3, DT_NXP_KINETIS_FTM_FTM_3_CLOCK_IP_SOURCE);
|
||||
#ifdef DT_NXP_KINETIS_FTM_PWM_3_CLOCK_IP_SOURCE
|
||||
CLOCK_SetIpSrc(kCLOCK_Ftm3, DT_NXP_KINETIS_FTM_PWM_3_CLOCK_IP_SOURCE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue