From patchwork Mon Oct 8 13:23:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikash Garodia X-Patchwork-Id: 10630749 X-Patchwork-Delegate: agross@codeaurora.org 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 6B75E14BD for ; Mon, 8 Oct 2018 13:23:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC9D929073 for ; Mon, 8 Oct 2018 13:23:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0B9229234; Mon, 8 Oct 2018 13:23:51 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 5511C29073 for ; Mon, 8 Oct 2018 13:23:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726771AbeJHUfX (ORCPT ); Mon, 8 Oct 2018 16:35:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38550 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeJHUfW (ORCPT ); Mon, 8 Oct 2018 16:35:22 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 41C0260C4B; Mon, 8 Oct 2018 13:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539005019; bh=efzzj7gHDgVdOeeANGauYGgf6Lw32m439+5kE+Etxqg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdQFGG7kXVXb4KUXbT8t6PqLraXZYiv1zQhUgmnk4FOuw+OjT0vxEF/9m9+RCz0Wo PSrCNALLKjYG0AWgI7JOtcqx+5pTUDYnBnuNM9UFxb6bcWrS0VfFBv7izwte+a9Lr+ QRGNywXR9wOBpc+CkiXuwWLFSEjNpK/NwyC4Hs6M= 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 863D360C81; Mon, 8 Oct 2018 13:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539005017; bh=efzzj7gHDgVdOeeANGauYGgf6Lw32m439+5kE+Etxqg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LnKwBUx1/t53u9VjXL/yOhkAur3IJW+t5pAl7hi8PnMYWPlb/R3ePDOfD6Dgv9htY pFUSIEahsSTT9chsR2sl53zem+3Y0D9VR3C3rFZh+To8wlX4e3aPs0avzEK8L+nArJ 3ZwJAvkqk+johAG0CqA53Y2IBdwHidWuAkWcSSEo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 863D360C81 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 v10 5/5] dt-bindings: media: Document bindings for venus firmware device Date: Mon, 8 Oct 2018 18:53:02 +0530 Message-Id: <1539004982-32555-6-git-send-email-vgarodia@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539004982-32555-1-git-send-email-vgarodia@codeaurora.org> References: <1539004982-32555-1-git-send-email-vgarodia@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 | 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>; + }; };