From: Rob Clark <robdclark@gmail.com>
To: linux-arm-msm@vger.kernel.org
Cc: Stephen Boyd <sboyd@codeaurora.org>,
Andy Gross <agross@codeaurora.org>,
Stanimir Varbanov <stanimir.varbanov@linaro.org>,
Rob Clark <robdclark@gmail.com>
Subject: [PATCH 2/3] ARM64: DT: add video codec devicetree node
Date: Mon, 12 Jun 2017 08:43:16 -0400 [thread overview]
Message-ID: <20170612124317.29313-2-robdclark@gmail.com> (raw)
In-Reply-To: <20170612124317.29313-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 24c24ab..1dcd632 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-06-12 12:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 12:43 [PATCH 1/3] ARM64: DT: add gpu for msm8916 Rob Clark
2017-06-12 12:43 ` Rob Clark [this message]
2017-06-13 2:12 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Stephen Boyd
2017-08-16 14:31 ` Stanimir Varbanov
2017-08-16 14:53 ` Andy Gross
2017-06-12 12:43 ` [PATCH 3/3] ARM64: DT: add iommu for msm8916 Rob Clark
2017-06-13 2:12 ` Stephen Boyd
2017-06-13 2:11 ` [PATCH 1/3] ARM64: DT: add gpu " Stephen Boyd
-- strict thread matches above, loose matches on Subject: below --
2017-05-25 17:48 [PATCH 0/3] gpu + venus + iommu dt nodes " Rob Clark
2017-05-25 17:48 ` [PATCH 2/3] ARM64: DT: add video codec devicetree node Rob Clark
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=20170612124317.29313-2-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=agross@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=sboyd@codeaurora.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).