From: Jerome Brunet <jbrunet@baylibre.com>
To: Xingyu Chen <xingyu.chen@amlogic.com>,
Marc Zyngier <marc.zyngier@arm.com>,
Jason Cooper <jason@lakedaemon.net>,
Thomas Gleixner <tglx@linutronix.de>,
Kevin Hilman <khilman@baylibre.com>
Cc: Rob Herring <robh@kernel.org>,
Jianxin Pan <jianxin.pan@amlogic.com>,
linux-kernel@vger.kernel.org, Carlo Caione <carlo@caione.org>,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
Heiner Kallweit <hkallweit1@gmail.com>
Subject: Re: [PATCH 2/2] irqchip/meson-gpio: Add support for Meson-G12A SoC
Date: Mon, 03 Dec 2018 10:19:26 +0100 [thread overview]
Message-ID: <7a2f88d849ada782de6e27676518d0b9897e30e7.camel@baylibre.com> (raw)
In-Reply-To: <20181203061324.36248-3-xingyu.chen@amlogic.com>
On Mon, 2018-12-03 at 14:13 +0800, Xingyu Chen wrote:
> The Meson-G12A SoC uses the same GPIO interrupt controller IP block as the
> other Meson SoCs, A totle of 100 pins can be spied on, which is the sum of:
>
> - 223:100 undefined (no interrupt)
> - 99:97 3 pins on bank GPIOE
> - 96:77 20 pins on bank GPIOX
> - 76:61 16 pins on bank GPIOA
> - 60:53 8 pins on bank GPIOC
> - 52:37 16 pins on bank BOOT
> - 36:28 9 pins on bank GPIOH
> - 27:12 16 pins on bank GPIOZ
> - 11:0 12 pins in the AO domain
>
> Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
> Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
> ---
> drivers/irqchip/irq-meson-gpio.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-
> gpio.c
> index 7b531fd075b8..971e8dea069a 100644
> --- a/drivers/irqchip/irq-meson-gpio.c
> +++ b/drivers/irqchip/irq-meson-gpio.c
> @@ -67,12 +67,17 @@ static const struct meson_gpio_irq_params axg_params = {
> .nr_hwirq = 100,
> };
>
> +static const struct meson_gpio_irq_params g12a_params = {
> + .nr_hwirq = 100,
> +};
> +
Same comment as on i2c, the g12 seems compatible with the axg.
Is this patchset patchset really necessary ?
> 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
> },
> { .compatible = "amlogic,meson-gxbb-gpio-intc", .data = &gxbb_params
> },
> { .compatible = "amlogic,meson-gxl-gpio-intc", .data = &gxl_params },
> { .compatible = "amlogic,meson-axg-gpio-intc", .data = &axg_params },
> + { .compatible = "amlogic,meson-g12a-gpio-intc", .data = &g12a_params
> },
> { }
> };
>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2018-12-03 9:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 6:13 [PATCH 0/2] irqchip/meson-gpio: Add support for Meson-G12A SoC Xingyu Chen
2018-12-03 6:13 ` [PATCH 1/2] dt-bindings: interrupt-controller: New binding " Xingyu Chen
2018-12-19 14:21 ` Rob Herring
2018-12-03 6:13 ` [PATCH 2/2] irqchip/meson-gpio: Add support " Xingyu Chen
2018-12-03 9:19 ` Jerome Brunet [this message]
2018-12-03 9:28 ` Xingyu Chen
2018-12-03 10:06 ` Neil Armstrong
2018-12-04 1:51 ` Xingyu Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a2f88d849ada782de6e27676518d0b9897e30e7.camel@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=carlo@caione.org \
--cc=hkallweit1@gmail.com \
--cc=jason@lakedaemon.net \
--cc=jianxin.pan@amlogic.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
--cc=xingyu.chen@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).