From patchwork Wed Sep 7 11:37:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 75648 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp281231qgf; Wed, 7 Sep 2016 04:45:17 -0700 (PDT) X-Received: by 10.98.67.193 with SMTP id l62mr82023469pfi.16.1473248717304; Wed, 07 Sep 2016 04:45:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j65si40982256pfj.96.2016.09.07.04.45.17; Wed, 07 Sep 2016 04:45:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933438AbcIGLpO (ORCPT + 4 others); Wed, 7 Sep 2016 07:45:14 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:33642 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757282AbcIGLpM (ORCPT ); Wed, 7 Sep 2016 07:45:12 -0400 Received: by mail-wm0-f46.google.com with SMTP id w12so19108463wmf.0 for ; Wed, 07 Sep 2016 04:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0wr8LTHM4T+5VvqoVTUi7YBvL1g996X9llqFVU188ps=; b=cFidy/AUmHlMNeUxl+T3bWN0wv1cPwqORHZBvypTgle6BF0OL3wakiHRbC2nh1/6mx 2Jo7PdT1Nt7SdRZspc6oGExefV/CJrv6Nrklmq9MiQeGvSEkRdR/5o9SXukX2KhqrkTt 2b469WV8tq+9QOyg3/EETNGYc89iDEUA7NCOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0wr8LTHM4T+5VvqoVTUi7YBvL1g996X9llqFVU188ps=; b=lqEhonSZeeGrchXga6tLCLtAUXi52XmWekJAPj2kGvgAkZKwdRqHy47KAl9QhNhdoo Zids5OGqkQmtYaVpJvDoiiQw13qcgEoVGLIlpVkHx8Q8bmjLjQSTG+QYYlM5D5cTVuHD jZ2JWKSeVLo4HJK3Q5jCeii3ftamoEaRWorgN3nQuE2vkQeTMgzH2Pk0yu9oYKOliO0Q 7lNbVn+3iDlo2+h7Mftpg8QbiMTHws5dOCKyJaj6wsd4nyFLMzfeiUvEVRBXQ5wR4GzI rmBoOvsepPItPQc1J5bHBk0IaOQfuWSBlwmRTcU7P0z0BMdIR089a5avOv5pUFv/AnEb Z7hQ== X-Gm-Message-State: AE9vXwONicuM8cddYkeinqs6P/21XuKPnTA1KgPOsQSTJwDX+e5+dK4/s1aqWrs1WOqSlsRg X-Received: by 10.28.74.217 with SMTP id n86mr3671318wmi.84.1473248271325; Wed, 07 Sep 2016 04:37:51 -0700 (PDT) Received: from mms-0440.wifi.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id v189sm3817046wmv.12.2016.09.07.04.37.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 04:37:50 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: Andy Gross , Bjorn Andersson , Stephen Boyd , Srinivas Kandagatla , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v2 1/8] doc: DT: vidc: binding document for Qualcomm video driver Date: Wed, 7 Sep 2016 14:37:02 +0300 Message-Id: <1473248229-5540-2-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473248229-5540-1-git-send-email-stanimir.varbanov@linaro.org> References: <1473248229-5540-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Adds binding document for vidc video encoder/decoder driver Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Stanimir Varbanov --- .../devicetree/bindings/media/qcom,vidc.txt | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/qcom,vidc.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/media/qcom,vidc.txt b/Documentation/devicetree/bindings/media/qcom,vidc.txt new file mode 100644 index 000000000000..0d50a7b2e3ed --- /dev/null +++ b/Documentation/devicetree/bindings/media/qcom,vidc.txt @@ -0,0 +1,61 @@ +* Qualcomm video encoder/decoder accelerator + +- compatible: + Usage: required + Value type: + Definition: Value should contain + - "qcom,vidc-msm8916" + - "qcom,vidc-msm8996" +- reg: + Usage: required + Value type: + Definition: Register ranges as listed in the reg-names property + +- interrupts: + Usage: required + Value type: + Definition: + +- power-domains: + Usage: required + Value type: + Definition: A phandle and power domain specifier pairs to the + power domain which is responsible for collapsing + and restoring power to the peripheral + +- clocks: + Usage: required + Value type: + Definition: List of phandle and clock specifier pairs as listed + in clock-names property +- clock-names: + Usage: required + Value type: + Definition: Should contain the following entries + - "core" Core video accelerator clock + - "iface" Video accelerator AHB clock + - "bus" Video accelerator AXI clock +- rproc: + Usage: required + Value type: + Definition: A phandle to remote processor responsible for + firmware loading + +- iommus: + Usage: required + Value type: + Definition: A list of phandle and IOMMU specifier pairs + +* An Example + qcom,vidc@1d00000 { + compatible = "qcom,vidc-msm8916"; + reg = <0x01d00000 0xff000>; + clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>, + <&gcc GCC_VENUS0_AHB_CLK>, + <&gcc GCC_VENUS0_AXI_CLK>; + clock-names = "core", "iface", "bus"; + interrupts = ; + power-domains = <&gcc VENUS_GDSC>; + rproc = <&vidc_rproc>; + iommus = <&apps_iommu 5>; + };