From: Neil Armstrong <neil.armstrong@linaro.org>
To: xianwei.zhao@amlogic.com,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] arm64: dts: amlogic: a9: Add IR controller support
Date: Thu, 10 Sep 2026 09:14:20 +0200 [thread overview]
Message-ID: <e51d62c0-7d02-4516-8f03-9d1be8c5c64b@linaro.org> (raw)
In-Reply-To: <20260903-a9-ir-v3-2-cd471c667c15@amlogic.com>
On 9/3/26 07:22, Xianwei Zhao via B4 Relay wrote:
> From: Xianwei Zhao <xianwei.zhao@amlogic.com>
>
> Add the IR controller node for the Amlogic A9 SoC and describe the
> corresponding remote input pin configuration.
>
> Enable the IR controller on the Amlogic A9 A311Y3 BY401 board with the
> proper pinctrl setting.
>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
> ---
> arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-by401.dts | 6 ++++++
> arch/arm64/boot/dts/amlogic/amlogic-a9.dtsi | 14 ++++++++++++++
> 2 files changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-by401.dts b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-by401.dts
> index a6b380ca47a5..389c9de3dc3c 100644
> --- a/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-by401.dts
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-by401.dts
> @@ -38,3 +38,9 @@ secmon_reserved: secmon@5000000 {
> &uart_b {
> status = "okay";
> };
> +
> +&ir {
> + status = "okay";
> + pinctrl-0 = <&remote_input_ao_pins>;
> + pinctrl-names = "default";
> +};
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a9.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a9.dtsi
> index b0e0fadeed82..790109aa7c9c 100644
> --- a/arch/arm64/boot/dts/amlogic/amlogic-a9.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-a9.dtsi
> @@ -241,6 +241,13 @@ test_n: gpio@c0 {
> #gpio-cells = <2>;
> gpio-ranges = <&aobus_pinctrl 0 (AMLOGIC_GPIO_TEST_N<<8) 1>;
> };
> +
> + func-ir-in {
> + remote_input_ao_pins: group-remote-input-ao-pins {
> + pinmux = <AML_PINMUX(AMLOGIC_GPIO_D, 5, 1)>;
> + bias-disable;
> + };
> + };
> };
>
> gpio_ao_intc: interrupt-controller@4080 {
> @@ -254,6 +261,13 @@ gpio_ao_intc: interrupt-controller@4080 {
> 394 395 396 397 398 399 400 401 402 403>;
> };
>
> + ir: ir@14080 {
> + compatible = "amlogic,a9-ir", "amlogic,meson-s4-ir";
> + reg = <0x0 0x14080 0x0 0x30>;
> + interrupts = <GIC_SPI 413 IRQ_TYPE_EDGE_RISING>;
> + status = "disabled";
> + };
> +
> uart_b: serial@1e000 {
> compatible = "amlogic,a9-uart",
> "amlogic,meson-s4-uart";
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
prev parent reply other threads:[~2026-09-10 7:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 5:22 [PATCH v3 0/2] ir: support IR for Amlogic A9 SoC Xianwei Zhao via B4 Relay
2026-09-03 5:22 ` [PATCH v3 1/2] dt-bindings: media: meson6-ir: Add Amlogic A9 IR compatible Xianwei Zhao via B4 Relay
2026-09-03 5:22 ` [PATCH v3 2/2] arm64: dts: amlogic: a9: Add IR controller support Xianwei Zhao via B4 Relay
2026-09-10 7:14 ` Neil Armstrong [this message]
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=e51d62c0-7d02-4516-8f03-9d1be8c5c64b@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=xianwei.zhao@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
all inboxes | Powered by JetHome®