* [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes
@ 2021-04-01 17:42 Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 1/2] arm64: dts: qcom: sm8250: Add videocc DT node Bryan O'Donoghue
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bryan O'Donoghue @ 2021-04-01 17:42 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, linux-arm-msm, devicetree
Cc: bryan.odonoghue, jonathan, dikshita, dmitry.baryshkov
V3:
- Applies cleanly on top of robh/for-next relevant binding applied
- Add Dmitry's Tested-by as indicated
V2:
I noticed this series doesn't apply/build against device-tree/dt/next
- Adds dependency patch from Dmitry
- Adds "#include <dt-bindings/interconnect/qcom,sm8250.h>"
Depends on dt-binding:
https://www.spinics.net/lists/devicetree/msg406892.html
V1:
Adds
- videocc
The clock controller for the Venus core and codec blocks
- venus
The SoC DT description for the core, encoder, decoder + associated
The second patch is contingent on application of this pending patch
https://www.spinics.net/lists/linux-arm-msm/msg80960.html
Bryan O'Donoghue (1):
arm64: dts: qcom: sm8250: Add venus DT node
Jonathan Marek (1):
arm64: dts: qcom: sm8250: Add videocc DT node
arch/arm64/boot/dts/qcom/sm8250.dtsi | 73 ++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
--
2.30.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v3 1/2] arm64: dts: qcom: sm8250: Add videocc DT node
2021-04-01 17:42 [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes Bryan O'Donoghue
@ 2021-04-01 17:42 ` Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add venus " Bryan O'Donoghue
2021-04-04 18:10 ` [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes patchwork-bot+linux-arm-msm
2 siblings, 0 replies; 4+ messages in thread
From: Bryan O'Donoghue @ 2021-04-01 17:42 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, linux-arm-msm, devicetree
Cc: bryan.odonoghue, jonathan, dikshita, dmitry.baryshkov, Jonathan Marek
From: Jonathan Marek <Jonathan Marek jonathan@marek.ca>
This commit adds the videocc DTS node for sm8250.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 947e1accae3a..23fb9a0e32b9 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -17,6 +17,7 @@
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/thermal/thermal.h>
+#include <dt-bindings/clock/qcom,videocc-sm8250.h>
/ {
interrupt-parent = <&intc>;
@@ -2322,6 +2323,19 @@ usb_2_dwc3: dwc3@a800000 {
};
};
+ videocc: clock-controller@abf0000 {
+ compatible = "qcom,sm8250-videocc";
+ reg = <0 0x0abf0000 0 0x10000>;
+ clocks = <&gcc GCC_VIDEO_AHB_CLK>,
+ <&rpmhcc RPMH_CXO_CLK>,
+ <&rpmhcc RPMH_CXO_CLK_A>;
+ mmcx-supply = <&mmcx_reg>;
+ clock-names = "iface", "bi_tcxo", "bi_tcxo_ao";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ #power-domain-cells = <1>;
+ };
+
mdss: mdss@ae00000 {
compatible = "qcom,sdm845-mdss";
reg = <0 0x0ae00000 0 0x1000>;
--
2.30.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add venus DT node
2021-04-01 17:42 [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 1/2] arm64: dts: qcom: sm8250: Add videocc DT node Bryan O'Donoghue
@ 2021-04-01 17:42 ` Bryan O'Donoghue
2021-04-04 18:10 ` [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes patchwork-bot+linux-arm-msm
2 siblings, 0 replies; 4+ messages in thread
From: Bryan O'Donoghue @ 2021-04-01 17:42 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, linux-arm-msm, devicetree
Cc: bryan.odonoghue, jonathan, dikshita, dmitry.baryshkov, Dikshita Agarwal
Add DT entries for the sm8250 venus encoder/decoder.
Co-developed-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Co-developed-by: Dikshita Agarwal <dikshita@qti.qualcomm.com>
Signed-off-by: Dikshita Agarwal <dikshita@qti.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 59 ++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 23fb9a0e32b9..cf602e8c40a7 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -2323,6 +2323,65 @@ usb_2_dwc3: dwc3@a800000 {
};
};
+ venus: video-codec@aa00000 {
+ compatible = "qcom,sm8250-venus";
+ reg = <0 0x0aa00000 0 0x100000>;
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&videocc MVS0C_GDSC>,
+ <&videocc MVS0_GDSC>,
+ <&rpmhpd SM8250_MX>;
+ power-domain-names = "venus", "vcodec0", "mx";
+ operating-points-v2 = <&venus_opp_table>;
+
+ clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
+ <&videocc VIDEO_CC_MVS0C_CLK>,
+ <&videocc VIDEO_CC_MVS0_CLK>;
+ clock-names = "iface", "core", "vcodec0_core";
+
+ interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
+ <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
+ interconnect-names = "cpu-cfg", "video-mem";
+
+ iommus = <&apps_smmu 0x2100 0x0400>;
+ memory-region = <&video_mem>;
+
+ resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
+ <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
+ reset-names = "bus", "core";
+
+ video-decoder {
+ compatible = "venus-decoder";
+ };
+
+ video-encoder {
+ compatible = "venus-encoder";
+ };
+
+ venus_opp_table: venus-opp-table {
+ compatible = "operating-points-v2";
+
+ opp-720000000 {
+ opp-hz = /bits/ 64 <720000000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
+ };
+
+ opp-1014000000 {
+ opp-hz = /bits/ 64 <1014000000>;
+ required-opps = <&rpmhpd_opp_svs>;
+ };
+
+ opp-1098000000 {
+ opp-hz = /bits/ 64 <1098000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>;
+ };
+
+ opp-1332000000 {
+ opp-hz = /bits/ 64 <1332000000>;
+ required-opps = <&rpmhpd_opp_nom>;
+ };
+ };
+ };
+
videocc: clock-controller@abf0000 {
compatible = "qcom,sm8250-videocc";
reg = <0 0x0abf0000 0 0x10000>;
--
2.30.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes
2021-04-01 17:42 [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 1/2] arm64: dts: qcom: sm8250: Add videocc DT node Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add venus " Bryan O'Donoghue
@ 2021-04-04 18:10 ` patchwork-bot+linux-arm-msm
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-04-04 18:10 UTC (permalink / raw)
To: Bryan O'Donoghue; +Cc: linux-arm-msm
Hello:
This series was applied to qcom/linux.git (refs/heads/for-next):
On Thu, 1 Apr 2021 18:42:54 +0100 you wrote:
> V3:
> - Applies cleanly on top of robh/for-next relevant binding applied
> - Add Dmitry's Tested-by as indicated
>
> V2:
>
> I noticed this series doesn't apply/build against device-tree/dt/next
>
> [...]
Here is the summary with links:
- [v3,1/2] arm64: dts: qcom: sm8250: Add videocc DT node
https://git.kernel.org/qcom/c/5b9ec225d4ed
- [v3,2/2] arm64: dts: qcom: sm8250: Add venus DT node
https://git.kernel.org/qcom/c/fa245b3f06cd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-04 18:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 17:42 [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 1/2] arm64: dts: qcom: sm8250: Add videocc DT node Bryan O'Donoghue
2021-04-01 17:42 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add venus " Bryan O'Donoghue
2021-04-04 18:10 ` [PATCH v3 0/2] dts: qcom: sm8250: Enable venus related DT nodes patchwork-bot+linux-arm-msm
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).