From patchwork Sun Jun 2 21:37:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10972047 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6ED5414DB for ; Sun, 2 Jun 2019 21:45:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6033A28896 for ; Sun, 2 Jun 2019 21:45:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 547E8288A7; Sun, 2 Jun 2019 21:45:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04EC128896 for ; Sun, 2 Jun 2019 21:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727395AbfFBVpI (ORCPT ); Sun, 2 Jun 2019 17:45:08 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37425 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727269AbfFBVon (ORCPT ); Sun, 2 Jun 2019 17:44:43 -0400 Received: by mail-lj1-f193.google.com with SMTP id 131so1760869ljf.4; Sun, 02 Jun 2019 14:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NPHUAZZIdahQ/rcokwzfDEN4AgIFxox/+5UQQJnBiAA=; b=DYQU0i5vx96+vx/RM/i5VKGnJ/ksBoBWuGULPg39/P89lS2avRvim/zuXoyzfjcwHm gzayjijDAuflnojX3XHUFmGKXeC64ZeLEpOMcsi81/tlzBXC6t/7KwxffWEaKFUOAMOn 06PJmjgmugDftQCUflHvESEgQgTpfrrGdJB8ysTiDaasazSBKrvaDfmm339APW14TzmL BVYy7zwry5S631Ny51G+ZJzL2GAEXW8z2gpXWYsVsb6T7Wkvow+vUpEBWyTYQ2qRE1KQ a0IyqzGe/EA28qE6ADrtzFRBIEUar2AkFF9GCmDKvx9sJcR55I2XAY5YquzcsUiveB9z XnUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NPHUAZZIdahQ/rcokwzfDEN4AgIFxox/+5UQQJnBiAA=; b=iVrWczEdTUQGzhfEQAyMCXe5C2dWoyqtIj9xICX9VEvt+ri8aNLwqoDSGHZQL94Shl HjZfzDjwsO8W6M/EznGPWDC02SWveRGD2qG5/7PCTz5FXMZDyT39DPWXDn+n3ejvpSpl +dLhCeG3QggTMYa8tepCEbvRAW4Cu/ikSG7GxIpzZp9sG9GITI+vSt6uEuC3PGBIK7Wb +++I8FqpFYNRAzxaKQZoxsyWgDDD97epuydj+8pyY0PBqtTbp8lzCmQTfwA5MHRWQvSm PlvBqEGZmlKKvJSKZ4YFN7H2lARgrNB+ju+vQcm1ElqXtdr/kXmZg4RWKGKv01YEh2iu Rq2g== X-Gm-Message-State: APjAAAXHajBOsk1/aPYqNwlsFqhSS8/94h8Jmwnc039OH3ATjltfuzUM L0NHjw8G5OX8wobMFbmjs3g= X-Google-Smtp-Source: APXvYqzBK6bljogfBYdpYcKn3VWUQ2+By56df1hY7cqOQLgGiV0o9yL26EPdnZBLerrtdds/a482TQ== X-Received: by 2002:a2e:7216:: with SMTP id n22mr12360907ljc.42.1559511880831; Sun, 02 Jun 2019 14:44:40 -0700 (PDT) Received: from localhost.localdomain ([94.29.35.141]) by smtp.gmail.com with ESMTPSA id g22sm2803653lje.43.2019.06.02.14.44.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 14:44:39 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] media: dt: bindings: tegra-vde: Document new optional IOMMU property Date: Mon, 3 Jun 2019 00:37:08 +0300 Message-Id: <20190602213712.26857-4-digetx@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190602213712.26857-1-digetx@gmail.com> References: <20190602213712.26857-1-digetx@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All NVIDIA Tegra SoC generations provide IOMMU support for the video decoder engine. Document new optional device-tree property that connects VDE with the IOMMU provider. Signed-off-by: Dmitry Osipenko --- Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt index 7302e949e662..602169b8aa19 100644 --- a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt +++ b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt @@ -35,6 +35,7 @@ Optional properties: - resets : Must contain an entry for each entry in reset-names. - reset-names : Must include the following entries: - mc +- iommus: Must contain phandle to the IOMMU device node. Example: @@ -59,4 +60,5 @@ video-codec@6001a000 { clocks = <&tegra_car TEGRA20_CLK_VDE>; reset-names = "vde", "mc"; resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>; + iommus = <&mc TEGRA_SWGROUP_VDE>; };