mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
irqchip: tm2 irqchip support [1/1]
PD#SWPL-5651 Problem: tm2 has 2 extra pins than tl1, should use new param data Solution: add tm2 param data Verify: T962e2_ab319 Change-Id: I77aaaead7b10024cd5f12354ba6b47db74ba96f5 Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ Required properties:
|
||||
“amlogic,meson-txl-gpio-intc” for TXL SoCs (T950, T952, T960, T962)
|
||||
“amlogic,meson-tl1-gpio-intc” for TL1 SoCs (T962X2)
|
||||
“amlogic,meson-sm1-gpio-intc” for SM1 SoCs (S905D3, S905X3, S905Y3)
|
||||
“amlogic,meson-tm2-gpio-intc” for TM2 SoCs (T962X3, T962E2)
|
||||
- interrupt-parent : a phandle to the GIC the interrupts are routed to.
|
||||
Usually this is provided at the root level of the device tree as it is
|
||||
common to most of the SoC.
|
||||
|
||||
@@ -90,6 +90,11 @@ static const struct meson_gpio_irq_params sm1_params = {
|
||||
.support_double_edge = 1,
|
||||
};
|
||||
|
||||
static const struct meson_gpio_irq_params tm2_params = {
|
||||
.nr_hwirq = 104,
|
||||
.support_double_edge = 1,
|
||||
};
|
||||
|
||||
static const struct of_device_id meson_irq_gpio_matches[] = {
|
||||
{ .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params },
|
||||
{ .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params },
|
||||
@@ -101,6 +106,7 @@ static const struct of_device_id meson_irq_gpio_matches[] = {
|
||||
{ .compatible = "amlogic,meson-txl-gpio-intc", .data = &txl_params },
|
||||
{ .compatible = "amlogic,meson-tl1-gpio-intc", .data = &tl1_params },
|
||||
{ .compatible = "amlogic,meson-sm1-gpio-intc", .data = &sm1_params },
|
||||
{ .compatible = "amlogic,meson-tm2-gpio-intc", .data = &tm2_params },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user