Skip to content

Commit 372c912

Browse files
Zhiqiang-Houkartben
authored andcommitted
drivers: clock: ccm_rev2: add imx91 support
Add clock driver support for MIMX9131. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
1 parent e16a326 commit 372c912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clock_control/clock_control_mcux_ccm_rev2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021,2024 NXP
2+
* Copyright 2021,2024-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -287,7 +287,7 @@ static int mcux_ccm_get_subsys_rate(const struct device *dev,
287287
default:
288288
return -EINVAL;
289289
}
290-
#ifdef CONFIG_SOC_MIMX9352
290+
#if defined(CONFIG_SOC_MIMX9352) || defined(CONFIG_SOC_MIMX9131)
291291
*rate = CLOCK_GetIpFreq(clock_root);
292292
#else
293293
*rate = CLOCK_GetRootClockFreq(clock_root);

0 commit comments

Comments
 (0)