soc: arm: nxp: ke1xf: enable MCUX SCG clock controller driver

Enable the MCUX SCG clock controller driver by default for the NXP
Kinetis KE1xF SoC series. Move the generic CLKOUT configuration from
SoC to the clock controller driver.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2019-06-16 22:25:44 +02:00 committed by Maureen Helm
commit b5e3be9e8a
4 changed files with 8 additions and 3 deletions

View file

@ -223,9 +223,6 @@ static ALWAYS_INLINE void clk_init(void)
#ifdef CONFIG_ADC_2
CLOCK_SetIpSrc(kCLOCK_Adc2, kCLOCK_IpSrcFircAsync);
#endif
#ifdef DT_INST_0_NXP_KINETIS_SCG_CLKOUT_SOURCE
CLOCK_SetClkOutSel(DT_INST_0_NXP_KINETIS_SCG_CLKOUT_SOURCE);
#endif
}
static int ke1xf_init(struct device *arg)