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

Commit 0590340f authored by Amir Vajid's avatar Amir Vajid
Browse files

ARM: dts: qcom: devfreq: add support for memory latency QoS voting

Add documentation for the new memory latency QoS voting device
which is supported on some chipsets.

Change-Id: I89b4242b4fd91923031447338e379d2add162038
parent ceb29d1a
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
QCOM Devfreq memory latency QoS voting device

Some Qualcomm Technologies, Inc. (QTI) chipsets have an interface to vote for
a memory latency QoS level. The qcom,devfreq-qoslat represents a device that
votes on this interface to request a particular memory latency QoS level.

Required properties:
- compatible:		Must be "qcom,devfreq-qoslat"
- operating-points-v2:	A phandle to the OPP v2 table that holds the supported
			QoS levels for the particular chipset. Currently, only
			OPP values of 0 and 1 are supported.
- mboxes:		A phandle to the mailbox used by this device to send
			requests to adjust the memory latency QoS level.
Optional properties:
- governor:		Initial governor to use for the device.
			Default: "powersave"

Example:

	qoslat_opp_table: qoslat-opp-table {
		compatible = "operating-points-v2";
		opp-0  {
			opp-hz = /bits/ 64 < 0 >;
		};

		opp-1 {
			opp-hz = /bits/ 64 < 1 >;
		};
	};

	qcom,devfreq-qoslat {
		compatible = "qcom,devfreq-qoslat";
		governor = "powersave";
		operating-points-v2 = <&qoslat_opp_table>;
		mboxes = <&qmp_aop 0>;
	};