From patchwork Tue Sep 18 23:43:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikash Garodia X-Patchwork-Id: 52156 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2PfI-0003sa-6G; Tue, 18 Sep 2018 23:44:20 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730784AbeISFTL (ORCPT + 1 other); Wed, 19 Sep 2018 01:19:11 -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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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>; + }; };