mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
cfa76ddf5b
Exynos pinctrl drivers contain pretty big per-SoC data structures. The pinctrl-exynos object file contained code and data for both ARMv7 and ARMv8 SoCs thus it grew big. There will not be a shared image between ARMv7 and ARMv8 so there is no need to combine all of this into one driver. Splitting the data allows to make it more granular (e.g. code related to ARMv8 Exynos is self-contained), slightly speed up the compilation and reduce the effective size of compiled kernel. The common data structures and functions reside still in existing pinctrl-exynos.c. Only the SoC-specific parts were moved out to new files. Except marking few functions non-static and adding them to header, there were no functional changes in the code. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
39 lines
1021 B
Plaintext
39 lines
1021 B
Plaintext
#
|
|
# Samsung Pin control drivers
|
|
#
|
|
config PINCTRL_SAMSUNG
|
|
bool
|
|
select PINMUX
|
|
select PINCONF
|
|
|
|
config PINCTRL_EXYNOS
|
|
bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
|
|
depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
|
|
select PINCTRL_SAMSUNG
|
|
select PINCTRL_EXYNOS_ARM if ARM && (ARCH_EXYNOS || ARCH_S5PV210)
|
|
select PINCTRL_EXYNOS_ARM64 if ARM64 && ARCH_EXYNOS
|
|
|
|
config PINCTRL_EXYNOS_ARM
|
|
bool "ARMv7-specific pinctrl driver data for Exynos (except Exynos5440)" if COMPILE_TEST
|
|
depends on PINCTRL_EXYNOS
|
|
|
|
config PINCTRL_EXYNOS_ARM64
|
|
bool "ARMv8-specific pinctrl driver data for Exynos" if COMPILE_TEST
|
|
depends on PINCTRL_EXYNOS
|
|
|
|
config PINCTRL_EXYNOS5440
|
|
bool "Samsung EXYNOS5440 SoC pinctrl driver"
|
|
depends on SOC_EXYNOS5440
|
|
select PINMUX
|
|
select PINCONF
|
|
|
|
config PINCTRL_S3C24XX
|
|
bool "Samsung S3C24XX SoC pinctrl driver"
|
|
depends on ARCH_S3C24XX
|
|
select PINCTRL_SAMSUNG
|
|
|
|
config PINCTRL_S3C64XX
|
|
bool "Samsung S3C64XX SoC pinctrl driver"
|
|
depends on ARCH_S3C64XX
|
|
select PINCTRL_SAMSUNG
|