From patchwork Wed Jul 22 20:17: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: 2717 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mxe881.netcup.net (Postfix) with ESMTPS id 4EADF1C33AA for ; Wed, 22 Jul 2026 22:18:01 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 104.64.211.4) smtp.mailfrom=linux-sunxi+bounces-24615-noreply=patchwork.local@lists.linux.dev smtp.helo=sin.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 104.64.211.4 as permitted sender) client-ip=104.64.211.4; envelope-from=linux-sunxi+bounces-24615-noreply=patchwork.local@lists.linux.dev; helo=sin.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 06A9B3010F2A for ; Wed, 22 Jul 2026 20:17:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45122435EE7; Wed, 22 Jul 2026 20:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="snzSY07Q" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yx1-f50.google.com (mail-yx1-f50.google.com [74.125.224.50]) (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 A9FE8435EFA for ; Wed, 22 Jul 2026 20:17:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751454; cv=none; b=QPJaI5j7OCH0CiTCZI7k52I/kNG1hkNgWobQ1IwSA6f/nx8SdfPVIGIvAFfp9GHooY+KcxCg/tzoliK7f8TY0TzPwYFok0ckdrxVq24Bqph9qoneceBZ0yMnYIoSynap/WAmmtaIm0vIaBN6Dnk0bMsZf5d17mHnYB/q0esyirM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751454; c=relaxed/simple; bh=p2luxpgausQjIcXu34TXu0p86I0tMOO4Cg1dU7QLAbM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H6FZolF4bxbOeDSFqgxfkn7ddqloOT1vnP3WgRQ2131Z1qOmkA3ASlKhPE1Zi1shT1cDMX+NfNgK2+8+Sk6qMoP40heVsFNsDogyrOlaZSpo14m4p7CtSx3h648mWqFZuYra61fmObEeXq1fK5hWwAeYnQWc/r3Dq3dF85OmkHw= 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=snzSY07Q; arc=none smtp.client-ip=74.125.224.50 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-yx1-f50.google.com with SMTP id 956f58d0204a3-667ef69424bso11116200d50.2 for ; Wed, 22 Jul 2026 13:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784751452; x=1785356252; 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=/fvg+6+1EtvjWR0RkLSp0ui0eU2DSRzRszmxxfr+HzU=; b=snzSY07QFcHayIvFPXDGKXD47qpyNkBW+5xzUXUWxg/PeDqdEOD8t7ct1IP4oescXk jTnMNmRnY9PFfKTgK5vofXKmp9E6//yPbuJovsJwoik4QW6EZYZBpumFpS5h7egt4vY7 vhYirmgeP4kMh4RZd0fwJbwfZ+wf7kFFL0Ep9Vw/nkThlI3mo1vazGjGUMuBcpelauJP Rb/2JKTNg22nTxLEFHIBCM07IsHSmKbsLkfhyQKWic9hDwbP+L9jcy65q5yXX0SJ1TgY MjkU6fvOXrI41WRYwhiOMxoR1Yk53s7unu+vbUQXd60OAH2FZwBcawJ8AkRiJpb2kLSM ksLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784751452; x=1785356252; 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=/fvg+6+1EtvjWR0RkLSp0ui0eU2DSRzRszmxxfr+HzU=; b=ee9pCzFS0RGsEVsp14q5yjkGz5rGh4j9EDGwVDGtFIgT8epT/9eBAgCr5oMnaQI60E 9K86+tDIFGLyaZPnRmyoGdb8VGkUiLnzTTPYhP1sUBcTr6dVNogPbGvEn3FJhorKHzUA U+dh0Lbf0IlWF4eUyajK2IUOe6iJUyF4ekdZDxmafIeEHah41xQKXiuBGQZD4nJ04XLx 2mulE1XY7POa1XBWj5KhVmKlwJoLiPoVKTldWWEDd8Tj6OqomVj5JDZz6zttCtcBA8s5 lm5tJjaLI5VAeXtrl86amnxjMZ+m0mRenoWnVuu2xv24yc738AfW230i+HkRqdUQyR1f Ij1w== X-Forwarded-Encrypted: i=1; AHgh+RoCfDp730s9AGYQSdIDb4gz5+3MbbmxVejM8/gPeV/oRqkL87RDZx9jeacjGUdxNz6FBpDHne6AWbin7A==@lists.linux.dev X-Gm-Message-State: AOJu0YzJxiMy2+exGUF0USCKUCQJnknDhOfmriZ74ES5mSCfyy+r9xzO L3FxTB0Wf4fAV+hb2DotiDohBW9pDHdcWXKvMGyPP/2AIBX9XqOABIIe X-Gm-Gg: AR+sD11L1e+ecZnoB+yjusfZxXj+DRxWEN11PWtLchu7YvDX8GhgNLAsZHpfzmJURge vdWFoanhosaWCO32dzleLPjVUYnH7LBf5bK8+9SsllIV+6rXKiMhCyjZ+qPUoncZUizL2wa3xt+ iDJYIiCayXZaZ+ivpCmt111U9gVIQAWI5lT0DmVXEPW6BE3NwdQ/e6L6Ha60iFg7xTKhDzC1c6g 1pieY7dOAEcKGmiWT+wdv0X/lfLHBVtPVoHhVPUt/XnH+EzHTrHLJpiNRiTpfACyTsAqymoQwYw xacEjPpzz0TJtLTk7W2EnWiAWqPd8SD1nybIqTjPSyKC3NMQILdSo7TQd4gozgoIkJ7a9xdjVgp RufMT6umguHRO/+hSBVfuuFQJ53aVqo7mL+zZB09mEQtl5Xhr+lDWuUiDbeuEGOWFjiMnn43pp6 7ZXnuoOPVibTeIN1o+WKVmLZAE13CFtV5w+twM X-Received: by 2002:a53:d987:0:b0:668:9230:e266 with SMTP id 956f58d0204a3-668a4cb0f6cmr27020d50.46.1784751451559; Wed, 22 Jul 2026 13:17:31 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:4392:41cd:1ce2:e391]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-6689056dfbasm1958866d50.9.2026.07.22.13.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 13:17:31 -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 v2 1/3] media: dt-bindings: allwinner,sun4i-a10-ir: add A523 compatible Date: Wed, 22 Jul 2026 16:17:15 -0400 Message-ID: <20260722201717.2205609-2-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260722201717.2205609-1-utilityemal77@gmail.com> References: <20260722201717.2205609-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 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 Wed Jul 22 20:17: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: 2718 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 A6FA51C2B5B for ; Wed, 22 Jul 2026 22:18:52 +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-24616-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-24616-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 282CC3002784 for ; Wed, 22 Jul 2026 20:17:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 943A4435EE7; Wed, 22 Jul 2026 20:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="orVoKCtE" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yx1-f41.google.com (mail-yx1-f41.google.com [74.125.224.41]) (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 ED5C3437111 for ; Wed, 22 Jul 2026 20:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751456; cv=none; b=khD58bV+0T67b3qQMGRFlPH6xWmCJDfELosqKFG+wq0P/BktUgLSB0XRO/7CdD5cuY0u0uIZO/OI+DhE7+tMke7UyE7c48a/ooFc5GJ97vaQ3POxQgylI19QTbTrqSOBPcuE4ybPh0T7vSghg5Y4uJNXaUudkiF7qpF7Kkm6koM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751456; c=relaxed/simple; bh=Cp9Lf1Yb+LwwMCxqi836F8JB2LfT3ogBlX8ZlkfBiaY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p8YK53Shum/oXRQDepqeVO7I+KZQ12TSfdGywAikklGujLH40Cx6qPqJWpBcF4Er9JhKC3B2/0pYyXQLt3LTGqsCEZW1RmmHLits1Sl9uqG3lg7feWLix/7kExb032Rc6j15ya110xZxv2StYr7+43GbnMAwV4NZ3vmfTk95Ib0= 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=orVoKCtE; arc=none smtp.client-ip=74.125.224.41 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-yx1-f41.google.com with SMTP id 956f58d0204a3-664a09bc459so16708614d50.1 for ; Wed, 22 Jul 2026 13:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784751454; x=1785356254; 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=L7OAXwu1ImBz6RiI92a0ZzOn6X9oEwvXp6jE08Kyy8I=; b=orVoKCtEPxfpLyK9SXPXLAHUh2FOhmJPx+8A8E8c5liKziuolYtm8y41UF+I9JVVk8 IuvLO8k2RsdH0AOGNM4nWBN0hoHQvFXbDp/JjiqxO/qbRv5qSW/lS6XzW6kPRxgIvmkb cCyxFb3OAH87yWZOQcBFe7wk0LeLcnV72s8uv0cEyh93ShjIVEyfjhRKJFd1ykBNg9pY ylMudTfXtrAP7R2TJ+2I1O9/S1xTSoy9/cI/cSk5WiSRb4S84QkV9/Dz/BlE7IcAfSVq aOi3qDQk2yyQTdm65l0y5Gg6mFFMF1WpYLNPY06WWLCGKixY1YKDFgwSo/8VpP7/eAlD e9hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784751454; x=1785356254; 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=L7OAXwu1ImBz6RiI92a0ZzOn6X9oEwvXp6jE08Kyy8I=; b=msQe7ywT5nQuAjUpYuOSUq1kjDBduFXH3S9XitUMQ6+sOcEGVClCoiC6JllCQQ2QjP UVFFndx/WrAUAfQaotHUS6YtmK/rklONxeic7MU5XtbaHaIdMJo1s0+QojTWGtrJ7dqY OFW/PXAuQhIbIg1IJQgD+0T452hn6ll1K7H6hSDG2wLhcb35Y8qJL0401qlOKefoS7Fh XEHvjtzBYrWzPmBNpR6oPXHFlf4LmuGGu1r7z8wDJTzHqAPJAxdq8FLCVGUVehT/8WHM y5mGwOyr1Ld8nFDziAhn24UR7qo0IVQlp8SkHGPOLw30Rw3M1fhv5k7A7zyCtIP4v/nn TdVQ== X-Forwarded-Encrypted: i=1; AHgh+Rp0Ao1oubG8ClJNF1ncLVCUEU3+aXt5Ozr75yIE9H2XpRnmm0KpGEPr8Dzw2J79G7n757mnDsMzNs9Bzw==@lists.linux.dev X-Gm-Message-State: AOJu0Yz/BdeYTdqpJ3F/yf5OrSHz/pzdeGbTwfXtGXyO4e9TooUZMWuQ MGgJEq8Hs7zw93rbLynwXTCCqGR6qSPsFY+n8eO/ISLpzSojizyyIC6K X-Gm-Gg: AR+sD11JN3LcKDp7/W/hirMCaf1I23oNCRsUxBVs6MfdI6GnGuKAtWpn/FgZFDaPgI7 QeqY6oZeJCXZt4UGDeEv+0nX0OVxhPzuByTSfAW8Ks3c2pkkITmlLQxJoCTu7d2tSq3/nVVEnIZ 5IQbi9w2OxWHN2ROsHspn2SrRM2A7KpB8+S1xb8QYffEfWllurBH7RX9ctIWsED4QdaIYY2B44e GKxXLrrnPyFBMfmeE/EOKvSlp6BFfOOHWuDA6FRKh3QeEp0mLhsvhdEE1H0O37x2w0zl6KP2gk7 MtEehQ951RM5bsOELmSq1nbxLqzHk+lzAnF0rIURqMyg5iWsmAJRUF0NelEjwlwuTmf8N16od6/ hz6e6CH4iXQYRajfKgMher3X7Vlx+XYgRoNoqhljjdiQxfK22GSYQ3p3r0ToJxL6QVZC2fCx4t9 YQ/+xJST5tVRE47Xwd3+tNuJlDRUNZ6//h8UkWLaHsM/CWmdg= X-Received: by 2002:a53:cf51:0:b0:667:cf87:5869 with SMTP id 956f58d0204a3-668a4c197f9mr32658d50.29.1784751453933; Wed, 22 Jul 2026 13:17:33 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:4392:41cd:1ce2:e391]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-6689056dfbasm1958866d50.9.2026.07.22.13.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 13:17:33 -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 v2 2/3] arm64: dts: allwinner: a523: add IR receiver nodes Date: Wed, 22 Jul 2026 16:17:16 -0400 Message-ID: <20260722201717.2205609-3-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260722201717.2205609-1-utilityemal77@gmail.com> References: <20260722201717.2205609-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)[]; MID_CONTAINS_FROM(1.00)[]; DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.15)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; DBL_PROHIBIT(0.00)[0.107.108.0:email,0.107.186.32:email,0.30.136.104:email,0.30.152.8:email,0.30.163.192:email]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,lists.linux.dev,kernel.org,gmail.com,arm.com]; FORGED_SENDER_MAILLIST(0.00)[]; RCPT_COUNT_TWELVE(0.00)[16]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[arm.com:email,tor.lore.kernel.org:rdns,tor.lore.kernel.org:helo]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:172.105.105.114:c]; TAGGED_RCPT(0.00)[dt]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FREEMAIL_TO(0.00)[mess.org,kernel.org,gmail.com,sholland.org]; PRECEDENCE_BULK(0.00)[]; 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]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[bounces-24616-noreply=patchwork.local]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[utilityemal77@gmail.com,linux-sunxi@lists.linux.dev]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: A6FA51C2B5B 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. 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. Keep the PL11 pin description in the dtsi, as boards commonly use that pin for the RTC domain instance. Cc: Andre Przywara Signed-off-by: Justin Suess Reviewed-by: Andre Przywara --- .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi index ca6a16807049..19771aac68e5 100644 --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi @@ -327,6 +327,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 +938,23 @@ r_i2c_pins: r-i2c-pins { allwinner,pinmux = <2>; function = "r_i2c0"; }; + + r_ir_rx_pin: r-ir-rx-pin { + pins = "PL11"; + allwinner,pinmux = <2>; + function = "s_cir"; + }; + }; + + 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 Wed Jul 22 20:17:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Suess X-Patchwork-Id: 2719 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 C5E3E1C2B5B for ; Wed, 22 Jul 2026 22:18:58 +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-24617-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-24617-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 6DF4C30409E2 for ; Wed, 22 Jul 2026 20:17:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 159A5437112; Wed, 22 Jul 2026 20:17:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UGYR7CO+" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-yx1-f46.google.com (mail-yx1-f46.google.com [74.125.224.46]) (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 4FB5E437111 for ; Wed, 22 Jul 2026 20:17:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751459; cv=none; b=bUP5Kz+bStBQqED4U3YpDX346P1CBEIVfU2T/A42862G4TeTDG2kdqzzV0yFDqsTDIydVtMKL0o+ochl98X2MLOvVuIDN79EcqYqqv+3BNl3rW9sRuhy5NSWMb2umrrjE2o6CWqircospfb5XoaJBAFEzjeoGxkGnswlbfoo7ls= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784751459; c=relaxed/simple; bh=lE0BRLbpoMsGl2jH5YXu2f1E0PNhNUYeuMEbd04x4zY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=A3sf7Uj7mTRJqetk7qyx2D1tLO1pns/jZ2i8llbt8Am5XNHwOZ/IPFtaW1Teix0+TWkKFQjFimCBYp003pJl53eqr5xYBwy2JmShA5jxyxy0suz25WM5nTglXVSCUpA9ZRvX4IzOJCFvI873j7G7WdcQR/H/bXHBBIEFHFEc2p0= 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=UGYR7CO+; arc=none smtp.client-ip=74.125.224.46 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-yx1-f46.google.com with SMTP id 956f58d0204a3-6611669cd16so8869835d50.0 for ; Wed, 22 Jul 2026 13:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784751456; x=1785356256; 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=ivYBWU5cN/JEQ/dOoSRXx/VTuv2YZc+EvRKHLDz+SQA=; b=UGYR7CO+HS3KivnmyJXiIsnwo3Yojcl0lqPDor3/davTO7JVUPBijgcEj+UByhJ2oL B1/Ag25wkvarJfpwPUT1e/Xj1SFckF+rQVUQYeDHXUNTHp6Y+5ceYzgXxb5Wekk372KL Tur0WOiasompXbquNpS5tYJ98jNURJv+RTkX76/m18FOvBf1Yae9oWQNjoQ4pisEMjXv 9eVzxu4DJl6S0D8i1PPJ3A0P6wYiuMlEi6xtDDB2x6N6PYEbnqdHvdv1uobBTknga2OV og6wAzP+Q7IfIzyj/3XCe9cyZPMghb3rR1INFFCsHomXIZarjowAj1jjPtD/vwRi/OKL h0+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784751456; x=1785356256; 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=ivYBWU5cN/JEQ/dOoSRXx/VTuv2YZc+EvRKHLDz+SQA=; b=nJRcL+fPBcHujj7RqOIOcBMmWXK2Cqpcy1EgqkJkjYqpEXkJtoNxqBZ0/oQiB3dcx7 BSsWx3uwmV5NOlTvvh8wnoyAUgE4u4hX7IMGAEpuS8CFoCr24zoOd9AXVX+XOrrKxyC5 egBIq4SRpcPdQTXg70dG1fSH6BOg9BCUUgDpQQDYOK5Kl3HFjx+CNMP1oPuYTYebjCSb ld5dPAGTtGcpH7nNqHXgcouUQPGe1iPnbu4sQoAV9e51A8XUji0WCyAXEKHAb+QSqy7r 7K2eevz7IeZTT7PRTfR1jFDCI3BmtdGxIOb/L19UPvrh3R/USXfYa6kpeKW5Lp3nvLaT SYpw== X-Forwarded-Encrypted: i=1; AHgh+RqM/2QmaQjcKmuMbc4CSjOI29Wm6VQD20A+B7+Ipb50bMyEpvYWdvJ2xLyTkvRlKLFyP65LZknly4ScWQ==@lists.linux.dev X-Gm-Message-State: AOJu0YxiKyaB8ccrZXGB3aBFY8n52vADZ4Vvr42cZ8swCLIkYsL9xAYu gv//dzP2J3WDZH/c7DNosH0A6791D5YDeEVU5zIIHYwTzEzxJJotH6YH X-Gm-Gg: AR+sD10zLYyMDqEF37BiPy8MNz0KT9Nl2x19kwHqYBspQYxq1DqdPUTiLT9PP2UJGEa fkomAedrtJc7DIu0HgyCMPGLaoJ4DMpoMBJ/ImgBuxT0/Yf1wdSDm+hqCC+vGvJGOOdh1to7pze d9peoUqQlezJNB+h7lq80A8ZhPXvGrdLL0+SwkMSsJR0rzg3NXgFqA+dqKbRsM7Kd8KfWR4PE8z cDxmdm6Di3nH4hBjE4SptNvzK65VfBrwWuksed9nBnLLFIIsfijnpcY1BzyGf815BYCtP0nHzKd RVv3+CiBJYA5rsosAQ3cD4J0qBOFYME2lpqt70xSFDMEItC8qr+No0TF6mvNQU4yY1b9cUkmjDu k98KFS/tNi7BqSDdERZxQSCNbnKLKZs6rqwJWJkQh0q4MEHY2wbSN1MHPqQPMlRWxE31C81PBzb BQmvLokgCUXwAcf/i/JJBQCjhElTdR+SNPmhFM X-Received: by 2002:a53:b083:0:b0:668:9128:28dd with SMTP id 956f58d0204a3-668a4f87cbfmr21361d50.81.1784751456120; Wed, 22 Jul 2026 13:17:36 -0700 (PDT) Received: from zenbox ([2600:1700:18fb:6011:4392:41cd:1ce2:e391]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-6689056dfbasm1958866d50.9.2026.07.22.13.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 13:17:35 -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 Subject: [PATCH v2 3/3] arm64: dts: allwinner: a523: enable IR receiver on the X96Q Pro+ Date: Wed, 22 Jul 2026 16:17:17 -0400 Message-ID: <20260722201717.2205609-4-utilityemal77@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260722201717.2205609-1-utilityemal77@gmail.com> References: <20260722201717.2205609-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 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 X96 Pro+ with ir-keytable and nec keybindings with the remote that it came with in the box. Signed-off-by: Justin Suess Reviewed-by: Andre Przywara Tested-by: Andre Przywara --- 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.