devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: neil.armstrong@linaro.org
To: Huqiang Qin <huqiang.qin@amlogic.com>,
	tglx@linutronix.de, maz@kernel.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	khilman@baylibre.com, jbrunet@baylibre.com,
	martin.blumenstingl@googlemail.com, hkallweit1@gmail.com
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org
Subject: Re: [PATCH 2/3] irqchip: Add support for Amlogic-T7 SoCs
Date: Thu, 14 Sep 2023 10:26:32 +0200	[thread overview]
Message-ID: <93bb0a7e-3f58-4755-bf31-a694e60760d0@linaro.org> (raw)
In-Reply-To: <20230913080924.3336391-3-huqiang.qin@amlogic.com>

On 13/09/2023 10:09, Huqiang Qin wrote:
> The Amlogic-T7 SoCs support 12 GPIO IRQ lines compared with previous
> serial chips and have something different, details are as below.
> 
> IRQ Number:
> - 156      1 pin  on bank TESTN
> - 155:148  8 pins on bank H
> - 147:129 19 pins on bank Y
> - 128:115 14 pins on bank M
> - 114:91  24 pins on bank T
> - 90:77   14 pins on bank Z
> - 76:70    7 pins on bank E
> - 69:57   13 pins on bank D
> - 56:40   17 pins on bank W
> - 39:20   20 pins on bank X
> - 19:13    7 pins on bank C
> - 12:0    13 pins on bank B
> 
> Signed-off-by: Huqiang Qin <huqiang.qin@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 f88df39f4129..9a1791908598 100644
> --- a/drivers/irqchip/irq-meson-gpio.c
> +++ b/drivers/irqchip/irq-meson-gpio.c
> @@ -154,6 +154,10 @@ static const struct meson_gpio_irq_params c3_params = {
>   	INIT_MESON_S4_COMMON_DATA(55)
>   };
>   
> +static const struct meson_gpio_irq_params t7_params = {
> +	INIT_MESON_S4_COMMON_DATA(157)
> +};
> +
>   static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = {
>   	{ .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params },
>   	{ .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params },
> @@ -165,6 +169,7 @@ static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = {
>   	{ .compatible = "amlogic,meson-a1-gpio-intc", .data = &a1_params },
>   	{ .compatible = "amlogic,meson-s4-gpio-intc", .data = &s4_params },
>   	{ .compatible = "amlogic,c3-gpio-intc", .data = &c3_params },
> +	{ .compatible = "amlogic,t7-gpio-intc", .data = &t7_params },
>   	{ }
>   };
>   

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

  reply	other threads:[~2023-09-14  8:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13  8:09 [PATCH 0/3] Add GPIO interrupt support for Amlogic-T7 SoCs Huqiang Qin
2023-09-13  8:09 ` [PATCH 1/3] dt-bindings: interrupt-controller: Add " Huqiang Qin
2023-09-13 14:32   ` Conor Dooley
2023-09-13  8:09 ` [PATCH 2/3] irqchip: " Huqiang Qin
2023-09-14  8:26   ` neil.armstrong [this message]
2023-09-27  6:07     ` Lucas Tanure
2023-09-13  8:09 ` [PATCH 3/3] arm64: dts: Add gpio_intc node " Huqiang Qin
2023-09-14  8:26   ` neil.armstrong
2023-09-27  6:07     ` Lucas Tanure
2023-11-13  6:03 ` [PATCH 0/3] Add GPIO interrupt support " Huqiang Qin

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=93bb0a7e-3f58-4755-bf31-a694e60760d0@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=huqiang.qin@amlogic.com \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=maz@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /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).