Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a1f7f9a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Interconnect bus handling in video"

parents 07e73c03 3d0f0f29
Loading
Loading
Loading
Loading
+9 −31
Original line number Diff line number Diff line
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/msm/msm-bus-ids.h>

&soc {
	msm_vidc: qcom,vidc@5a00000 {
		compatible = "qcom,msm-vidc", "qcom,monaco-vidc";
@@ -26,34 +23,16 @@
		qcom,clock-configs = <0x1 0x0 0x0 0x1 0x0 0x0>;
		qcom,allowed-clock-rates = <133330000 240000000>;

		/* Buses */
		bus_cnoc {
			compatible = "qcom,msm-vidc,bus";
			label = "cnoc";
			qcom,bus-master = <MSM_BUS_MASTER_AMPSS_M0>;
			qcom,bus-slave = <MSM_BUS_SLAVE_VENUS_CFG>;
			qcom,mode = "performance";
			qcom,bus-range-kbps = <1000 1000>;
		};

		venus_bus_ddr {
			compatible = "qcom,msm-vidc,bus";
			label = "venus-ddr";
			qcom,bus-master = <MSM_BUS_MASTER_VIDEO_P0>;
			qcom,bus-slave = <MSM_BUS_SLAVE_EBI_CH0>;
			qcom,mode  = "vidc-ar50-ddr";
			qcom,bus-range-kbps = <1000 2128000>;
		};

		arm9_bus_ddr {
			compatible = "qcom,msm-vidc,bus";
			label = "venus-arm9-ddr";
			qcom,bus-master = <MSM_BUS_MASTER_VIDEO_P0>;
			qcom,bus-slave = <MSM_BUS_SLAVE_EBI_CH0>;
			qcom,mode = "performance";
			qcom,bus-range-kbps = <1000 1000>;
		};
		/* Bus Interconnects */
		interconnect-names = "venus-cnoc", "venus-ddr";
		interconnects = <&bimc MASTER_AMPSS_M0
			&config_noc SLAVE_VENUS_CFG>,
			<&mmnrt_virt MASTER_VIDEO_P0
			&bimc SLAVE_EBI_CH0>;

		/* Bus BW range (low, high) for each bus */
		qcom,bus-range-kbps = <1000 1000
					1000 2128000>;
		/* MMUs */
		non_secure_cb {
			compatible = "qcom,msm-vidc,context-bank";
@@ -107,4 +86,3 @@
		};
	};
};