From c4c53f87fea56b0d884c82cf2ade6f35414b2978 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 26 Nov 2024 21:08:40 +0100 Subject: [PATCH] soc: microchip: mec*: remove redundant PINCTRL/GPIO defconfigs These options must be selected by drivers that use the associated APIs. Signed-off-by: Gerard Marull-Paretas --- .../mec/mec174x/Kconfig.defconfig.mec1743qlj | 16 ---------------- .../mec/mec174x/Kconfig.defconfig.mec1743qsz | 16 ---------------- .../mec/mec174x/Kconfig.defconfig.series | 2 -- .../mec/mec175x/Kconfig.defconfig.mec1753qlj | 16 ---------------- .../mec/mec175x/Kconfig.defconfig.mec1753qsz | 16 ---------------- .../mec/mec175x/Kconfig.defconfig.series | 2 -- .../mec/mech172x/Kconfig.defconfig.mech1723nlj | 16 ---------------- .../mec/mech172x/Kconfig.defconfig.mech1723nsz | 16 ---------------- .../mec/mech172x/Kconfig.defconfig.series | 2 -- 9 files changed, 102 deletions(-) delete mode 100644 soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qlj delete mode 100644 soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qsz delete mode 100644 soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qlj delete mode 100644 soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qsz delete mode 100644 soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nlj delete mode 100644 soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nsz diff --git a/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qlj b/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qlj deleted file mode 100644 index 9f52e8bad9a..00000000000 --- a/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qlj +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MEC1743QLJ MCU using MEC5 HAL -# Q = 480KB total SRAM -# LJ = 176 pin package - -if SOC_MEC1743_QLJ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MEC1743_QLJ diff --git a/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qsz b/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qsz deleted file mode 100644 index b75177ea757..00000000000 --- a/soc/microchip/mec/mec174x/Kconfig.defconfig.mec1743qsz +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MEC1743QSZ MCU using MEC5 HAL -# Q = 480KB total SRAM -# SZ = 144 pin package - -if SOC_MEC1743_QSZ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MEC1743_QSZ diff --git a/soc/microchip/mec/mec174x/Kconfig.defconfig.series b/soc/microchip/mec/mec174x/Kconfig.defconfig.series index 75a55c39356..f434af93409 100644 --- a/soc/microchip/mec/mec174x/Kconfig.defconfig.series +++ b/soc/microchip/mec/mec174x/Kconfig.defconfig.series @@ -11,8 +11,6 @@ config NUM_IRQS # All NVIC external sources. default 194 -rsource "Kconfig.defconfig.mec174*" - config CORTEX_M_SYSTICK depends on !RTOS_TIMER diff --git a/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qlj b/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qlj deleted file mode 100644 index 268b482b3c0..00000000000 --- a/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qlj +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MEC1753QLJ MCU using MEC5 HAL -# Q = 480KB total SRAM -# LJ = 176 pin package - -if SOC_MEC1753_QLJ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MEC1753_QLJ diff --git a/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qsz b/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qsz deleted file mode 100644 index b75177ea757..00000000000 --- a/soc/microchip/mec/mec175x/Kconfig.defconfig.mec1753qsz +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MEC1743QSZ MCU using MEC5 HAL -# Q = 480KB total SRAM -# SZ = 144 pin package - -if SOC_MEC1743_QSZ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MEC1743_QSZ diff --git a/soc/microchip/mec/mec175x/Kconfig.defconfig.series b/soc/microchip/mec/mec175x/Kconfig.defconfig.series index 9d8cdf99040..01abcebfe87 100644 --- a/soc/microchip/mec/mec175x/Kconfig.defconfig.series +++ b/soc/microchip/mec/mec175x/Kconfig.defconfig.series @@ -11,8 +11,6 @@ config NUM_IRQS # All NVIC external sources. default 198 -rsource "Kconfig.defconfig.mec175*" - config CORTEX_M_SYSTICK depends on !RTOS_TIMER diff --git a/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nlj b/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nlj deleted file mode 100644 index fe25daf3a93..00000000000 --- a/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nlj +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MECH1723N-LJ MCU using MEC5 HAL -# N = 416KB total SRAM -# LJ = 176 pin package - -if SOC_MECH1723_NLJ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MECH1723_NLJ diff --git a/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nsz b/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nsz deleted file mode 100644 index b13f40a231f..00000000000 --- a/soc/microchip/mec/mech172x/Kconfig.defconfig.mech1723nsz +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2024 Microchip Technology Inc. -# SPDX-License-Identifier: Apache-2.0 - -# Microchip MECH1723N-SZ MCU using MEC5 HAL -# N = 416KB total SRAM -# SZ = 144 pin package - -if SOC_MECH1723_NSZ - -config GPIO - default y - -config PINCTRL - default y - -endif # SOC_MECH1723_NSZ diff --git a/soc/microchip/mec/mech172x/Kconfig.defconfig.series b/soc/microchip/mec/mech172x/Kconfig.defconfig.series index 5bbc8bb5df1..cec629c0e47 100644 --- a/soc/microchip/mec/mech172x/Kconfig.defconfig.series +++ b/soc/microchip/mec/mech172x/Kconfig.defconfig.series @@ -11,8 +11,6 @@ config NUM_IRQS # All NVIC external sources. default 181 -rsource "Kconfig.defconfig.mech172*" - config CORTEX_M_SYSTICK depends on !RTOS_TIMER