From patchwork Tue Mar 7 12:10:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 65404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2393135wrd; Tue, 7 Mar 2023 04:12:58 -0800 (PST) X-Google-Smtp-Source: AK7set9xqK3pRMeFlqcn5WZojytQTuT9TxRwR3rN/C1O5quv2tSi27S+pmYeBvqAZosV/JOWjNoA X-Received: by 2002:a17:903:41c6:b0:19a:a6cd:35a8 with SMTP id u6-20020a17090341c600b0019aa6cd35a8mr20034593ple.25.1678191178586; Tue, 07 Mar 2023 04:12:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678191178; cv=none; d=google.com; s=arc-20160816; b=w1/BQz8/17S4SCBV7IoBAdRby32dyaKi4D0QSJpWD3Qld9ME++cVtB6oHrMUxAPHOD UDMiUB/H82zjGHgLd9xYKQ32Kfc4bqte4moRMxFRrnmcQODpO0hn/WqDSlAbTKRI3paT mzwJFq4wv6gCyJUysW5oIiq4CUJpreMOPIONmiwjMAr/jDYaFcMwAwY/qlwu856Ff0kl /J8Xi+ihB0EmuqUrIHTYGV1j6zkoI2rN3dTrz/gAh4migPKzSjS6j3H/uBnRFCjPe65d x2bg69uYBSKnyNTrTKQs5+ZbL8nuPqeesnFYwEODamKQWZdgHb+fQKIJ0weezPEJ7z91 ZZ1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=t9O+mR+MdiUlXcg5bpp5D3/L1DxQPkoicx+IBArQL8A=; b=kqk5YGrM2T+S9olka0xSymIWaJhyKfXy2Gvs4NZZIGChBcXsiR7gvf9hPIw/CTO3E7 kiYY+CvRfTZ+TH7m3KCmPbj30w/DJJDcYTBb6uDL5Iu9VzZCAemJzkxa2H35WrslhffH ukRfBHA2Hlxh1YX35Z0bKRL5uUUjIAfXCC69yVJ3zk3C5c1vZ9JMVEydCdKHURh/B26k MCcyOw8SQlqvkVVrX4U7eEH/LX1gY6pVZcY7S7g9X8XGtipbFGv0UEZKnR3qfXZUQeld NWeyDJFLM9VtduPUJOt22a1WOyiCH7/wjn3T6rdPtIJ71Vsz0D8Nvjmr6307b8T6Zx+M PVPQ== 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 lg12-20020a170902fb8c00b0019adf507297si11106340plb.73.2023.03.07.04.12.41; Tue, 07 Mar 2023 04:12:58 -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 S229922AbjCGMKb (ORCPT + 99 others); Tue, 7 Mar 2023 07:10:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjCGMKP (ORCPT ); Tue, 7 Mar 2023 07:10:15 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ECAD574F8; Tue, 7 Mar 2023 04:10:14 -0800 (PST) Received: from robin.home.jannau.net (p54accbe8.dip0.t-ipconnect.de [84.172.203.232]) by soltyk.jannau.net (Postfix) with ESMTPSA id 8697226F88B; Tue, 7 Mar 2023 13:10:12 +0100 (CET) From: Janne Grunau Date: Tue, 07 Mar 2023 13:10:12 +0100 Subject: [PATCH v3 06/15] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v3-6-d1a5f6383d95@jannau.net> References: <20230202-asahi-t8112-dt-v3-0-d1a5f6383d95@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v3-0-d1a5f6383d95@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Janne Grunau , Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1092; i=j@jannau.net; h=from:subject:message-id; bh=SF0RulFge1KLXxYvCFPks4sDQS0ghvbAM8eYX/qWUvY=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhhR2zQUu7LeXcGj82rYoseHPxeUl81ZeqNUyCJrp0DJBb OIvp4llHaUsDGIcDLJiiixJ2i87GFbXKMbUPgiDmcPKBDKEgYtTACaSvpDhv/e3BVPOZ6oH/2sL ez3HX+I0M8+zN6JCi77NU34Vt5d3ozbDP4PGirOarQ9aZ06PPbTsWuPpJyZcM4o8P7pN0Kl7fei ULicA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB, SPF_HELO_NONE,SPF_NONE autolearn=no 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?1759710993416737430?= X-GMAIL-MSGID: =?utf-8?q?1759710993416737430?= "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. Acked-by: Krzysztof Kozlowski Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/iommu/apple,sart.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/Documentation/devicetree/bindings/iommu/apple,sart.yaml index 1524fa3094ef..e87c1520fea6 100644 --- a/Documentation/devicetree/bindings/iommu/apple,sart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,sart.yaml @@ -28,9 +28,13 @@ description: properties: compatible: - enum: - - apple,t6000-sart - - apple,t8103-sart + oneOf: + - items: + - const: apple,t8112-sart + - const: apple,t6000-sart + - enum: + - apple,t6000-sart + - apple,t8103-sart reg: maxItems: 1