mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
91d2c740f3
The driver fails to build without CONFIG_OF: drivers/pinctrl/samsung/pinctrl-samsung.c: In function 'samsung_gpiolib_register': drivers/pinctrl/samsung/pinctrl-samsung.c:936:5: error: 'struct gpio_chip' has no member named 'of_node' This configuration is now possible since we can now select the PINCTRL subsystem on S3C24xx machines other than the device tree based ones. Fixes: d219b924611a ("pinctrl: change Kconfig PINCTRL variable to a menuconfig") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
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 && OF
|
|
select PINCTRL_SAMSUNG
|
|
|
|
config PINCTRL_S3C64XX
|
|
bool "Samsung S3C64XX SoC pinctrl driver"
|
|
depends on ARCH_S3C64XX
|
|
select PINCTRL_SAMSUNG
|