Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp409569imm; Wed, 19 Sep 2018 00:33:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY+nHHFO3LIMCMMe/bAytSECPjDSTAMyvorcwoe0RkjKEOQ8IZuSLFwrk3bzhgjm+jsLh6U X-Received: by 2002:a65:5545:: with SMTP id t5-v6mr31050861pgr.157.1537342418659; Wed, 19 Sep 2018 00:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537342418; cv=none; d=google.com; s=arc-20160816; b=ayg1N1OeGa1PRNhwh6I1nl++qLi4vfp3xwW5o3hVgqXIxtc4d+Q4gD6DDcV/aQbhFK bsBkHRaFlfx7lAvL9HDIzQqyciBJMnx4r2VN17DZPx1ziH5WaX4i2AFu6PNewIKYYNNw 7z71sH/jWkJ5Qa6wQMGCjIk18S0yZsSdTKLHP9TDMoyeEnX/53mxYWCwoandB4hJOFuV 2H15o1ffSgU0GU6tmCzDfbkLbK3et7S5vMNsL7zMfRR3FAqYAZyvYKXP5TQIbBqctb2K 03HadMPIIWYXVT+A0RyZS1VqUGTr4lBC81/XWp0rZQwX37bxGReAXCvy8WgKnfD5HB2j a61A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9uPA69eajesH/rvoa4ZEPF3aZkxyK6Cwi+ARhg7mQG0=; b=O2Img681LDXIuvmXRRYQDfpoTDmbXsoJ5r2iupgw6etwYZCWO0T1PTjY9v9OEdtxDT QK52N/8sYv37pMtyilLDY/Vh63E53y+zOMe5iIxja51F924ww1BFiqSZfpx1DAMCBdXC R/hTBhYW+UiTJtpVcDtRVQhtfAg7Eqoo8AU/jXW/F+JjlFXk5v3WezZti3EvYO02fgAB nzy9gXcE35jepXLksPtEoCIw1svpPxauVfefSTzH5x5xIVSYbQGRXS27SSu+d6lV4HxG ysWcgwbG4AVJiFyl7LQY6z01GFO0HDTMyxKx+sNX5GPR+nTm8lrAYxUHqdY3WqcU9MHK 6QVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WuKYUmQO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l138-v6si22759923pfd.258.2018.09.19.00.33.23; Wed, 19 Sep 2018 00:33:38 -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=@chromium.org header.s=google header.b=WuKYUmQO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731121AbeISNJT (ORCPT + 99 others); Wed, 19 Sep 2018 09:09:19 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:55590 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731106AbeISNJS (ORCPT ); Wed, 19 Sep 2018 09:09:18 -0400 Received: by mail-it0-f65.google.com with SMTP id d10-v6so6946391itj.5 for ; Wed, 19 Sep 2018 00:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9uPA69eajesH/rvoa4ZEPF3aZkxyK6Cwi+ARhg7mQG0=; b=WuKYUmQOAKhIZlQCOAYc/MKP9xBWOj2WnpltQap/k5KMZdCSCI1jbi01b7EFvzCZdy YUBenARwa1W8K7Fc7OwGo2FJshHQmn9zdpYfZrcwopudTXUkddsAKHpKZx4NzBKYm1S1 lKwmgIrSzB8jSgysFrDoDkDjNiBONg0ZGn5PI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9uPA69eajesH/rvoa4ZEPF3aZkxyK6Cwi+ARhg7mQG0=; b=OucgXNbvAMP/e5nYwOPdQpshwBkzv5i1JqfsYuy5cGuKd8JZ5KCEuAizUtdQFz7vbT uuQ0pNCdUmDdQKw4yk6rNWZsGygg6gbUsRUorTZryPJZ8cFZts1C+ncIQx3rDYuIMkOq xGdoJ2FvE2Y/RsY/BWd8rpFqDMomduJffARV1K8spPR/1JaSa6gbOyCagoiLxkN7dxyW BX317azAVN97ih+W7IC7MXfjwA11jDvDa1g//uiZVFG/LM0RcDagwx0S3FwdKiMS1XdR InF773Gsv645XGraaOl8lt8283U94uaHT3sXJIh5lNi/Hyl6Jy7T3RHLyZ1zKr6Kw4cn ryPw== X-Gm-Message-State: APzg51D/PgO8edaKZzTcNlnDHueuUdibjFq0epT+kDgoDDTya76Z4dVl 3uglgW0tuCw6YCs1ziWoJkY3RIUMLen9Ag== X-Received: by 2002:a24:d6d3:: with SMTP id o202-v6mr18937499itg.115.1537342360284; Wed, 19 Sep 2018 00:32:40 -0700 (PDT) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com. [209.85.214.43]) by smtp.gmail.com with ESMTPSA id d198-v6sm3556229ith.5.2018.09.19.00.32.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 00:32:39 -0700 (PDT) Received: by mail-it0-f43.google.com with SMTP id j81-v6so6997243ite.0 for ; Wed, 19 Sep 2018 00:32:39 -0700 (PDT) X-Received: by 2002:a24:f54a:: with SMTP id k71-v6mr19237580ith.36.1537342358820; Wed, 19 Sep 2018 00:32:38 -0700 (PDT) MIME-Version: 1.0 References: <1537314192-26892-1-git-send-email-vgarodia@codeaurora.org> <1537314192-26892-6-git-send-email-vgarodia@codeaurora.org> In-Reply-To: <1537314192-26892-6-git-send-email-vgarodia@codeaurora.org> From: Alexandre Courbot Date: Wed, 19 Sep 2018 16:32:27 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 5/5] dt-bindings: media: Document bindings for venus firmware device To: vgarodia@codeaurora.org Cc: Stanimir Varbanov , Hans Verkuil , Mauro Carvalho Chehab , robh@kernel.org, mark.rutland@arm.com, Andy Gross , Arnd Bergmann , bjorn.andersson@linaro.org, Linux Media Mailing List , LKML , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 19, 2018 at 8:44 AM Vikash Garodia wrote: > > 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. I think I mentioned this in my previous review, but it would be nice to explain in which circumstances the firmware node is optional. I.e. it should not be specified if TrustZone is used. > > 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 >