gpio: dwapb: enable for ARC
authorVineet Gupta <vgupta@synopsys.com>
Tue, 31 Mar 2015 08:30:07 +0000 (11:30 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Apr 2015 15:02:55 +0000 (17:02 +0200)
Synopsys SDP platform uses DW GPIO controller in design with
ARC cores. So adding ARC to architectures that may select this
GPIO controller.

Even though support for Synopsys SDP is yet to be submitted we'll need
this tiny option enabled at least for properly working interrupts (DW
GPIO controller is used as interrupt controller).

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 97c3184..5b821a1 100644 (file)
@@ -142,7 +142,7 @@ config GPIO_DAVINCI
 
 config GPIO_DWAPB
        tristate "Synopsys DesignWare APB GPIO driver"
-       depends on ((ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK
+       depends on ((ARC || ARM || ARM64) && OF_GPIO) || X86_INTEL_QUARK
        select GPIO_GENERIC
        select GENERIC_IRQ_CHIP
        help