From e073c92da3d0b1da980b53bb682f043e4e901965 Mon Sep 17 00:00:00 2001 From: Lucien Zhao Date: Mon, 3 Jun 2024 18:26:12 +0800 Subject: [PATCH] drivers: pinctrl: update pinctrl/pinctrl_imx.c Add code enable rt1180 iomuxc clock Signed-off-by: Lucien Zhao --- drivers/pinctrl/pinctrl_imx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl_imx.c b/drivers/pinctrl/pinctrl_imx.c index 6bc9df4e538..01d9572149b 100644 --- a/drivers/pinctrl/pinctrl_imx.c +++ b/drivers/pinctrl/pinctrl_imx.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 NXP + * Copyright 2022, 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -92,7 +92,10 @@ static int imx_pinctrl_init(void) #elif defined(CONFIG_SOC_MIMX8MQ6) CLOCK_EnableClock(kCLOCK_Iomux); #endif /* CONFIG_SOC_SERIES_IMXRT10XX || CONFIG_SOC_SERIES_IMXRT11XX */ - +#if defined(CONFIG_SOC_SERIES_IMXRT118X) + CLOCK_EnableClock(kCLOCK_Iomuxc1); + CLOCK_EnableClock(kCLOCK_Iomuxc2); +#endif /* CONFIG_SOC_SERIES_IMXRT118X */ return 0; }