diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-03-18 14:58:40 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-03-18 15:23:52 +0100 |
commit | 813b1a1a21fea47405dc44694c3031c3efcf0f03 (patch) | |
tree | f18f6a525d5a67e9bea873ff4b083590a36cb6db | |
parent | eb8578843f693040b15e7aad6b901588a511a6ac (diff) |
pinctrl: PINCTRL_AMDISP should depend on DRM_AMD_ISP
The AMD Image Signal Processor GPIO pin control functionality is only
present on AMD platforms with ISP support, and its platform device is
instantiated by the AMD ISP driver. Hence add a dependency on
DRM_AMD_ISP, to prevent asking the user about this driver when
configuring a kernel that does not support the AMD ISP.
Fixes: e97435ab09f3ad7b ("pinctrl: amd: isp411: Add amdisp GPIO pinctrl")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/3685561e8e3cd1d94bce220eeb6001d659da615c.1742306024.git.geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 5819f18b2ddc..464cc9aca157 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -51,6 +51,7 @@ config PINCTRL_AMD config PINCTRL_AMDISP tristate "AMDISP GPIO pin control" + depends on DRM_AMD_ISP || COMPILE_TEST depends on HAS_IOMEM select GPIOLIB select PINCONF |