The fsl,qoriq-gpio controller is present on MPC85xx-based platforms
(including QEMU ppce500). Add ARCH_MPC85XX to the depends list so the
driver can be selected for these platforms.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Ahmad Fatoum <[email protected]>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 17d5587ea8cf..988d08cf143c 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -102,7 +102,7 @@ config GPIO_MALTA_FPGA_I2C
 
 config GPIO_MPC8XXX
        bool "MPC512x/MPC8xxx/QorIQ GPIO support"
-       depends on ARCH_LAYERSCAPE || COMPILE_TEST
+       depends on ARCH_LAYERSCAPE || ARCH_MPC85XX || COMPILE_TEST
        select GPIO_GENERIC
        help
          Say Y here if you're going to use hardware that connects to the
-- 
2.47.3


Reply via email to