ldube commented on code in PR #20365:
URL: https://github.com/apache/nuttx/pull/20365#discussion_r4112127985


##########
arch/arm/src/imxrt/imxrt_clockconfig_ver3.c:
##########
@@ -267,6 +260,49 @@ static void imxrt_init_arm_pll(void)
 
 #endif /* CONFIG_ARCH_CHIP_MIMXRT1189CVM8C_CM33 */
 
+static void imxrt_enable_osc_24m(void)
+{
+  uint32_t reg;
+
+  /* Check if the 24 MHz crystal oscillator not enabled, is gated
+   * or is not stable
+   */
+
+  reg  = getreg32(IMXRT_ANADIG_OSC_24M_CTRL);
+
+  if ((reg & (ANADIG_OSC_24M_CTRL_OSC_EN |
+              ANADIG_OSC_24M_CTRL_GATE |

Review Comment:
   Remove ANADIG_OSC_24M_CTRL_GATE



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to