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

Commit 658f1491 authored by Krishna Manikandan's avatar Krishna Manikandan
Browse files

dt-bindings: add documentation for sde-limit

Add documentation for sde-limit node which is
used to represent the max limit for different
properties for different usecases.

Change-Id: I0ff47a9868daf9c0307b0c147bf7bdbeffbff330
parent c18075f0
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -466,6 +466,15 @@ Optional properties:
				ordering block
				0: lower priority pipe has to be on the left for a given pair of pipes.
				1: priority have to be explicitly configured for a given pair of pipes.
- qcom,sde-limits:		A node that lists the limits for different properties. This node
				can have multiple child nodes. Each child node represents a
				specific usecase limit. The usecase can be defined for properties like
				sspp linewidth, bw limit etc.
				e.g. qcom,sde-limits
				-- qcom,sde-limit-name: name of the usecase
				-- qcom,sde-limit-cases: different usecases to be considered
				-- qcom,sde-limit-ids: respective ids for the above usecases
				-- qcom,sde-limit-values: usecase and value for different combinations

Bus Scaling Subnodes:
- qcom,sde-reg-bus:		Property to provide Bus scaling for register access for
@@ -802,6 +811,35 @@ Example:
        qcom,sde-dspp-vlut = <0x0 0x00010000>;
    };

    qcom,sde-limits {
	qcom,sde-linewidth-limits{
		qcom,sde-limit-cases = "vig", "dma", "scaling", "inline_rot";
		qcom,sde-limit-ids= <0x1 0x2 0x4 0x8>;
		/* the qcom,sde-limit-values property consist of two values:
		one for the usecase and the other for the value. The usecase can be
		any combination of the values mentioned in qcom,sde-limit-ids.
		For eg: <0x5 2560> means usecase is 0x5 and value is 2560.
		0x5 = (0x1 | 0x4) = vig + scaling. Thus the linewidth for usecase
		vig + scaling  = 2560 */
		qcom,sde-limit-values = <0x1 4096>,
					<0x5 2560>,
					<0xd 1088>,
					<0x2 4096>;
	};
       qcom,sde-bw-limits{
		qcom,sde-limit-cases = "per_pipe", "total_bw", "vfe_on", "cwb_on";
		qcom,sde-limit-ids = <0x1 0x2 0x4 0x8>;
		qcom,sde-limit-values = <0x1 2600000>,
					<0x9 2600000>,
					<0x5 2600000>,
					<0xd 2600000>,
					<0x2 5800000>,
					<0xa 5500000>,
					<0x6 4400000>,
					<0xe 3900000>;
	};
    };

    qcom,sde-mixer-blocks {
        qcom,sde-mixer-gc = <0x3c0 0x00010000>;
    };