Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3591652imm; Mon, 8 Oct 2018 06:34:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV61zZ53TBDewVYLhCQvQ4Q4GJyRU4+8O0JgfwCSMTxaP5aT8ptQgV7rXl9A2SBtUi73HnYqw X-Received: by 2002:a17:902:6b82:: with SMTP id p2-v6mr24208902plk.50.1539005686387; Mon, 08 Oct 2018 06:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539005686; cv=none; d=google.com; s=arc-20160816; b=L+ZTo/BeoqWvyD98ERJJ+1cduZ/N979ekB+qscKyI7+3TiyBL69xz0PMhZAzM+AG5j i80dAkptXeCAR0XkDsqJp8hlLZf4x1X5+uKebelj4I0+v3KmrNlCNVIIfiDHwmaCn+DN stuDWUtpoEsjFGn7QSP8xq2vaPn+pJHrPmej+U/dDOIg3VUabQ2PCcZ/gwYuS/5J9kza FTa+Af0lYoTyCwBLsdTCutE9BBabcr+81cOFmyLEKQ6zVpVF7dpeISAkGYgdkAb8D8bW 4oGTMT5sZ3zrnDcAm2qnPxswaSbOYM0nwFxs/gmkTYTz6bUdEhkfxOTU199BxVfJn77U MWZw== 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=VBh0+1L9AEPGNU+HVGvSoOaOqLPqLvOGXWNL7AriLgY=; b=eCxP5ITh85BX/uDPE34xbBDDhZvA64n8aPhY2jBw8tDhyAMxkWFrpMwJJ3EOmFkDZu WOo0uotovWPCGRINK2aPhdEE3FinAPu3WACJ1Wgs2HXaeQYXIKRN8v3rDRwIKE8M1HPP aRdK+du6+0TfeUjS4coU4gSbVD1lj+FQ/qAcpTRDBn7P7h1yCNXV4HWuhtr/1hgUi+uG 705aqFsya7UDP/b5eAwmbfN29hRAGgPPvexAIAvl/FFYnRzdws5tbI78e5x5y3XQDf1v qcgCQXL2OaFu1eWr087zPGtnrpeM7Vl8vt3fUyiGSFBwy7pnFA9VvBlF3Sc8uSqwyKpR A9ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ja8JnQbm; dkim=pass header.i=@codeaurora.org header.s=default header.b=bW04OBWm; 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 k19-v6si18306256pfb.216.2018.10.08.06.34.31; Mon, 08 Oct 2018 06:34:46 -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=Ja8JnQbm; dkim=pass header.i=@codeaurora.org header.s=default header.b=bW04OBWm; 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 S1726799AbeJHUpX (ORCPT + 99 others); Mon, 8 Oct 2018 16:45:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48026 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbeJHUpX (ORCPT ); Mon, 8 Oct 2018 16:45:23 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C40C460C8A; Mon, 8 Oct 2018 13:33:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539005617; bh=tyrC3RugWUjy7YFsnQINBY4rjSC8Oc8P0aIh7m1qcV0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ja8JnQbmOI091HysaakpBqd3Nhbo9uOxEEIre2/KIM18VHKEcwbpcY1J39bbrztxQ Nay/KhJOEi4uixkD6YThnYA/CyBnjqAWc97YY8GP5BA99yI/E7/z0tlXvp7aKICtsX yo9h0WGKxqAc7c/HY9yiwuV/XfJvmQPxP0JuduXA= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED 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 4F82E60C4B; Mon, 8 Oct 2018 13:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539005614; bh=tyrC3RugWUjy7YFsnQINBY4rjSC8Oc8P0aIh7m1qcV0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bW04OBWmGMknQrD0GjRQT0FXiZsuOUYYlRBwMHVnpyfJr46icsFNDQ+t2TVg1MCdp dgfBilZSPluDWE+e9YZjxvMetoYiJBW7OnEzg9Dy2wIGU+eejVP440oBjZ5mPCeFMY wpQb0xr3wW8WdGhQ1rx58uZt3YXdT6DkHEiUV18c= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4F82E60C4B 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 Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, acourbot@chromium.org, vgarodia@codeaurora.org Subject: [PATCH v11 5/5] dt-bindings: media: Document bindings for venus firmware device Date: Mon, 8 Oct 2018 19:02:52 +0530 Message-Id: <1539005572-803-6-git-send-email-vgarodia@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539005572-803-1-git-send-email-vgarodia@codeaurora.org> References: <1539005572-803-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 Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/qcom,venus.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/qcom,venus.txt b/Documentation/devicetree/bindings/media/qcom,venus.txt index 00d0d1b..b602c4c 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus.txt +++ b/Documentation/devicetree/bindings/media/qcom,venus.txt @@ -53,7 +53,8 @@ * 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. +Firmware subnode is needed when the platform does not have TrustZone. Every of video-encoder or video-decoder subnode should have: @@ -79,6 +80,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 +113,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