irqchip: meson: add gpio IRQ support for tl1

PD#172587: irqchip: add gpio IRQ support for tl1

Change-Id: I35480088e85c0bb26d04158ced42c3d85153f806
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
This commit is contained in:
Xingyu Chen
2018-09-15 12:22:34 +08:00
committed by Jianxin Pan
parent 6da2e5835a
commit e5378c8b68
2 changed files with 6 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ Required properties:
“amlogic,meson-txlx-gpio-intc” for TXLX SoCs (T962X, T962E)
“amlogic,meson-g12a-gpio-intc” for G12A SoCs (S905D2, S905X2, S905Y2)
“amlogic,meson-txl-gpio-intc” for TXL SoCs (T950, T952, T960, T962)
“amlogic,meson-tl1-gpio-intc” for TL1 SoCs (T962X2)
- 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.

View File

@@ -79,6 +79,10 @@ static const struct meson_gpio_irq_params txl_params = {
.nr_hwirq = 93,
};
static const struct meson_gpio_irq_params tl1_params = {
.nr_hwirq = 102,
};
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 },
@@ -88,6 +92,7 @@ static const struct of_device_id meson_irq_gpio_matches[] = {
{ .compatible = "amlogic,meson-txlx-gpio-intc", .data = &txlx_params },
{ .compatible = "amlogic,meson-g12a-gpio-intc", .data = &g12a_params },
{ .compatible = "amlogic,meson-txl-gpio-intc", .data = &txl_params },
{ .compatible = "amlogic,meson-tl1-gpio-intc", .data = &tl1_params },
{ }
};