Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3907338iog; Tue, 21 Jun 2022 08:14:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tC8bOohiXdQujzEI7nRcCko0flR6TadAgpt+29P/vWlL6yUfGAy2+NBOSYxqtMjz39n15h X-Received: by 2002:a17:907:ea5:b0:722:d031:cf3d with SMTP id ho37-20020a1709070ea500b00722d031cf3dmr6951360ejc.226.1655824458651; Tue, 21 Jun 2022 08:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655824458; cv=none; d=google.com; s=arc-20160816; b=zZ5lsLnMXZV2hOUZ4uGU0I4PR847EaEe96oFWlMYOWpcOxPx1R/afY3BbZ/zgDJJr5 3Gv5vLVhNeQ8SvGsyri0juw4+HPZsYEYKTQ1rFqKRIXtK3aw2thVG6ZRMxYqaSv3J4Mi y7Se4jjBPkPelLfH6MeEXC+orJVON+M0arZJCc/46Z5dtqRy/QHVGjV+i4CGrgTK8Btb AmtRatXZWKMBI108SarG08UJn2LV/EwxFArx+nOEm+3j1tjyIOfTDSbcg7+vK3gFOyhT mhakyWdja1TXTkSS8ghzLEwQZm+EyIBdsUjIVpPtis+gitWcKjWP43R9jTJL9tx2YEcM 9/3g== 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 :dkim-signature; bh=ksIHmlKSMU37+Zo3znbjONqVsnNwDJ3NzqXq/aV3oCA=; b=wuJJKXHG7bkqKxrYmnbti52WA4bC87XU+h0mXxDbhewDjQ9jSRU9kDoin4Ml81SsGz FcjSWj/uL4g//idIfW6k9o0tzwznOE9SXAA1N3B/czxsdrPU3emxagwQkAUnMiflLsy6 FaFYK2vpkxeUQMFad63CBgueHZ30/9pIuBPQ9AZH+iN880oAljIDXUh9dGW/kkfTtDx0 lFHL8kaQOM0HYT+hYQ73XwOnxiy+DzIcaoHdf4WAGCVplprKKAG9q3clmXCFPNF5Tdcu I7cBTXNb2mqTziQCKJoUZQGDcEzQx2F35FERgXu2nRqRo1grrq/NUqBpRbGwCFjAPh6I aCIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=au5zbtdn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f30-20020a056402329e00b00435726c3651si829576eda.101.2022.06.21.08.13.52; Tue, 21 Jun 2022 08:14:18 -0700 (PDT) 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; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=au5zbtdn; 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 S1352552AbiFUPLS (ORCPT + 99 others); Tue, 21 Jun 2022 11:11:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351771AbiFUPKx (ORCPT ); Tue, 21 Jun 2022 11:10:53 -0400 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603E42A425; Tue, 21 Jun 2022 08:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ksIHmlKSMU37+Zo3znbjONqVsnNwDJ3NzqXq/aV3oCA=; b=au5zbtdn7wKZPe2dJRJ/gZlMy1 3z17b4S6Z4+f1cD4Fz/zl6QYb6PTVjVuikWuLBy8hiSzgtKiFT8nGGYUJV7WrizuyeamPl8Sot5G7 iuHfQZpDx5vAFZj5zVzgExGEHe5BEFcbSmpWmUxqdy2wl3oj50aLfQnmccc6nZhbIgm5wDxgcZyjk UKHX/hiBQd7dsI1vPfb1JpjiJcYkD3IozU7IRYUdJq0zE04OoRONYEHaVORoKphS2aRseSLKEp3lL rxPKLPFF5zd8MUtsuf5UnF6QdiJSnFbJPgPvES9rSmK9I/idDVbFq340xixydZ5tpXWj0Huo65GyV Zr/ZIL2w==; Received: from 91-158-25-70.elisa-laajakaista.fi ([91.158.25.70] helo=toshino.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o3fWU-00Ea3F-14; Tue, 21 Jun 2022 18:10:34 +0300 From: Mikko Perttunen To: thierry.reding@gmail.com, jonathanh@nvidia.com, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, robh+dt@kernel.org, krzysztof.kozlowski@canonical.com Cc: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mikko Perttunen , Rob Herring Subject: [PATCH v6 03/10] dt-bindings: host1x: Add iommu-map property Date: Tue, 21 Jun 2022 18:10:15 +0300 Message-Id: <20220621151022.1416300-4-cyndis@kapsi.fi> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621151022.1416300-1-cyndis@kapsi.fi> References: <20220621151022.1416300-1-cyndis@kapsi.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 91.158.25.70 X-SA-Exim-Mail-From: cyndis@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 From: Mikko Perttunen Add schema information for specifying context stream IDs. This uses the standard iommu-map property. Signed-off-by: Mikko Perttunen Reviewed-by: Robin Murphy Acked-by: Rob Herring --- v3: * New patch v4: * Remove memory-contexts subnode. --- .../bindings/display/tegra/nvidia,tegra20-host1x.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml index 4fd513efb0f7..0adeb03b9e3a 100644 --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml @@ -144,6 +144,11 @@ allOf: reset-names: maxItems: 1 + iommu-map: + description: Specification of stream IDs available for memory context device + use. Should be a mapping of IDs 0..n to IOMMU entries corresponding to + usable stream IDs. + required: - reg-names -- 2.36.1