Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3091234iob; Mon, 16 May 2022 12:53:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvDHsZ2AXhNajFC5WN7xc1ZSq90GGoG/5xYewEaPhtdXVnO5D72K+bJsktVJE8TnsOX+/n X-Received: by 2002:a17:902:7798:b0:158:ee95:f45b with SMTP id o24-20020a170902779800b00158ee95f45bmr18822288pll.97.1652730805737; Mon, 16 May 2022 12:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652730805; cv=none; d=google.com; s=arc-20160816; b=cdK1JpaO7asXGcGfFjUISFPfZI3f2ogzVpTCA6uiqLrVHpb2KH9ROO6HxTjPo5TDiC chWEJtSPxMnu4pNyUHAN1GzdOWyzCpMeZBSMNeF+88Ns+cQ5L4NPYkQwuVPvf53wi5QV U5YeR6jL7IZDV6MdZvObF1sHkyoG+SGp12aTDIc29eAK4u00z2JkMEKbNEYJbkJBnm9j nQV/NHeDBwlYFHjlJD9Noh7hncQxjDFcEU11e5Hq9gH+uJjfJEjnBMtsEBVLOayxt7Ws zaKlj/853lDbpOVeKDOyFCUsWLkzBiCmAu7BDo/qtqa0kbz7/Nqmri+0D9+XSanu+bPQ rsFg== 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=OLouEXO12B6v0omEv8NGlDts4nVs6vMaNq71BYtUazU=; b=mcs3kTKM3k437NQtv0vaFItYVOLEtUGY7KoBlixCYoKv1IX3aEByuCldMY7i8KwyK9 cu+GjYXBQwLZkZ3voF53GWGTcN9ZltWTPfk92fhlj6kBEN5Gz19mjD6TXpqKZgZNtYwu S7CMKJRB1JL7ElC2sc/9FYTvXSlsKlRzR1r0sqlECJiHk5P8W4bqvQelCS2st7ETFraF N96PB3+VKAgTpmgertET3UcxOqNiey5C/ur7FI9y2zzAkRe5Rvo5CCBw5n544FY87Cm5 Ao4sIRtjeA8IdLLYtfSD7Fb5qf/ZB0TCBhYAe2J8JEcWldSs82MQ0wl3WzfUXwE/e6MT Slxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=kMann90B; 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 n11-20020a170902f60b00b0015eafbef962si14259012plg.31.2022.05.16.12.53.14; Mon, 16 May 2022 12:53:25 -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=kMann90B; 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 S242074AbiEPIyq (ORCPT + 99 others); Mon, 16 May 2022 04:54:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242058AbiEPIxm (ORCPT ); Mon, 16 May 2022 04:53:42 -0400 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2787013F2C; Mon, 16 May 2022 01:53:34 -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=OLouEXO12B6v0omEv8NGlDts4nVs6vMaNq71BYtUazU=; b=kMann90BeDSTS9SfNr1rXbknyf FqpWgKJByWlWif2Ah2dDqx7GMKeGOGIJbklcqJprLRpHhgnGTtnJs42ne1VYfOvWYq1wHHoe9joJI rIDuXqWURpli5psT2+tLZtUUpQ85LFyUlgzMjN9fm3nkTalSU9yE/KLB9h6jxH9QluNQ0gaPmWcbK ufLDAFTxF39ukvYiHzcAoNtaRHGIJi9RCNTWbd0z5v5GDpJnU2NUGW3l8QqKr5RDAu1lQHEcCJFwq zqRKPrPcKHGiF0JVID8suPWdImpfWJ9HCbnYABoXwzHejSnzPmgz0FwW+pSNERqBERlrEBRfby0iM FGkAXGRQ==; Received: from 91-158-25-70.elisa-laajakaista.fi ([91.158.25.70] helo=toshino.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nqWTe-0005fd-H9; Mon, 16 May 2022 11:53:18 +0300 From: cyndis@kapsi.fi 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 Subject: [PATCH v5 1/9] dt-bindings: host1x: Add iommu-map property Date: Mon, 16 May 2022 11:52:50 +0300 Message-Id: <20220516085258.1227691-2-cyndis@kapsi.fi> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220516085258.1227691-1-cyndis@kapsi.fi> References: <20220516085258.1227691-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 --- 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