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

Commit 003f9bbe authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

dt-bindings: gpu: Update properties for bus scaling table



The bus scaling table is a child node with a new compatible
string property. This design helps to define multiple bus
scaling tables based on the type of ddr in the system.

Change-Id: I8b060dc8ce9aa0f541299f02dd1b397ef2f1b0bb
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent c57f970a
Loading
Loading
Loading
Loading
+23 −15
Original line number Diff line number Diff line
@@ -38,6 +38,12 @@ Required properties:
				above this powerlevel isense clock is at working frequency.

Bus Scaling Data:
- qcom,gpu-bus-table:		Defines a bus voting table with the below properties. Multiple sets of bus
				voting tables can be defined for given platform based on the type of ddr system.

Properties:
- compatible:			Must be "qcom,gpu-bus-table". Additionally, "qcom,gpu-bus-table-ddr" must also
				be provided, with the ddr type value(integer) appended to the string.
- qcom,msm-bus,name:		String property to describe the name of the 3D graphics processor.
- qcom,msm-bus,num-cases:	This is the the number of Bus Scaling use cases defined in the vectors property.
- qcom,msm-bus,active-only:	A boolean flag indicating if it is active only.
@@ -171,8 +177,7 @@ Optional Properties:
				certain protected registers and also pass to the user as
				a property.
- qcom,l2pc-cpu-mask:
				Disables L2PC on masked CPUs when any of Graphics
				rendering thread is running on masked CPUs.
				Disables L2PC on masked CPUto the string.rendering thread is running on masked CPUs.
				Bit 0 is for CPU-0, bit 1 is for CPU-1...

- qcom,l2pc-update-queue:
@@ -339,6 +344,8 @@ Example of A330 GPU in MSM8916:
				"mem_iface_clk", "alt_mem_iface_clk";

		/* Bus Scale Settings */
		qcom, gpu-bus-table {
			compatible="qcom,gpu-bus-table","qcom,gpu-bus-table-ddr7";
			qcom,msm-bus,name = "grp3d";
			qcom,msm-bus,num-cases = <4>;
			qcom,msm-bus,num-paths = <1>;
@@ -347,6 +354,7 @@ Example of A330 GPU in MSM8916:
				<26 512 0 1600000>,
				<26 512 0 3200000>,
				<26 512 0 4264000>;
		};

		/* GDSC oxili regulators */
		vdd-supply = <&gdsc_oxili_gx>;