Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp67052imm; Tue, 18 Sep 2018 16:44:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaCJ2Wd0nyzBb2aKHozjStsRmzy8O+FzVsRJ9geyYUYykSsJ4ekDo9bFklgWsqjpzQg2FCX X-Received: by 2002:a62:2744:: with SMTP id n65-v6mr33398297pfn.125.1537314284970; Tue, 18 Sep 2018 16:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537314284; cv=none; d=google.com; s=arc-20160816; b=KCJH6sx8+s1Jt17BPeIUaNZnYeG4QLG4YOxf9MZmkS6vZUoRUr9R59rjsmBj+jZ7wb I6zV9Agad3hwMUKgBjt4QO7P2dj63dvNA1r3opvHhJBbmQYu8THKHdX7BsLwVj7cZBDd urHn0emn0SzRSUb4h3mNXiNh/NqMo8EpyKaRhw8pcC5jPPWxgTAHqlH9n8wVea6MhsGA F0ZrjsxbX4QNcVsTykFvvHe8zT1CfK6fJkborEb7yWNRle7xnO2SxjEVpBa18L/axS6r u0h2M6X5Ep9TwkqLcIrNKtuGeGRUOTZiSfMe+Z8K6Nv4dEGZifrsyvz+z00oT6+ev8OU hXtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature; bh=1dwXCybAK0t0tZOxlyama9SvLTOyraZrz8lTYHsu8BY=; b=dj3k/38aGlqYMN+abARI0LEz2WZ6Y5ZneauFXNVNdkQzcJgue7HHpT9hvN3EEWlFwK EeJP0xbImFsV3Om2daY7j622Fn6woXVWRJ90pWyPv5n+Qkn4yU1NxOIbTikz+2oO+5T5 4bI04Nz6RdJHv3QlU3mhR632SUD5DBOJUhDb+7sKCI6a5Ni56bOqCwyTolhe+7UBFl33 kA9YnzCyZ1YumYnUMgrsuc0paaZjhd63aWISCZmYtCitcXxhETHFcf/wGM56Pv3ilLPw lNWrmrGi1RlKUYG58Ib1znu8o+usUCYqZNyIH1vqjFWXGItPpHO2n4xmQqMjpQ4IwMMr 0DdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lM4nekji; dkim=pass header.i=@codeaurora.org header.s=default header.b=VJgXtT9Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32-v6si19603517pld.330.2018.09.18.16.44.29; Tue, 18 Sep 2018 16:44:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lM4nekji; dkim=pass header.i=@codeaurora.org header.s=default header.b=VJgXtT9Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730793AbeISFTM (ORCPT + 99 others); Wed, 19 Sep 2018 01:19:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42516 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727099AbeISFTK (ORCPT ); Wed, 19 Sep 2018 01:19:10 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 11CC960C4B; Tue, 18 Sep 2018 23:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537314251; bh=Zj8nR7mc9VOQNq+J7BKyEKm79z8yGhTaVs3LLn79rK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lM4nekjiqfztx9WpY0BC2SEtnRtQMtFlvxetZ/pvLCLkmNtY66L/KSZ0gst94kz7h l1LG1V/1bgUvTCBnVhUhX3lD2he1p09paNoD5RzgIP7yG2GrM0Wp0uCXpSwiUxYWY+ dojDJDNS1pkglmKsRsnzi7wB0Zw7LAmnW2VO7JGc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from vgarodia-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vgarodia@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5AD2C60B73; Tue, 18 Sep 2018 23:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537314240; bh=Zj8nR7mc9VOQNq+J7BKyEKm79z8yGhTaVs3LLn79rK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VJgXtT9QB+zfT9rlvWosO/V17mVc56njCJGK3ZqdYM6YA98RWLuDHJlOLIok1t9KR iqu/RlYxfzBp1Ux8mFdRAKiViR8JRcNAAhcPoQZvriMhYdo84tqdqM37im5UKQ72K7 w2GR/Fy5QjddkCjMISwKMHc70EUwPc2bYpmv4elY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5AD2C60B73 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vgarodia@codeaurora.org From: Vikash Garodia To: stanimir.varbanov@linaro.org, hverkuil@xs4all.nl, mchehab@kernel.org, robh@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, arnd@arndb.de, bjorn.andersson@linaro.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, acourbot@chromium.org, vgarodia@codeaurora.org Subject: [PATCH v9 5/5] dt-bindings: media: Document bindings for venus firmware device Date: Wed, 19 Sep 2018 05:13:12 +0530 Message-Id: <1537314192-26892-6-git-send-email-vgarodia@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1537314192-26892-1-git-send-email-vgarodia@codeaurora.org> References: <1537314192-26892-1-git-send-email-vgarodia@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree binding documentation for firmware loader for video hardware running on qualcomm chip. Signed-off-by: Vikash Garodia --- Documentation/devicetree/bindings/media/qcom,venus.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/qcom,venus.txt b/Documentation/devicetree/bindings/media/qcom,venus.txt index 00d0d1b..7e04586 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus.txt +++ b/Documentation/devicetree/bindings/media/qcom,venus.txt @@ -53,7 +53,7 @@ * Subnodes The Venus video-codec node must contain two subnodes representing -video-decoder and video-encoder. +video-decoder and video-encoder, and one optional firmware subnode. Every of video-encoder or video-decoder subnode should have: @@ -79,6 +79,13 @@ Every of video-encoder or video-decoder subnode should have: power domain which is responsible for collapsing and restoring power to the subcore. +The firmware subnode must have: + +- iommus: + Usage: required + Value type: + Definition: A list of phandle and IOMMU specifier pairs. + * An Example video-codec@1d00000 { compatible = "qcom,msm8916-venus"; @@ -105,4 +112,8 @@ Every of video-encoder or video-decoder subnode should have: clock-names = "core"; power-domains = <&mmcc VENUS_CORE1_GDSC>; }; + + video-firmware { + iommus = <&apps_iommu 0x10b2 0x0>; + }; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project