aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-exynos.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-10-11 04:11:16 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-10-15 03:10:12 -0400
commit595be7268a85735d229451821b56f122d09d7bdc (patch)
treeeefa13ddc638a1fc5e987dee179ac951aea7b90b /drivers/pinctrl/pinctrl-exynos.h
parent1b6056d6db2426cd612f03dabacf655ecb6a27ae (diff)
pinctrl: exynos: Use one IRQ domain per pin bank
Instead of registering one IRQ domain for all pin banks of a pin controller, this patch implements registration of per-bank domains. At a cost of a little memory overhead (~2.5KiB for all GPIO interrupts of Exynos4x12) it simplifies driver code and device tree sources, because GPIO interrupts can be now specified per banks. Example: device { /* ... */ interrupt-parent = <&gpa1>; interrupts = <3 0>; /* ... */ }; Signed-off-by: Tomasz Figa <t.figa@samsung.com> Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-exynos.h')
-rw-r--r--drivers/pinctrl/pinctrl-exynos.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pinctrl/pinctrl-exynos.h b/drivers/pinctrl/pinctrl-exynos.h
index 5d8e380fbadf..f05efa074658 100644
--- a/drivers/pinctrl/pinctrl-exynos.h
+++ b/drivers/pinctrl/pinctrl-exynos.h
@@ -74,18 +74,6 @@
74 } 74 }
75 75
76/** 76/**
77 * struct exynos_geint_data: gpio eint specific data for irq_chip callbacks.
78 * @bank: pin bank from which this gpio interrupt originates.
79 * @pin: pin number within the bank.
80 * @eint_offset: offset to be added to the con/pend/mask register bank base.
81 */
82struct exynos_geint_data {
83 struct samsung_pin_bank *bank;
84 u32 pin;
85 u32 eint_offset;
86};
87
88/**
89 * struct exynos_weint_data: irq specific data for all the wakeup interrupts 77 * struct exynos_weint_data: irq specific data for all the wakeup interrupts
90 * generated by the external wakeup interrupt controller. 78 * generated by the external wakeup interrupt controller.
91 * @domain: irq domain representing the external wakeup interrupts 79 * @domain: irq domain representing the external wakeup interrupts