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

Commit 797061c9 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 venus PIL support to generic PIL/SSR driver"

parents 5471a014 913fe035
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
* Qualcomm Venus Video Subsystem Peripheral Image Loader

pil-venus is a peripheral image loading (PIL) driver. It is used for loading
venus firmware images for video codec 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-venus"
- reg: offset and length of the register set for the device.
- reg-names: names of the bases for the above registers. "wrapper_base" and
             "vbif_base" are expected.
- vdd-supply: regulator to supply venus.
- qcom,firmware-name: Base name of the firmware image. Ex. "venus"

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

Example:
        qcom,venus@fdce0000 {
                compatible = "qcom,pil-venus";
                reg = <0xfdce0000 0x4000>,
                      <0xfdc80208 0x8>;
		reg-names = "wrapper_base", "vbif_base";
                vdd-supply = <&gdsc_venus>;

                qcom,firmware-name = "venus";
        };
+18 −4
Original line number Diff line number Diff line
@@ -2845,12 +2845,26 @@
	};

	qcom,venus@fdce0000 {
		compatible = "qcom,pil-venus";
		reg = <0xfdce0000 0x4000>,
		      <0xfdc80000 0x400>;
		reg-names = "wrapper_base", "vbif_base";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfdce0000 0x4000>;

		vdd-supply = <&gdsc_venus>;
		proxy-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk",
				"bus_clk", "mem_clk";
		proxy-clock-names = "core_clk", "iface_clk",
					"bus_clk", "mem_clk";

		qcom,msm-bus,name = "pil-venus";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,active-only = <0>;
		qcom,msm-bus,vectors-KBps =
				<63 512 0 0>,
				<63 512 0 304000>;

		qcom,pas-id = <9>;
		qcom,proxy-timeout-ms = <2000>;
		qcom,firmware-name = "venus";
	};

+18 −4
Original line number Diff line number Diff line
@@ -1018,12 +1018,26 @@
	};

	qcom,venus@fdce0000 {
		compatible = "qcom,pil-venus";
		reg = <0xfdce0000 0x4000>,
		      <0xfdc80000 0x400>;
		reg-names = "wrapper_base", "vbif_base";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfdce0000 0x4000>;

		vdd-supply = <&gdsc_venus>;
		proxy-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk",
				"bus_clk", "mem_clk";
		proxy-clock-names = "core_clk", "iface_clk",
					"bus_clk", "mem_clk";

		qcom,msm-bus,name = "pil-venus";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,active-only = <0>;
		qcom,msm-bus,vectors-KBps =
				<63 512 0 0>,
				<63 512 0 304000>;

		qcom,pas-id = <9>;
		qcom,proxy-timeout-ms = <2000>;
		qcom,firmware-name = "venus";
	};

+18 −4
Original line number Diff line number Diff line
@@ -1117,12 +1117,26 @@
	};

	qcom,venus@fdce0000 {
		compatible = "qcom,pil-venus";
		reg = <0xfdce0000 0x4000>,
		      <0xfdc80000 0x400>;
		reg-names = "wrapper_base", "vbif_base";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfdce0000 0x4000>;

		vdd-supply = <&gdsc_venus>;
		proxy-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk",
				"bus_clk", "mem_clk";
		proxy-clock-names = "core_clk", "iface_clk",
					"bus_clk", "mem_clk";

		qcom,msm-bus,name = "pil-venus";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,active-only = <0>;
		qcom,msm-bus,vectors-KBps =
				<63 512 0 0>,
				<63 512 0 304000>;

		qcom,pas-id = <9>;
		qcom,proxy-timeout-ms = <2000>;
		qcom,firmware-name = "venus";
	};

+18 −4
Original line number Diff line number Diff line
@@ -2139,12 +2139,26 @@
	};

	qcom,venus@fdce0000 {
		compatible = "qcom,pil-venus";
		reg = <0xfdce0000 0x4000>,
		      <0xfdc80000 0x400>;
		reg-names = "wrapper_base", "vbif_base";
		compatible = "qcom,pil-tz-generic";
		reg = <0xfdce0000 0x4000>;

		vdd-supply = <&gdsc_venus>;
		proxy-reg-names = "vdd";
		clock-names = "core_clk", "iface_clk",
				"bus_clk", "mem_clk";
		proxy-clock-names = "core_clk", "iface_clk",
					"bus_clk", "mem_clk";

		qcom,msm-bus,name = "pil-venus";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,active-only = <0>;
		qcom,msm-bus,vectors-KBps =
				<63 512 0 0>,
				<63 512 0 304000>;

		qcom,pas-id = <9>;
		qcom,proxy-timeout-ms = <2000>;
		qcom,firmware-name = "venus";
	};

Loading