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

Commit f39d00ef authored by Deepak Kumar's avatar Deepak Kumar Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable cx ipeak support for Bengal

Enable the v2 version of the cx ipeak driver. Configure
the register address space as per Bengal.

Change-Id: I7c3b45b6f05765b70ccc6568f4bb63a28f34df5c
parent 5f5b3005
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
* Cx iPeak driver to handle requests from various multimedia clients.

Cx ipeak HW module is used to limit the current drawn by various subsystem
blocks on Cx power rail. Each client needs to set their bit in tcsr register
if it is going to cross its own threshold. If all clients are going to cross
their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block
to throttle cDSP's fmax.

Required properties:

- compatible : name of the component used for driver matching, should be one
	       "qcom,cx-ipeak-v1", "qcom,cx-ipeak-v2"

- reg : physical base address and length of the register set(s), SRAM and XPU
	of the component.

Example:

	cx_ipeak_lm: cx_ipeak@1fe5040 {
		compatible = "qcom,cx-ipeak-v1";
		reg = <0x01fe5040 0x28>;
	};
+5 −0
Original line number Diff line number Diff line
@@ -2148,6 +2148,11 @@
		memory-region = <&pil_video_mem>;
	};

	cx_ipeak_lm: cx_ipeak@3ed000 {
		compatible = "qcom,cx-ipeak-v2";
		reg = <0x3ed000 0xe008>;
	};

	pil_modem: qcom,mss@6080000 {
		compatible = "qcom,pil-tz-generic";
		reg = <0x6080000 0x100>;