mirror of
https://github.com/torvalds/linux
synced 2024-10-22 03:09:41 +00:00
277d14eb81
When meson pinctrl is enabled, all meson platforms pinctrl drivers are built in the kernel, with a significant amount of data. This leads to situation where pinctrl drivers targeting an architecture are also compiled and shipped on another one (ex: meson8 - ARM - compiled and shipped on ARM64 builds). This is a waste of memory we can easily avoid. This change makes 4 pinctrl drivers (1 per SoC) out the original single driver, allowing to compile and ship only the ones required. Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
35 lines
589 B
Plaintext
35 lines
589 B
Plaintext
menuconfig PINCTRL_MESON
|
|
bool "Amlogic SoC pinctrl drivers"
|
|
depends on ARCH_MESON
|
|
depends on OF
|
|
select PINMUX
|
|
select PINCONF
|
|
select GENERIC_PINCONF
|
|
select GPIOLIB
|
|
select OF_GPIO
|
|
select REGMAP_MMIO
|
|
|
|
if PINCTRL_MESON
|
|
|
|
config PINCTRL_MESON8
|
|
bool "Meson 8 SoC pinctrl driver"
|
|
depends on ARM
|
|
default y
|
|
|
|
config PINCTRL_MESON8B
|
|
bool "Meson 8b SoC pinctrl driver"
|
|
depends on ARM
|
|
default y
|
|
|
|
config PINCTRL_MESON_GXBB
|
|
bool "Meson gxbb SoC pinctrl driver"
|
|
depends on ARM64
|
|
default y
|
|
|
|
config PINCTRL_MESON_GXL
|
|
bool "Meson gxl SoC pinctrl driver"
|
|
depends on ARM64
|
|
default y
|
|
|
|
endif
|