From patchwork Tue Jul 28 02:49:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Suess X-Patchwork-Id: 2812 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 906381C082B for ; Tue, 28 Jul 2026 04:57:50 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-24785-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-24785-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 37DB43120076 for ; Tue, 28 Jul 2026 02:49:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18C2C4908D5; Tue, 28 Jul 2026 02:49:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I0sP4/gq" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A67A17A2E8 for ; Tue, 28 Jul 2026 02:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206963; cv=none; b=nCPuDs/7L9TDC087fP1pFLzPePBGTPeG+Y2Rt5gcb2Iw6w2gOr7F7dBIvxxnUlc5gCh9pjd35eBxsfjFKG1qVcmxF2uQ3+avuc/RGNiBHh/VB8r2safRrjJ6rRaz0yEP2f8VoDnLc/0cKqerxBitTUUMofEorZ9NCtGSC9zFuBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206963; c=relaxed/simple; bh=ecX7vvzvXUD/N+RKjcW5yLA/Y13cFZUMxRQHQDuG8VM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n0xXgCXx+Dh3LZweeadfWqLBcPSYn+NS6p339fl+N7LdKzp4oIgn6kNCEDGr9pjiEhqs7g3IzX3MPlcY9Ye3q7rQKzFcG/ikudx95yeDCUA6HL944F4O7pLLniHQC7fb8r3bu2pVnva054eIsWQJztQtr7hl5SaeyzGHBknwCWY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=I0sP4/gq; arc=none smtp.client-ip=209.85.128.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-81ec29f1d07so40827477b3.1 for ; Mon, 27 Jul 2026 19:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785206960; x=1785811760; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IJiZXFpLnQ5pvNr1ABpUZxXJqDyWZjVowkdMMOv9maw=; b=I0sP4/gq/+ODz9fVx7CSHxhx6op1SKRZoDlHaWr/PGKAQmfeZOytSXZE8PmART9dC6 LLJv2HVQjtK06Cv9fyAm0zq+qEtULeQlS2lLkOSeBo9mJuYaVcO+FGcVV0rsmcAMcCc3 Ym+RJfazMhxBwToSis9R6sU+Lp3RokzdBDuW6uSd2CsB9Qcbzx18ZA/hHspFFmYhNTMh IhwNJ8Xa3RhCE2Z9TylnKHIEIG4mNbhElgHWiemTjxGOSTabiEaFzKIcXeIfybKpDOcw ajNsGzI0iV12oUyGPWZDLxLDDV3aLlFbMl1H1lYBQUDxiEcRrs8FMIacwBwLAcpugxI4 MHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785206960; x=1785811760; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=IJiZXFpLnQ5pvNr1ABpUZxXJqDyWZjVowkdMMOv9maw=; b=jDmmfzC7A+RfLRXLBBW4XPZKZ3IpgxPx6uMTs4xmsocdbOhvKwO+QOnUj1rMRnqoky k7eNQKjJBT1YPV6Zv6u3KjxBxo+WCo5c7tav+eyNXg6AvomT9mox4VIj0a2ccsCjcQ90 ibtxc34UL+I58yO4aKDxXUpjMmw3piQRVxsn7kTeYoK37g3HfiElnVGjjehlXp8pJarN 6PXLBLY4FIe6HgCRnDU58rElJ0UVZGxdjeEugt+I7spHf/eWSNwPQehh9ZkMDTm2F2hE koBfKqstC22PuGsSZlk3Z9msDOKsk0PHWQOEQ2XchpIUpDsjdaASmMOSLUf/4J9kEif8 Ok6Q== X-Forwarded-Encrypted: i=1; AHgh+RpVAJwixvZgWLvg+2nEXbzZgL8hppqVnCAX1VGjnvh7/TYzrRqdmjlJmPp00SAwJN/ARECqEEaZHRuVEw==@lists.linux.dev X-Gm-Message-State: AOJu0YztCd4Svpx9GjPbazepoGY0MWBxO0vhnLkK0SrUu5ha5Ck7vKu9 3eKT+Bt7wpzH7STAJGSMA9UTddr6fWlNabrQmO1FxroKKvNjrwhOSLUw X-Gm-Gg: AR+sD13WrX+6EH6WKohfMQaIs+vnBWkpf6A4dxIvdR2xdJ2W9e3rE615Jkp1YuNKrYq hBP4EGflCNDab0zKfMXuhoNrsQIVoJaWIWtn+OIa8sdnS1AZZNtfMpU/e7GWOaV8ZZrhpPCddWf vWkBm3cxaJ2/5UEsJdnvb9HQLR/Vi0GumTzJlaTtSKLTifPxeRNh5ZCoFU8WRZ5iZVKpBKuSDST zXNQhlmpa9WjLWl3IVRRVH3OgWRP7riPOziu6HQNaCC0/WoGVVfCvdE0Q2ArAo05MuT4dpmp5sC cg05eKpxZVZuq5xEt0mTe0Mh/NGNvYt5CfErAJ9gMhwJT5HUTCBlKN0A24PNschObI8zyqWgFAY /bsu9BxiNRBIG+Ghu82W2okEdAqibeMp44y4ZUgrrA9r6oRiZlh/6aMnJC8aIFJ9prXkvBbcH8M epU3MfJ3ZSY51PRPZzbcEMbHHO5vISkzXDejJE X-Received: by 2002:a05:690c:350a:b0:7ff:1a93:be35 with SMTP id 00721157ae682-81f99106fd3mr1842047b3.16.1785206960474; Mon, 27 Jul 2026 19:49:20 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:722a:22a9:308b:2c35]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81f6579f462sm40974847b3.11.2026.07.27.19.49.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 19:49:20 -0700 (PDT) From: Justin Suess To: Sean Young , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Sashiko , Justin Suess , Krzysztof Kozlowski Subject: [PATCH v4 1/4] media: dt-bindings: allwinner,sun4i-a10-ir: add A523 compatible Date: Mon, 27 Jul 2026 22:49:13 -0400 Message-ID: <20260728024916.993224-2-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260728024916.993224-1-utilityemal77@gmail.com> References: <20260728024916.993224-1-utilityemal77@gmail.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 A523 (sun55i) contains a newer revision of the sunxi CIR receiver. The reset defaults match the fixed behaviour of the older IP, so the device works fine when driven as an A31 CIR receiver. Add the A523 compatible, with allwinner,sun6i-a31-ir as the fallback. While at it, merge the standalone compatible entries into a single enum. Cc: Krzysztof Kozlowski Acked-by: Krzysztof Kozlowski Signed-off-by: Justin Suess --- .../devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml index 42dfe22ad5f1..18b28feacf83 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml @@ -16,9 +16,10 @@ allOf: properties: compatible: oneOf: - - const: allwinner,sun4i-a10-ir - - const: allwinner,sun5i-a13-ir - - const: allwinner,sun6i-a31-ir + - enum: + - allwinner,sun4i-a10-ir + - allwinner,sun5i-a13-ir + - allwinner,sun6i-a31-ir - items: - enum: - allwinner,suniv-f1c100s-ir @@ -27,6 +28,7 @@ properties: - allwinner,sun50i-a64-ir - allwinner,sun50i-h6-ir - allwinner,sun50i-h616-ir + - allwinner,sun55i-a523-ir - const: allwinner,sun6i-a31-ir reg: From patchwork Tue Jul 28 02:49:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Suess X-Patchwork-Id: 2813 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 DBF0B1C082B for ; Tue, 28 Jul 2026 04:57:51 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-24786-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-24786-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 75350308D6E4 for ; Tue, 28 Jul 2026 02:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 561892F39B8; Tue, 28 Jul 2026 02:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UJIECjId" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6E742F7F0E for ; Tue, 28 Jul 2026 02:49:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206965; cv=none; b=KLvlSlPZkrMAyQXpBBxnjosOV1wWiutAvTTNWbYxfZHYsGO9YKyud73/pmsCietS62O607uaI4LrNlWUjWsnLZbAYKTMcym8AUdiP0i0m5F4dmdKv3fahWAFK1ar/jztuKp5iYDLLbQcd/iqLisd4T3txBHeOg3yxKBLrmd6O7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206965; c=relaxed/simple; bh=RLTBSlbt/LOJRU9vPNR3jnmVXbPZkeZQlXzT4hkRuR0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cK8gzMKc+WjrrNh3Z9/sfxZi8XeT3VrrzsON/i+bI44KpIwx4pnm/BRyRDB5+AtSG7hSUC97KeZpDGohCQE6Q9SunRONqq4zMjFlFPMm40B9LUXoKPyJ2LSGnAc7pqf8cX7zr4nyMV7ysDaEhrGjw+EeeHSNQkeT+9+8brnaTg0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UJIECjId; arc=none smtp.client-ip=209.85.128.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-81ecf499af9so40296587b3.1 for ; Mon, 27 Jul 2026 19:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785206963; x=1785811763; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=SL1KTF1x/wzq2M0G3BusIA5VX7FgJc1o5Gt3hpRnCRU=; b=UJIECjIdS3lzOohQieMuDK9xh2GKEKO3Yb316gcGhWFKsZN/OKKKekyk5ENpgLD1E/ XAnm/Y18smSItSeyl/ic+WMM2vW9h/4pRwzQXFiuxkNySGWvmLViuh2XIw7ZJIe8Vvw1 PaH0gUFxDoGrm5xOVPZGZYKoOSWJNvkdydHxap+fAJfcB5arT8i9PW/XSO23/JFi/OHi lsn8MqRNbsKAKD0hHVLDIc8Zx/nSGAHBbenDMz+8BurQmi6DXcVqTZthmWjcsRrGviNo wPo7jvLws9zVtYKgnxwQDqPnTxlVHrNxE1XXob4pbuu34r88LgpbITjpDOECDUFVMgx3 ghTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785206963; x=1785811763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=SL1KTF1x/wzq2M0G3BusIA5VX7FgJc1o5Gt3hpRnCRU=; b=SgjhrZVCylZlw4iwQtzN1XhoHIw6nTwm9YOEFN88qblOHyq1uKCkT+FZ9oTeXoyL9b FrTuyxo2jW2ckagysobEgfrv/Bb+HL2qaVFs0fkB2F2FuRSjSvQAr5Ys3xS4hEfgL/F7 rEa0TfM/sy1zIu5nSl9WFZKvUaJYULNfuXZxx5sftWR6MXN7BhBYYSn1H9Tr1fPYD2Pp FhLNKVVk7huMVaD4MfMT4bzgr+za1L+njNauH+I+xaPar8gZsIO2iODDc2GngpORIhCP O3f3e3s98JQCtC+RPlq9ggGQm7XH8zS2XV/HTtpLxFLrsLq/iYetoD17FR3tjyl1nU6+ u48Q== X-Forwarded-Encrypted: i=1; AHgh+RqMkb5AAqHu/eIlzGsGSelH3C6OUbhNl8toYBykhjOCuUjGXHvspu+TtRhMpXWi6qqKnCyZtKuqEjF5fw==@lists.linux.dev X-Gm-Message-State: AOJu0Yx2lHYgi8MNGwkA6KE85/kvTMVDfK6Cl2MfISI+RAyck7J/N1I4 E2ufdgM+bTRjkjqDCLXXivyWGUZK0RzXyWBH9hGRjPTycJL/9sNQhnh2 X-Gm-Gg: AR+sD10HmHEh5f1GJ5P+ZCHNfNyqwhzHDPXdC+D5tMBe0JYXqmZceJ0aQ0RyGwrtzYO BGVTwOdcqRjL4Deq/7nHgn71E5jF7JAxJNkm8hFhSvtffY5XxfXa4v6L8YPt7n4PwaHcKuB0EtX 9haKMVo1JH6rbRrMLLlzSEucZnWm0Dw9zNWoHnMfiJ0u0MrtvinMTdXKIQq3LiB35Hgo0wULvGK xr9Po6lBBK2aHBVnpeDkH904DAMv92gETSd6gzBgx0SL+q3f++Hz4TatOSzfIwa4TAskXm8T05i wfw32C+Y8s7XUWLSthZ9/oidPgVsoWFPisbVt8HN0h4yTQsT791Qase07Zk4mEUu7XbWP/LtP05 tPFcWr1ZFITnFw/IFv78GiIteRxtFT5eiVi8oJH8n15tNMY9ggKPHpSRhxH6fKCeQz8PsSMhOwH kklgkLzSf2mM4VvFvUvB7l+AMJImPkWMUQ6NlQ X-Received: by 2002:a05:690c:6d0a:b0:81c:e8ab:c4dc with SMTP id 00721157ae682-81f992b6a75mr2515787b3.51.1785206962862; Mon, 27 Jul 2026 19:49:22 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:722a:22a9:308b:2c35]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81f6579f462sm40974847b3.11.2026.07.27.19.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 19:49:21 -0700 (PDT) From: Justin Suess To: Sean Young , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Sashiko , Justin Suess , Andre Przywara Subject: [PATCH v4 2/4] arm64: dts: allwinner: a523: add IR receiver nodes Date: Mon, 27 Jul 2026 22:49:14 -0400 Message-ID: <20260728024916.993224-3-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260728024916.993224-1-utilityemal77@gmail.com> References: <20260728024916.993224-1-utilityemal77@gmail.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 A523 has two CIR receivers, both compatible with the A31 CIR: one in the CPUX domain, clocked from the main CCU, and one in the RTC power domain, clocked from the R-CCU. The RTC domain instance's RX signal is typically muxed to PL11, as on the X96Q Pro+. The CPUX instance's can be muxed to PI8, which is what the Avaota A1 uses. Add nodes for both instances, disabled by default. Since the RX signal of each instance can be routed to more than one pin, boards with an IR receiver are expected to add the pinctrl properties next to where they enable the node. Add pinmux nodes for both pins: PL11 for the RTC domain instance, and PI8 for the CPUX one. Co-developed-by: Andre Przywara Signed-off-by: Andre Przywara Signed-off-by: Justin Suess --- Notes: v4: - add /omit-if-no-ref/ and rename to r-ir-rx-pl-pin (Chen-Yu) - take the PI8 pinmux node from Andre's Avaota patch, named ir-rx-pi-pin (Chen-Yu); Co-developed-by added and Andre's Reviewed-by dropped, since the patch has a new hunk plus pinmux node name change. .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi index ca6a16807049..f0b74693da7f 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-pi-pin { + pins = "PI8"; + allwinner,pinmux = <3>; + function = "cir_rx"; + }; + /omit-if-no-ref/ ledc_ph_pin: ledc-ph-pin { pins = "PH19"; @@ -327,6 +334,17 @@ ccu: clock-controller@2001000 { #reset-cells = <1>; }; + ir: ir@2005000 { + compatible = "allwinner,sun55i-a523-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x02005000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_IR_RX>, <&ccu CLK_IR_RX>; + clock-names = "apb", "ir"; + resets = <&ccu RST_BUS_IR_RX>; + status = "disabled"; + }; + ledc: led-controller@2008000 { compatible = "allwinner,sun55i-a523-ledc", "allwinner,sun50i-a100-ledc"; @@ -927,6 +945,24 @@ r_i2c_pins: r-i2c-pins { allwinner,pinmux = <2>; function = "r_i2c0"; }; + + /omit-if-no-ref/ + r_ir_rx_pin: r-ir-rx-pl-pin { + pins = "PL11"; + allwinner,pinmux = <2>; + function = "s_cir_rx"; + }; + }; + + r_ir: ir@7040000 { + compatible = "allwinner,sun55i-a523-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x07040000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_BUS_R_IR_RX>, <&r_ccu CLK_R_IR_RX>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_BUS_R_IR_RX>; + status = "disabled"; }; pck600: power-controller@7060000 { From patchwork Tue Jul 28 02:49:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Suess X-Patchwork-Id: 2810 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id B974B1C082B for ; Tue, 28 Jul 2026 04:50:19 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-24787-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-24787-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 96AF53058A17 for ; Tue, 28 Jul 2026 02:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 541142F12A1; Tue, 28 Jul 2026 02:49:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="asHgmK/5" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4A122F7F12 for ; Tue, 28 Jul 2026 02:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206967; cv=none; b=HhINUYCWssVLDVCz99WDOX2oI7Q5E6HjsaCBg05eGptYQ0gi3Rwz1M7rOMaoVi015zaK70Ta6MgfiB0O1YSsLd0gu2Ek8e891GkUo+qnSX4lPS+4Ld4RZ0eYqqg2BAgOBVzWAg1O3VpGGubTuIc4TunqVoHAQw07P/aXxqsIRd0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206967; c=relaxed/simple; bh=es+rJotQRwyypM61fneWNzwmRxWIGX4iJwW6Sl/cW/w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Bqpj8pWA00ZuXeVvXgtMRpyuUPfTybPdvyvdl2RcUxeLmjlpA4DCSn9LONE71cIiY8GzHvdlUJBEVdinxho4MzkQct9m4ZwzTCDpVLRVixKfeFcZvaZFumTvEdg3OlZWR9HXMacu62kmH1wO10WOKxfmND6kFBSBbPphE/yaXdU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=asHgmK/5; arc=none smtp.client-ip=209.85.128.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-80bb41f7f3cso32915317b3.2 for ; Mon, 27 Jul 2026 19:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785206965; x=1785811765; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=i6eNcf+AhwmRS6BoOkHO52GkK3UKWVS1XZpDCOhvYRA=; b=asHgmK/5yv6O/Ef+YEgYkjzSxEzxWeHYAtiTspmi4ESYg4LX0G9PycMu5i2oG2exSV J18mJhX1XbzJ6d6L4LAw0tX3eXmkUvK/uSrWhZeWDLJltavQRAHyS/R9ANZXOdQ0ALfh UZEMTW4+gym/s6iV+GVbZcIpdprwpKTDKULI+SGTG21XFomLSKr99tVdRQZv4LNuXM1Z /x/9DrONLYMu7Ie0SPzuIgFSS3o0i3kyhBxkHYHSDPPXV/yAOp3as7SELMZe/kIqTE6q cRO3rhfDXxnA+zc5N5Rs6vvOIJCh/qh7ojUFJbIOiCA42RqG4JzDCC7niiO6bSdZ4KEZ XeZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785206965; x=1785811765; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=i6eNcf+AhwmRS6BoOkHO52GkK3UKWVS1XZpDCOhvYRA=; b=hQgoaL4kPIweRTz/pASeONub8BY6IkEFA6ETDZ4sAywDt+tStcBRzg6xB/a8AzK5Vf yzo7jR0prJkfXCvyfUkMyNeNuUGNoT14aQ+rc+HNOwvSK0IBZkfryQ7oBXTJn8ehRqZk YLsg3ZYBjJDBL5X6mmFobNtntnUUk7usk233UjNyMObrq5qq1w+HXr4UteF3hi53bgJW tuVT9H69OoQiI++B3c+iWgaCqnFWtX+mP/7nkUryDqToeHDkjGHFLjkdI8Q4orZ+mBy3 YYAYfA3xyWmXvpsT4jKMJ1jP3/LhtF2s+UqpOBVwvh4T3t4axKjiIhmETXVxSOV/7k7d f4JQ== X-Forwarded-Encrypted: i=1; AHgh+RpunpxgU3Nx3DASqbVNksZepbG7etp73pKqlY9imGtIqB0NMT3ejRf1JtI94U0ugtE1L+1X0u1EFnNNQw==@lists.linux.dev X-Gm-Message-State: AOJu0Yy+JbEnfaIIz2/42rFaBetkdkqvj/ul0TON/DXhIHjQ0aqTg4Uu 6TFKKdMdAZHd+dbO0jhETS+hXuIzA4vrA652Jj5f3dGwyvzm+4RqAI01 X-Gm-Gg: AR+sD12ITiyjvnHP+lnjBLsiUW5J8X6gPUkK+e4b4BNKe8lOSM55f72X/wBj4BOE7NE RXamjO3Emc2hu+/C+ZE/+ORjKf5tkzEt9tSJYvzBe0aV7LnwnKIXdzvpR7jHJ8J7p0UVIFVMJB4 qoy6gg4q5Nuwmx0TfhuEdRX1jxDejg/grmWG5BqgODH7QyoMiFtb+ZlsjtWBYR7dubHfOZZDaWF r8Jwoge+0EQqis9U9Kvdv15LJ0thJGQXtgCU476kM3+dpc8s7J+Swzbs4+YbBH5F2eFbRXWWrWr e9x911DwwFjjc2nSlDXGVW7Nj4iQ20tSslmtNvzRzkTLHDrwYouqC2ru8Z5WoJSInyyoDE+2ATO kM9Dq3cr58YPvjqZ5SRHoSAiGcgn48jp0zRWlVQis0xkYXbYurA1TcLp4XSS3AiOx4Dj4OgLiRW uLHTbgb3/3cZKTgxVaGehhA/Ur/juGrJilkiDq X-Received: by 2002:a05:690c:4d84:b0:81e:d23b:f8d1 with SMTP id 00721157ae682-81f99368d13mr1674717b3.35.1785206964798; Mon, 27 Jul 2026 19:49:24 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:722a:22a9:308b:2c35]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81f6579f462sm40974847b3.11.2026.07.27.19.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 19:49:24 -0700 (PDT) From: Justin Suess To: Sean Young , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Sashiko , Justin Suess , Andre Przywara Subject: [PATCH v4 3/4] arm64: dts: allwinner: a523: enable IR receiver on the X96Q Pro+ Date: Mon, 27 Jul 2026 22:49:15 -0400 Message-ID: <20260728024916.993224-4-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260728024916.993224-1-utilityemal77@gmail.com> References: <20260728024916.993224-1-utilityemal77@gmail.com> 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.34 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.105.105.114:from]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; 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)[]; TAGGED_RCPT(0.00)[dt]; RCPT_COUNT_TWELVE(0.00)[16]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,kernel.org,gmail.com,arm.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:rdns,tor.lore.kernel.org:helo,arm.com:email]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; TAGGED_FROM(0.00)[bounces-24787-noreply=patchwork.local]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114]; FREEMAIL_TO(0.00)[mess.org,kernel.org,gmail.com,sholland.org]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[utilityemal77@gmail.com,linux-sunxi@lists.linux.dev]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: B974B1C082B 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 X96Q Pro+ TV box has an IR receiver window on the front panel, wired to the SoC CIR input on PL11. Enable the CIR receiver in the RTC power domain and mux its RX signal to PL11. Tested on an X96Q Pro+ with ir-keytable and nec keybindings with the remote that it came with in the box. Reviewed-by: Andre Przywara Tested-by: Andre Przywara Signed-off-by: Justin Suess --- arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts b/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts index a96927fbdadd..1eaee20acaab 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts +++ b/arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts @@ -266,6 +266,12 @@ reg_dcdc3_323: dcdc3 { }; }; +&r_ir { + pinctrl-names = "default"; + pinctrl-0 = <&r_ir_rx_pin>; + status = "okay"; +}; + &r_pio { /* * Specifying the supply would create a circular dependency. From patchwork Tue Jul 28 02:49:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Suess X-Patchwork-Id: 2811 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mxe881.netcup.net (Postfix) with ESMTPS id 15C651C082B for ; Tue, 28 Jul 2026 04:50:29 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.105.105.114) smtp.mailfrom=linux-sunxi+bounces-24788-noreply=patchwork.local@lists.linux.dev smtp.helo=tor.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.105.105.114 as permitted sender) client-ip=172.105.105.114; envelope-from=linux-sunxi+bounces-24788-noreply=patchwork.local@lists.linux.dev; helo=tor.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 930723057542 for ; Tue, 28 Jul 2026 02:49:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3E4B2D249B; Tue, 28 Jul 2026 02:49:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OhReW7PN" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 727342F8EB1 for ; Tue, 28 Jul 2026 02:49:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206968; cv=none; b=miSPLMZPn6YE5E9O6T6iW2KqO2fixRgk15w1JdgF+w209IbL9kcryExCIt80TedpQb/dXjZpF/URt9J6CQJnVw33b+FEUHrh3LkaAvHO18EFkFjwemkrD4uxdMz+jOiGqe+HmqmNsxW/aeq8SpC1ljlHJSqNJ4tiomXZq4v6o6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785206968; c=relaxed/simple; bh=eMDL6R7A88J0Kxgo7GwZVeOD6SjDV3c9R/PY3h9YVK4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kD5UdxJIxausWbP2qYroUgzQ99TXpnLAv2d+zQ1lW+N1rrNx9C9W7T7DUF++m+5HRbgVCgxalSHveO9BMfujdI3BoPOCtYxwUTfEmnVw+KINABCmPF1qrzIaXlWSMWagDr+08w3BqJCyqrk0BUKfPXfu3qaWdEOI7qDlHhBwuKc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OhReW7PN; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-81eff3ddba4so43355687b3.3 for ; Mon, 27 Jul 2026 19:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785206966; x=1785811766; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=oMrIwKP808Rw4T3v4dtu26EGLZbL2Ysq//n5nDtGcIw=; b=OhReW7PNF+rYbeflaV1RYrW9OA1M3fS/w8TW8BJ5vCIJWnmdw5URFwLsAFWX4puUPF 6tng3vz+6xMVJMWHKybXeZAixcdxsQMro0KgNqIkXQ9/0xJdbt9Bq1teSPIvgu8RECM7 4VUhAyDWADeXidupwqBXt+aQ3G9tv7QT1rkI1eVrFy0lEYDReiud3t0d7lLKcPm6/1fB VPtZxyEmyJlKjnB2REnll1C9HokkvDdU+kMt+OvE+KjmPkz8bxVJUe7yKIQO+GMI9fjr OnYqeDOfu30Oq28uXY4FysR897IB9DCzXKJFHgN5yv4FWFJVd+QQ5p5v0wQB/RVOARVh +C8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785206966; x=1785811766; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=oMrIwKP808Rw4T3v4dtu26EGLZbL2Ysq//n5nDtGcIw=; b=RWpYuu3P5sbNX8GhCiGe0E2EfZ/ZaRs3+vWPLWOuLW2tvC0BUJqPWOql7qEoogx1MG Xq22LhBsEMQ+wDmw0F9qJytQrEbj8aZ7NGHNQJpipplAVwZq6cAqNTspNa4OGoKHeNIa ILsq5LG9CcqL+1AXrhl08NQuvZS3q9j7QCNan+zB71OHzWfBryhqXE1CAY8osrKBzHqI /ftyiUQ6p+0IXzgz25K1mEO3PcZQJ9hs4VdH9JVbFSuSioPVbRHcH6SIOSS3/Dq5DkXf 5SrCAySUZMDywvanvmxihn3bY992+X7NdWE/z65pc9FKhNPrh6er8OPs5s+XrB6+9lnO weKw== X-Forwarded-Encrypted: i=1; AHgh+Roc2TdvnOF98aZeLoQImgfp7w5ow/4kozpMrNMpz/cEkTu0OAvXAcEnPZFVDFRXhyhkAtjJOqrw1dGppQ==@lists.linux.dev X-Gm-Message-State: AOJu0YyQPT+9sjDKKwwXzOhNLOPMGP7VCjoCyVmzFy0Lx7BNUIfa30J2 K4X+RaWoaS/BOmDfukw6oyqFOXZFBGdrzk1rED7HCzqmcHom2tP2d6e/ X-Gm-Gg: AR+sD13rkQPYukAnodUuF9gDwuv0w11aMwbOQrFG0wOf0ry9FIPoC85EUxSTZk84wfL rRwfbZf+s7DmkqKcFA7A4IFoRlvoFQ21IE0nMKoI4zicy8GBud3vL1mj+EmA+6G4IldWmCSJsEm 42RyiFLgfzn6DWdiML2pmw+tK2W0kSwg41r7MTURkR2OIcYAbY1ZZbb2fqlKUJwQew2oZjLuYBh StuUa7GR6ZJwsfnEnfTAa9cEzqGWpOxzWRLtzWNm1TgrVgXhvl5KVat1PJjA1NEIPIjXUw9aR89 i0v6dub/NYuJcTfUTNOOzA0SvhrwyCrr24Foe2ampyP9dyAfc6XAyP+qGoIUsMrQwr27gabis0+ FnqYszkSWVrVkRN29lp14pxrZVYh8IMWsgTMleVyGZFyIgRt4BNfrmWUJ5DX7QujZ3fOjjoQNyj gMB+KHbHTyK4eajqHLwJwj5JeZ7NxPn6PbwYDR X-Received: by 2002:a05:690c:9b0c:b0:81e:695b:585c with SMTP id 00721157ae682-81f990e2287mr1923257b3.4.1785206966382; Mon, 27 Jul 2026 19:49:26 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:722a:22a9:308b:2c35]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81f6579f462sm40974847b3.11.2026.07.27.19.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 19:49:25 -0700 (PDT) From: Justin Suess To: Sean Young , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Sashiko , Andre Przywara , Justin Suess Subject: [PATCH v4 4/4] arm64: dts: allwinner: a523: enable IR on the Avaota A1 Date: Mon, 27 Jul 2026 22:49:16 -0400 Message-ID: <20260728024916.993224-5-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260728024916.993224-1-utilityemal77@gmail.com> References: <20260728024916.993224-1-utilityemal77@gmail.com> 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.34 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.105.105.114:from]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; 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)[]; TAGGED_RCPT(0.00)[dt]; RCPT_COUNT_TWELVE(0.00)[16]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,kernel.org,arm.com,gmail.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[tor.lore.kernel.org:rdns,tor.lore.kernel.org:helo,arm.com:email]; FORGED_SENDER_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; TAGGED_FROM(0.00)[bounces-24788-noreply=patchwork.local]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114]; FREEMAIL_TO(0.00)[mess.org,kernel.org,gmail.com,sholland.org]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[utilityemal77@gmail.com,linux-sunxi@lists.linux.dev]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:63949, ipnet:172.105.96.0/20, country:SG]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 15C651C082B 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?= From: Andre Przywara 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. 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 [justin: move the PI8 pinmux node into the dtsi patch] Signed-off-by: Justin Suess --- Notes: v4: - move the PI8 pinmux node into the dtsi patch (Chen-Yu) - add my Signed-off-by (Chen-Yu, Andre) arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 6 ++++++ 1 file changed, 6 insertions(+) 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 474354fbfcec..994f1e4f0ce7 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>;