i.MX7 has GPCv2 IP block and should be one of the main users of that
driver. Unitl now, however, this driver was not being used by i.MX7
code and GPCv2 block not specified in corresponding .dts(i). In light
of the series [1] and problems that lack of the driver creates with it
[2], enable this option when i.MX7 support is selected.

[1] https://lkml.org/lkml/2017/4/13/327
[2] https://lkml.org/lkml/2017/4/13/646

Cc: yurov...@gmail.com
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Cc: Shawn Guo <shawn...@kernel.org>
Cc: Tyler Baker <tyler.ba...@linaro.org>
Signed-off-by: Andrey Smirnov <andrew.smir...@gmail.com>
---

Changes since v1:

        - Better commit message.

 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 125528f..8d87546 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -250,7 +250,7 @@ config RENESAS_H8S_INTC
        select IRQ_DOMAIN
 
 config IMX_GPCV2
-       bool
+       def_bool y if SOC_IMX7D
        select IRQ_DOMAIN
        help
          Enables the wakeup IRQs for IMX platforms with GPCv2 block
-- 
2.9.3

Reply via email to