We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24ba75 commit bcf7717Copy full SHA for bcf7717
drivers/clock_control/clock_control_npcx.c
@@ -208,9 +208,11 @@ static int npcx_clock_control_init(const struct device *dev)
208
struct cdcg_reg *const inst_cdcg = HAL_CDCG_INST(dev);
209
const uint32_t pmc_base = ((const struct npcx_pcc_config *)dev->config)->base_pmc;
210
211
+#if defined(CONFIG_NPCX_SOC_VARIANT_NPCXN)
212
if (IS_ENABLED(CONFIG_CLOCK_CONTROL_NPCX_EXTERNAL_SRC)) {
213
inst_cdcg->LFCGCTL2 |= BIT(NPCX_LFCGCTL2_XT_OSC_SL_EN);
214
}
215
+#endif
216
217
/*
218
* Resetting the OFMCLK (even to the same value) will make the clock
0 commit comments