From patchwork Sun Sep 1 03:40:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13786245 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 07F14CA101E for ; Sun, 1 Sep 2024 03:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yH9DpB2vOqWFl9C9V+jaABjITs0KYB7EL4dBUQbha48=; b=pSdbDueCGL63rdm5x6diPB0ya+ w/DoikB2Cfi1RPM11TRsGbhjblMRk9td+YZZNGZU2lrg34UyIB/bgQKFUo1jbqqnrVtAdALcHCOro kJ+sl2b9LJ6B4r0X8P40I5Z+fvy9M/SVrILZS8ojojc3cDTqZZmQ1PQl/FewYRneoQAkY1nhTgxGT FL7onlJ3Gshsv9yKdqSuf+xBMmLz5LFIvXB+jtxrGk3pNpNvIADln3797BTIgk7ckON9d8vhvNdQA qK6g4Gskwwuo/jroHgTU7N7NSVq019fiPge6qDI9AIPxiVdplmHrpW6jhpxT/1eoTLfrwCAEUrr85 i8QOGHoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skbVW-0000000AkgH-1VNT; Sun, 01 Sep 2024 03:44:06 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skbU4-0000000AkNx-1iJ9 for linux-arm-kernel@lists.infradead.org; Sun, 01 Sep 2024 03:42:37 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7142448aaf9so2081845b3a.1 for ; Sat, 31 Aug 2024 20:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725162155; x=1725766955; darn=lists.infradead.org; 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; bh=yH9DpB2vOqWFl9C9V+jaABjITs0KYB7EL4dBUQbha48=; b=j2NKAhDPcVzFEkFLOPOtqFVwEl50M4d6un4DpFoYv5jKQdLHMZBUiQcjTIKh//lEpm z9XuUq1u3Qv5M2mbMCUkz9+N3jmPMw36iwN1gRgP161nv38726gFrq6P9VLhIA/P99V9 icdhm7ddUG3I9ADqGY5uHVFzJy4ewotPVg805GiIPoDdNnIy93yEmezeyh68WG0r6ar2 EeKfhCxUnZJ5qNG7U2aM0JwEtwDc6GbJrw8jEc0d0Gi96eYEm/ekz99xhhutFOembH3+ KZBE77IZJxDoVXzRjxOTt5toKE3Nke4NMtZjHwV3wCfWG5paS+BraFXo8ZUTKrJ7+EQ3 T4MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725162155; x=1725766955; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yH9DpB2vOqWFl9C9V+jaABjITs0KYB7EL4dBUQbha48=; b=Q1IbMMZSnZn1sDKatk1/Datux68IPpteV6F2JDbx9UkBS0cQ3bMGb1Fx7kMWXoRfS2 dKoMmuh+OQ6uHSqxwJjM93KrWgwoHES8tgDKDk1qxgeZ22RQU9OV9K+b+faoWdqCdCHa qmARr0ULWYnABEkzVwF69Q/jzR03FMkbYxK1d9MF13bk4ZGP58SfNwlljp5R9yB596Ty 8G2/iOy8V1BAroEl5McUGV+YdJj1BQwlO+7r39PL5ANQCY536EyshjLzA4MnaLqcZJu5 fPZ7gKN+SGjRGltDTLK0T0a2AsGJfiMOL5M5C4ukbbE3wjp6YH4KtDGbXQSzPdvC8DU2 pwDg== X-Forwarded-Encrypted: i=1; AJvYcCWBl5+TTUN7uWujt0Cqlb0t6K5yMUK4bjwdS3OIhmOn86LnekzmkbYFArMiuvZIlSgfl0K50Z6z5aILeGfhjPiX@lists.infradead.org X-Gm-Message-State: AOJu0YwVCWcUT133Av8HEU+HH3KFEjAaJc/d3sGPhnefDD/MNydQ7Tl4 jVLrq8g3fQmovos07LcvZ/+AESNLT15BxiCHxRum33Csh9dmzBwu X-Google-Smtp-Source: AGHT+IEObdUwisREopDN74WlXGu+MwK3ECILVmBEK+u0lfuO5t0y0gHsYBPq4cQjNKSsi8PuduAg6w== X-Received: by 2002:a05:6a00:181a:b0:714:2922:7c6d with SMTP id d2e1a72fcca58-715e101f8d7mr19711987b3a.12.1725162155177; Sat, 31 Aug 2024 20:42:35 -0700 (PDT) Received: from localhost.localdomain ([49.130.72.113]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-715e55771ccsm4826767b3a.43.2024.08.31.20.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Aug 2024 20:42:34 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, konrad.dybcio@somainline.org, Nick Chan , Krzysztof Kozlowski Subject: [PATCH v3 1/4] dt-bindings: apple,aic: Document A7-A11 compatibles Date: Sun, 1 Sep 2024 11:40:04 +0800 Message-ID: <20240901034143.12731-2-towinchenmi@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240901034143.12731-1-towinchenmi@gmail.com> References: <20240901034143.12731-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240831_204236_469817_0C5A2D45 X-CRM114-Status: GOOD ( 13.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document and describe the compatibles for Apple A7-A11 SoCs. There are three feature levels: - apple,aic: No fast IPI, for A7-A10 - apple,t8015-aic: fast IPI, global only, for A11 - apple,t8103-aic: fast IPI with local and global support, for M1 Each feature level is an extension of the previous, for example, M1 will also work with the A7 feature level. All of A7-M1 gets its own SoC-specific compatible, and the "apple,aic" compatible as a fallback. Acked-by: Krzysztof Kozlowski Reviewed-by: Sven Peter Signed-off-by: Nick Chan --- .../bindings/interrupt-controller/apple,aic.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml index 698588e9aa86..4be9b596a790 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml @@ -31,13 +31,25 @@ description: | This device also represents the FIQ interrupt sources on platforms using AIC, which do not go through a discrete interrupt controller. + IPIs may be performed via MMIO registers on all variants of AIC. Starting + from A11, system registers may also be used for "fast" IPIs. Starting from + M1, even faster IPIs within the same cluster may be achieved by writing to + a "local" fast IPI register as opposed to using the "global" fast IPI + register. + allOf: - $ref: /schemas/interrupt-controller.yaml# properties: compatible: items: - - const: apple,t8103-aic + - enum: + - apple,s5l8960x-aic + - apple,t7000-aic + - apple,s8000-aic + - apple,t8010-aic + - apple,t8015-aic + - apple,t8103-aic - const: apple,aic interrupt-controller: true