From patchwork Wed Jul 22 22:26:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 2726 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mxe881.netcup.net (Postfix) with ESMTPS id AF09E1C00D4 for ; Thu, 23 Jul 2026 00:30:22 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=arm.com; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-24632-noreply=patchwork.local@lists.linux.dev smtp.helo=sea.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.234.253.10 as permitted sender) client-ip=172.234.253.10; envelope-from=linux-sunxi+bounces-24632-noreply=patchwork.local@lists.linux.dev; helo=sea.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 072473022054 for ; Wed, 22 Jul 2026 22:30:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4091B3BBFAB; Wed, 22 Jul 2026 22:30:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="PFkuEqlb" X-Original-To: linux-sunxi@lists.linux.dev Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDD09285CB9 for ; Wed, 22 Jul 2026 22:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784759420; cv=none; b=SEBh5iw6ZV5FbPmcgvlrHGndQEOUpYR9xXZm/iPGG8A2moy2IuPRlbMrZu0TQymFLElnGYvU5aidhA/S4mOPCbDxg4gyOQAsCBVvzEFqqw7NhhuArZkr022fTKSWl/pGU2nyQ4yNSKAaLChGIcOFyVYelxQE0+H+7MMcn7CHwjE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784759420; c=relaxed/simple; bh=GEJgn95LVfTN0f7LCnR1Kb7DD6JzpxxaVqfo9augIsY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ttMEoZrJUox+4N+Er1iLLwtEIkpuYaKP119jS6OJXRUXfPbwn8iw4KgyYFg9OHIYsK9++0zkgd2zo1m7HYe2m7tFBTdcbDJJdXt4CV1rh1PEAE+6BDG7JPixyoVxWOZpPsymBUmXuUZlyw12itWi5qkhNZ2Yz/x9XAD0O/NbK78= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=PFkuEqlb; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 240561595; Wed, 22 Jul 2026 15:30:14 -0700 (PDT) Received: from ryzen.fritz.box (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DE0DD3F86F; Wed, 22 Jul 2026 15:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1784759418; bh=GEJgn95LVfTN0f7LCnR1Kb7DD6JzpxxaVqfo9augIsY=; h=From:To:Cc:Subject:Date:From; b=PFkuEqlbZtbWide5d48YajwaebabyjfwC2wrnCMbpT+edBo6s8ZijZ+rSE5LgriMj tGBp3Qu+dG5Cc5ApROTcLIRmveaVFSZ7sM/TUQaJIOe8vd4Ea01v3OI4/Z0ejk+6ZD fS+T9fE+QV4CWm3heFcLh4NhBqfdmDxs2nMBUPYI= From: Andre Przywara To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Justin Suess Subject: [PATCH] arm64: dts: allwinner: a523: enable IR on the Avaota A1 Date: Thu, 23 Jul 2026 00:26:27 +0200 Message-ID: <20260722222627.14138-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.46.4 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-0.66 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.234.253.10:from]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.15)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; PRECEDENCE_BULK(0.00)[]; R_DKIM_ALLOW(0.00)[arm.com:s=foss]; FROM_HAS_DN(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[arm.com:email,arm.com:dkim]; TAGGED_RCPT(0.00)[dt]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,gmail.com]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[andre.przywara@arm.com,linux-sunxi@lists.linux.dev]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; DMARC_POLICY_ALLOW(0.00)[arm.com,none]; RCPT_COUNT_SEVEN(0.00)[11]; DKIM_TRACE(0.00)[arm.com:+]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:172.234.253.10]; FORGED_SENDER_MAILLIST(0.00)[]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[bounces-24632-noreply=patchwork.local]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: AF09E1C00D4 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The Avaota A1 board has an IR receiver chip on the PCB (next to the Ethernet jacks), wired to the PI8 pin on the SoC. Add the pin description to the PIO DT node, and enable the CIR receiver in the main power domain. Tested on the board with evtest and some random TV remote control. Signed-off-by: Andre Przywara --- Hi, this goes on top of Justin's A523/H728/T527 IR receiver series. Cheers, Andre arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 7 +++++++ arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 6 ++++++ 2 files changed, 13 insertions(+) base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482 prerequisite-patch-id: 7deae1861f99fd36ada1af9c830c337374a74980 prerequisite-patch-id: 0175281b3456fb2bfca8cc0e99238583682af0f1 prerequisite-patch-id: 93ebe68eb0b466e360c6a02e5d936be910c85752 diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi index 19771aac68e53..770433b4f905b 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi @@ -155,6 +155,13 @@ i2s2_pi_pins: i2s2-pi-pins { bias-disable; }; + /omit-if-no-ref/ + ir_rx_pin: ir-rx-pin { + pins = "PI8"; + allwinner,pinmux = <3>; + function = "cir_rx"; + }; + /omit-if-no-ref/ ledc_ph_pin: ledc-ph-pin { pins = "PH19"; diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts index 474354fbfcec1..994f1e4f0ce7d 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts +++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts @@ -100,6 +100,12 @@ &gpu { status = "okay"; }; +&ir { + pinctrl-names = "default"; + pinctrl-0 = <&ir_rx_pin>; + status = "okay"; +}; + &ledc { pinctrl-names = "default"; pinctrl-0 = <&ledc_ph_pin>;