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

Commit eecebf2d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: subsys-pil-tz: Move VPU PIL/SSR support to generic PIL/SSR driver"

parents fa45dc2b ed08b518
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
* Qualcomm Video Processing Unit Subsystem Peripheral Image Loader

pil-vpu is a peripheral image loading (PIL) driver. It is used for loading
vpu firmware images for video processing into memory and preparing the subsystem's
processor to execute code. It is also used for shutting down the processor when
it's not needed.

Required properties:
- compatible: "pil-vpu"
- reg: offset and length of the register set for the device.
- reg-names: names of the bases for the above registers. "maple_csr_base".
- vdd-supply: regulator to supply vpu.
- qcom,firmware-name: Base name of the firmware image. Ex. "vpu"

Optional properties:
- qcom,restart-group: List of subsystems that will need to restart together.

Example:

	qcom,vpu@fde0b000{
		compatible = "qcom,pil-vpu";
		reg = <0xfde0b000 0x80>;
		reg-names = "maple_csr_base";
		vdd-supply = <&gdsc_vpu>;

		qcom,firmware-name = "vpu";
	};
+13 −5
Original line number Diff line number Diff line
@@ -3471,13 +3471,21 @@
	};

	qcom,pil-vpu@fde0b000{
		compatible = "qcom,pil-vpu";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfde0b000 0x80>;
		reg-names = "maple_csr_base";
		vdd-supply = <&gdsc_vpu>;
		clock-names = "core_clk", "iface_clk", "bus_clk", "vdp_clk",
					"vdp_bus_clk", "cxo_clk", "sleep_clk", "maple_bus_clk";

		vdd-supply = <&gdsc_vpu>;
		proxy-reg-names = "vdd";
		active-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk", "bus_clk",
				"vdp_clk", "vdp_bus_clk", "cxo_clk",
				"sleep_clk", "maple_bus_clk";
		proxy-clock-names = "core_clk", "iface_clk", "bus_clk",
					"vdp_clk", "vdp_bus_clk", "cxo_clk",
					"sleep_clk", "maple_bus_clk";

		qcom,pas-id = <10>;
		qcom,proxy-timeout-ms = <10000>;
		qcom,firmware-name = "vpu";
	};

+8 −3
Original line number Diff line number Diff line
@@ -1070,13 +1070,18 @@
	};

	qcom,pil-vpu@fde0b000 {
		compatible = "qcom,pil-vpu";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfde0b000 0x80>;
		reg-names = "maple_csr_base";

		vdd-supply = <&gdsc_vpu>;
		proxy-reg-names = "vdd";
		active-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk", "bus_clk", "vdp_clk",
					"vdp_bus_clk", "sleep_clk", "maple_bus_clk";

		proxy-clock-names = "core_clk", "iface_clk", "bus_clk", "vdp_clk",
					"vdp_bus_clk", "sleep_clk", "maple_bus_clk";
		qcom,pas-id = <10>;
		qcom,proxy-timeout-ms = <10000>;
		qcom,firmware-name = "vpu";
	};

+0 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ CONFIG_MSM_SUBSYSTEM_RESTART=y
CONFIG_MSM_SYSMON_COMM=y
CONFIG_MSM_PIL_SSR_GENERIC=y
CONFIG_MSM_PIL_LPASS_QDSP6V5=y
CONFIG_MSM_PIL_VPU=y
CONFIG_MSM_BUSPM_DEV=m
CONFIG_MSM_TZ_LOG=y
CONFIG_MSM_DIRECT_SCLK_ACCESS=y
+0 −1
Original line number Diff line number Diff line
@@ -49,7 +49,6 @@ CONFIG_MSM_SUBSYSTEM_RESTART=y
CONFIG_MSM_SYSMON_COMM=y
CONFIG_MSM_PIL_SSR_GENERIC=y
CONFIG_MSM_PIL_LPASS_QDSP6V5=y
CONFIG_MSM_PIL_VPU=y
CONFIG_MSM_BUSPM_DEV=m
CONFIG_MSM_TZ_LOG=y
CONFIG_MSM_DIRECT_SCLK_ACCESS=y
Loading