irqchip: meson: add gpio IRQ support for txl

PD#168480: irqchip: meson: add gpio IRQ support for txl

Change-Id: I03b32a3ffe4a7e9b63631ac5e593bcbf346b8765
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
Xingyu Chen
2018-06-18 14:45:20 +08:00
committed by Yixun Lan
parent d049ab634b
commit 1d4900ea6c
2 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ Required properties:
“amlogic,meson-axg-gpio-intc” for AXG SoCs (A113G, A113D) or
“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)
- 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

@@ -75,6 +75,10 @@ static const struct meson_gpio_irq_params g12a_params = {
.nr_hwirq = 100,
};
static const struct meson_gpio_irq_params txl_params = {
.nr_hwirq = 93,
};
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 },
@@ -83,6 +87,7 @@ static const struct of_device_id meson_irq_gpio_matches[] = {
{ .compatible = "amlogic,meson-axg-gpio-intc", .data = &axg_params },
{ .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 },
{ }
};