From: Yegor Yefremov <[email protected]>

OMAP GPIO driver needs TI_SYSC to initialize its clocks when
using a devicetree-based setup.

Signed-off-by: Yegor Yefremov <[email protected]>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index db077e472a8..b5729a39774 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -340,6 +340,7 @@ config NPCM_SGPIO
 config OMAP_GPIO
        bool "TI OMAP GPIO driver"
        depends on ARCH_OMAP2PLUS
+       select TI_SYSC if OF_CONTROL
        default y
        help
          Support GPIO controllers on the TI OMAP3/4/5 and related (such as
-- 
2.34.1

Reply via email to