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

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

Merge "ARM: dts: msm: Add CX ipeak interrupt and victims handling for Scuba"

parents 6a6158f4 41a7a9e7
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ 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.
There are SOC like SCUBA in which Cx ipeak HW module raise interrupt to throttle
frequency of other victim clients.

Required properties:

@@ -14,9 +16,22 @@ Required properties:
- reg : physical base address and length of the register set(s), SRAM and XPU
	of the component.

Optional properties:
- interrupts : Danger and Safe interrupts details having interrupt number and
	type of interrupt.

- interrupt-names : Identifier names for Danger and Safe interrupts.

- victims_table : Victim clients details having client ID, victim ID and limit
	frequency to be applied in case of danger interrupt.

Example:

	cx_ipeak_lm: cx_ipeak@1fe5040 {
		compatible = "qcom,cx-ipeak-v1";
		reg = <0x01fe5040 0x28>;
	interrupts = <0 415 IRQ_TYPE_EDGE_RISING>,
		     <0 416 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "cx_ipeak_danger", "cx_ipeak_safe";
		victims_table = <1 0 844800000>;
	};
+4 −0
Original line number Diff line number Diff line
@@ -1340,6 +1340,10 @@
	cx_ipeak_lm: cx_ipeak@3ed000 {
		compatible = "qcom,cx-ipeak-v2";
		reg = <0x3ed000 0xe008>;
		interrupts = <0 415 IRQ_TYPE_EDGE_RISING>,
			     <0 416 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "cx_ipeak_danger", "cx_ipeak_safe";
		victims_table = <1 0 844800000>;
	};

	pil_modem: qcom,mss@6080000 {