From patchwork Sun Feb 12 15:41:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 55926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1948518wrn; Sun, 12 Feb 2023 07:42:27 -0800 (PST) X-Google-Smtp-Source: AK7set9kHqaJ72+N8cCcs3aKgUjKRiCirYjz/+fKWE/BdD64wMqBfX09Ca7jPkrLXbtiQD65hFHY X-Received: by 2002:a17:903:283:b0:19a:98e8:50d1 with SMTP id j3-20020a170903028300b0019a98e850d1mr2249625plr.34.1676216547358; Sun, 12 Feb 2023 07:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676216547; cv=none; d=google.com; s=arc-20160816; b=MH+oGFYurzgz8SortEmJVhSTe/JMotqgggiZtrWdvr5IdHgpKHmPqCROBDJsUZ8sdB G43eJFXDNxkxe3txJtl1g9Je/0WZCELObN8lma2k6kkh7phQwxAXiVkqajSJ9XpkGTh6 0mB1p9v9CZZr6DICjD7IJ66nMkLQng/oNsD5tLMuKOi0r/tDPP4pbqGDpmKJG2jl3iOj nQeWUbTUHyhZvBzYtZRswGuW/h9D8o+YQ/+3rxnWyQntDD+y/RUYsIQTe8tE1HqxLodL AFUiI/SEyx5nmLGb7PbKotD7cblOId/MTVLVHkST/AblhfwuZROnjRIZiZSRtx5RnBzm XeRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wFVT5z+EUW/sAnc1AJ25blTZfHxsfhvLknfG3Md9QMs=; b=Byk2YOH8eUmpzdfp+7f4f0RI+rYd3LbmEdaRtpWMSCqdsV7TGc6fwQ/3XC+Rh/ZdBj UzXfJoSL1Z1PiHKs+o1rnVJaREW0qB6xu2kIoY9Ji8+rElBN+HhaTG4G4KXVK/slU2tf PLmS6nYGJOIbBSB4ZkNQXuWWtMz8GgXvzKU+0PTc6bqc8Y/CJ2sTZGgaQ+HzLnoBJz92 bPkR72v8K9tf5nafkoDogfPUiZTDXVbI+7eIXfU+hBXP8FiBQI8ElpA6FYOykVnCvPGx pNc2v1/CuYneMaGdaGF1AJ3h2qehH3u0ZGfVnRkfhFvxXimQmzINW+AvVCTFe2Z3Zgie OVUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020a170902ecd100b00198f9f9d0e6si1264516plh.229.2023.02.12.07.42.15; Sun, 12 Feb 2023 07:42:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbjBLPlu (ORCPT + 99 others); Sun, 12 Feb 2023 10:41:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjBLPld (ORCPT ); Sun, 12 Feb 2023 10:41:33 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8ED12583; Sun, 12 Feb 2023 07:41:33 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id C545D26F77C; Sun, 12 Feb 2023 16:41:31 +0100 (CET) From: Janne Grunau To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis , Joerg Roedel , Will Deacon , Robin Murphy Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [PATCH 07/17] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string Date: Sun, 12 Feb 2023 16:41:17 +0100 Message-Id: <20230202-asahi-t8112-dt-v1-7-cb5442d1c229@jannau.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230202-asahi-t8112-dt-v1-0-cb5442d1c229@jannau.net> References: <20230202-asahi-t8112-dt-v1-0-cb5442d1c229@jannau.net> MIME-Version: 1.0 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1211; i=j@jannau.net; h=from:subject:message-id; bh=behPg4aqpLIrrMH961E72k3iDwv6hRfXJBOGGtz768o=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuSX7Cf4X0YsM642XdA5x2bKI/nFe7c2fZ7wvFHZM+dA6 rqnR1UedZSyMIhxMMiKKbIkab/sYFhdoxhT+yAMZg4rE8gQBi5OAZiIxQ9GhhXTr/5Z1xPnzVzg /idBNK/VQVvsQsSMj/LP/Qy+yEj+P8HwT1V2ydoI7lIev97pGzj0SxWeTt/75mXexMeXP1fxuHx T4wYA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757640442550216403?= X-GMAIL-MSGID: =?utf-8?q?1757640442550216403?= "apple,t8112-sart" as found on the Apple M2 SoC appears to be SART3 as well. To allow for later discovered incompatibilities use '"apple,t8112-sart", "apple,t6000-sart"' as compatible string. Signed-off-by: Janne Grunau --- This trivial dt-bindings update should be merged through the asahi-soc tree to ensure validation of the Apple M2 (t8112) devicetrees in this series. --- Documentation/devicetree/bindings/iommu/apple,sart.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/Documentation/devicetree/bindings/iommu/apple,sart.yaml index 1524fa3094ef..07d2d68a87df 100644 --- a/Documentation/devicetree/bindings/iommu/apple,sart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,sart.yaml @@ -28,9 +28,14 @@ description: properties: compatible: - enum: - - apple,t6000-sart - - apple,t8103-sart + oneOf: + - items: + - const: apple,t8112-sart + - const: apple,t6000-sart + - items: + enum: + - apple,t6000-sart + - apple,t8103-sart reg: maxItems: 1