From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3061EC624DB for ; Thu, 3 Sep 2026 05:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References: Message-Id:MIME-Version:Subject:Date:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w1X+K10hgxvLIZrZG3CdKPEly0bnr/5Cwrg84eQoGxc=; b=aRREPcY9JUvMIS IqhWomoIxb/IW8elesNJpL767vFhMYnXXcVceJcoRFv3hpS+k2CwNvhDR4VGRc6X9Hh1SIjjG6GQQ CLRcT3D29eL4RR/GKP3kTOOvVeOI7vhsjB9o5cAYqORZiGpiJ14+oxcQUB4M3zeiNCBU3XlLHudrX uhgMrGGKFkeflNcPczgn9VkvB1IqJs+IOHBD/Xsf17+J+M1PNDZ9wlURZkbkUybwIccD2EUm01E9o 3kZaPrsT6rLBXdJq5j/R4hW0QMw6LFo16TjM6Sj95do8+0eWsOQFPWqeR0Jz6tNcl1hWFE76Hky6j twHmYNdCA2GWdIBsH8Fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1zuZ-0000000GO20-3FLs; Thu, 03 Sep 2026 05:22:55 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x1zuY-0000000GO1a-2k2B; Thu, 03 Sep 2026 05:22:54 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id BED0D43E73; Thu, 3 Sep 2026 05:22:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 8164BC2BCFA; Thu, 3 Sep 2026 05:22:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1788412973; bh=s/o95S4FhU+jC7Wmsq/nZVakaBKql9Q4l/U0A1Bd3rU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=EnCS3hNofvaVajEFNKVq9X2rBDS45/aUsA514D5snmoM3f/fl4cDVYPM9iOjM1UGG t86C3HXN13X1D807cDg/mzc90wF6Jp2QXUkxVreMzZuMKObzbuNfb0qDwWBNyy94yM x77P1fVlaiTghacRVmgY6/FqxbgyWmOW8KZBTkx/Uxfpq5WpjvM5Cba1FsSPBcs/8h 4grKowt9Y0nmWa+W1JZtZxC65EzuTeepc7IXSsI7Km3PEZ8XlqvkiYQOjA4KOw7OHU u11QAUiUORMKul/1J3uSQ2CcOuW+0fHYfQOWAM6MhYoFGy5dfCCxy/vRWFdAVSz977 j7vY2L78g3w2w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63810C624D6; Thu, 3 Sep 2026 05:22:53 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Thu, 03 Sep 2026 05:22:45 +0000 Subject: [PATCH v3 2/2] arm64: dts: amlogic: a9: Add IR controller support MIME-Version: 1.0 Message-Id: <20260903-a9-ir-v3-2-cd471c667c15@amlogic.com> References: <20260903-a9-ir-v3-0-cd471c667c15@amlogic.com> In-Reply-To: <20260903-a9-ir-v3-0-cd471c667c15@amlogic.com> To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl 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, Xianwei Zhao X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788412970; l=2026; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=4XM6Y1ImcmUqhmzv2hftpr5nRrtgzRpUB7Li778elRM=; b=63m9tnftXu5IZ+wc3ZuSf+gJWRg95a1PrbZQBSsS44TEYCK0CguzK5jTIGsxhYlPlS5WEpG9S qkNSVznkurZC0y+XvOknrPY98hnowgM0KwsF4nYIDl4+wR/u7Srobnn X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=dWwxtWCxC6FHRurOmxEtr34SuBYU+WJowV/ZmRJ7H+k= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20251216 with auth_id=578 X-Original-From: Xianwei Zhao X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: xianwei.zhao@amlogic.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Xianwei Zhao 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 --- 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 = ; + 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 = ; + status = "disabled"; + }; + uart_b: serial@1e000 { compatible = "amlogic,a9-uart", "amlogic,meson-s4-uart"; -- 2.52.0 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic