Skip to content

Commit e073c92

Browse files
lucien-nxpnashif
authored andcommitted
drivers: pinctrl: update pinctrl/pinctrl_imx.c
Add code enable rt1180 iomuxc clock Signed-off-by: Lucien Zhao <[email protected]>
1 parent ad0a066 commit e073c92

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

drivers/pinctrl/pinctrl_imx.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022 NXP
2+
* Copyright 2022, 2024 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -92,7 +92,10 @@ static int imx_pinctrl_init(void)
9292
#elif defined(CONFIG_SOC_MIMX8MQ6)
9393
CLOCK_EnableClock(kCLOCK_Iomux);
9494
#endif /* CONFIG_SOC_SERIES_IMXRT10XX || CONFIG_SOC_SERIES_IMXRT11XX */
95-
95+
#if defined(CONFIG_SOC_SERIES_IMXRT118X)
96+
CLOCK_EnableClock(kCLOCK_Iomuxc1);
97+
CLOCK_EnableClock(kCLOCK_Iomuxc2);
98+
#endif /* CONFIG_SOC_SERIES_IMXRT118X */
9699
return 0;
97100
}
98101

0 commit comments

Comments
 (0)