diff mbox series

arm64: dts: qcom: sc7180: Add interconnect paths for the video codec

Message ID 20200409160206.1.Icf877f5cd50ef5e56d14ee014ca196d76242cb89@changeid (mailing list archive)
State Accepted
Commit 5a307c66a33d23c66e9fd2d0cd669b42b82fa08e
Headers show
Series arm64: dts: qcom: sc7180: Add interconnect paths for the video codec | expand

Commit Message

Matthias Kaehlcke April 9, 2020, 11:02 p.m. UTC
Add the interconnect path configuration for the venus video codec of
the SC7180.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
The interconnect paths were originally part of the patch "arm64: dts:
sc7180: Add Venus video codec DT node" (https://patchwork.kernel.org/patch/11332131/),
they were removed because the ICC provider nodes hadn't landed yet.

 arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index 998f101ad623b7..2e11d4ce995778 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -1475,6 +1475,9 @@  venus: video-codec@aa00000 {
 				      "vcodec0_core", "vcodec0_bus";
 			iommus = <&apps_smmu 0x0c00 0x60>;
 			memory-region = <&venus_mem>;
+			interconnects = <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI1>,
+					<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_VENUS_CFG>;
+			interconnect-names = "video-mem", "cpu-cfg";
 
 			video-decoder {
 				compatible = "venus-decoder";