From: Rob Clark <robdclark@gmail.com>
To: linux-arm-msm@vger.kernel.org, Andy Gross <agross@codeaurora.org>
Cc: Stanimir Varbanov <stanimir.varbanov@linaro.org>,
Rob Clark <robdclark@gmail.com>
Subject: [PATCH 2/3] ARM64: DT: add video codec devicetree node
Date: Thu, 25 May 2017 13:48:21 -0400 [thread overview]
Message-ID: <20170525174822.27996-3-robdclark@gmail.com> (raw)
In-Reply-To: <20170525174822.27996-1-robdclark@gmail.com>
From: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index f9b8a28..2ef8f53 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -88,6 +88,13 @@
no-map;
};
+ venus_mem: venus@89900000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x89900000 0x0 0x800000>;
+ alignment = <0x1000>;
+ no-map;
+ };
+
mba_mem: mba@8ea00000 {
no-map;
reg = <0 0x8ea00000 0 0x100000>;
@@ -1214,6 +1221,27 @@
};
};
};
+
+ venus: video-codec@1d00000 {
+ compatible = "qcom,msm8916-venus";
+ reg = <0x01d00000 0xff000>;
+ interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&gcc VENUS_GDSC>;
+ clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
+ <&gcc GCC_VENUS0_AHB_CLK>,
+ <&gcc GCC_VENUS0_AXI_CLK>;
+ clock-names = "core", "iface", "bus";
+ memory-region = <&venus_mem>;
+ status = "okay";
+
+ video-decoder {
+ compatible = "venus-decoder";
+ };
+
+ video-encoder {
+ compatible = "venus-encoder";
+ };
+ };
};
smd {
--
2.9.4
next prev parent reply other threads:[~2017-05-25 17:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 17:48 [PATCH 0/3] gpu + venus + iommu dt nodes for msm8916 Rob Clark
2017-05-25 17:48 ` [PATCH 1/3] ARM64: DT: add gpu " Rob Clark
2017-05-31 0:11 ` Stephen Boyd
2017-05-25 17:48 ` Rob Clark [this message]
2017-05-25 17:48 ` [PATCH 3/3] ARM64: DT: add iommu " Rob Clark
2017-05-31 0:14 ` Stephen Boyd
2017-05-31 11:58 ` Rob Clark
2017-05-31 16:14 ` Stephen Boyd
2017-06-12 12:43 [PATCH 1/3] ARM64: DT: add gpu " Rob Clark
2017-06-12 12:43 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
2017-06-13 2:12 ` Stephen Boyd
2017-08-16 14:31 ` Stanimir Varbanov
2017-08-16 14:53 ` Andy Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170525174822.27996-3-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=agross@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=stanimir.varbanov@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.