From c6cb8367b9cd84a933f383e9040b68ba61eda3fb Mon Sep 17 00:00:00 2001 From: Aymeric Aillet Date: Wed, 20 Nov 2024 14:42:20 +0100 Subject: [PATCH 1/2] drivers: rcar: Select CONFIG_PINCTRL Select PINCTRL for drivers: pwm, sdhc, serial Signed-off-by: Aymeric Aillet --- drivers/pwm/Kconfig.rcar | 1 + drivers/sdhc/Kconfig.rcar | 1 + drivers/serial/Kconfig.rcar | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/pwm/Kconfig.rcar b/drivers/pwm/Kconfig.rcar index bf8bd912b6af..765d4fe2b112 100644 --- a/drivers/pwm/Kconfig.rcar +++ b/drivers/pwm/Kconfig.rcar @@ -8,5 +8,6 @@ config PWM_RCAR default y depends on SOC_FAMILY_RENESAS_RCAR depends on DT_HAS_RENESAS_PWM_RCAR_ENABLED + select PINCTRL help Enable Renesas R-Car PWM Driver. diff --git a/drivers/sdhc/Kconfig.rcar b/drivers/sdhc/Kconfig.rcar index f5d57a4bb03c..9f34e12bac0b 100644 --- a/drivers/sdhc/Kconfig.rcar +++ b/drivers/sdhc/Kconfig.rcar @@ -8,6 +8,7 @@ config RCAR_MMC select SDHC_SUPPORTS_NATIVE_MODE select REGULATOR select GPIO + select PINCTRL select SDHC_SUPPORTS_UHS if SDMMC_STACK help Renesas Rcar MMC driver. diff --git a/drivers/serial/Kconfig.rcar b/drivers/serial/Kconfig.rcar index 8f2c0c2b9abf..f318cd30f5f0 100644 --- a/drivers/serial/Kconfig.rcar +++ b/drivers/serial/Kconfig.rcar @@ -9,5 +9,6 @@ config UART_RCAR depends on DT_HAS_RENESAS_RCAR_SCIF_ENABLED || DT_HAS_RENESAS_RCAR_HSCIF_ENABLED select SERIAL_HAS_DRIVER select SERIAL_SUPPORT_INTERRUPT + select PINCTRL help Enable Renesas R-Car UART Driver. From 6f5cb893f0be64166ef1b5437ef5a6926bfe9e83 Mon Sep 17 00:00:00 2001 From: Aymeric Aillet Date: Wed, 20 Nov 2024 14:44:23 +0100 Subject: [PATCH 2/2] soc: renesas: rcar: Remove CONFIG_PINCTRL Remove CONFIG_PINCTRL from rcar defconfig files Fixes: #78619 Signed-off-by: Aymeric Aillet --- soc/renesas/rcar/rcar_gen3/Kconfig.defconfig | 3 --- soc/renesas/rcar/rcar_gen4/Kconfig.defconfig.r8a779f0 | 3 --- 2 files changed, 6 deletions(-) diff --git a/soc/renesas/rcar/rcar_gen3/Kconfig.defconfig b/soc/renesas/rcar/rcar_gen3/Kconfig.defconfig index da9a5674d46f..3a2c5e346fcf 100644 --- a/soc/renesas/rcar/rcar_gen3/Kconfig.defconfig +++ b/soc/renesas/rcar/rcar_gen3/Kconfig.defconfig @@ -8,7 +8,4 @@ if SOC_SERIES_RCAR_GEN3 config NUM_IRQS default 512 -config PINCTRL - default y - endif # SOC_SERIES_RCAR_GEN3 diff --git a/soc/renesas/rcar/rcar_gen4/Kconfig.defconfig.r8a779f0 b/soc/renesas/rcar/rcar_gen4/Kconfig.defconfig.r8a779f0 index 3874573bcf79..93cfd5c9839f 100644 --- a/soc/renesas/rcar/rcar_gen4/Kconfig.defconfig.r8a779f0 +++ b/soc/renesas/rcar/rcar_gen4/Kconfig.defconfig.r8a779f0 @@ -6,7 +6,4 @@ if SOC_SERIES_RCAR_GEN4 config NUM_IRQS default 1216 #960 SPI + 256 LPI -config PINCTRL - default y - endif # SOC_SERIES_RCAR_GEN4