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

Commit c53b4f81 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 646abb1b on remote branch

Change-Id: I38f3ce44d941c7becc5a8b78de93c5acac45e551
parents 2e0c3dc4 646abb1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -427,6 +427,7 @@ Optional properties:
- qcom,mdss-dsi-tx-eot-append:		Boolean used to enable appending end of transmission packets.
- qcom,ulps-enabled:			Boolean to enable support for Ultra Low Power State (ULPS) mode.
- qcom,suspend-ulps-enabled:		Boolean to enable support for ULPS mode for panels during suspend state.
- qcom,platform-reset-gpio-always-on:	Boolean to keep display reset gpio on during suspend.
- qcom,panel-roi-alignment:		Specifies the panel ROI alignment restrictions on its
					left, top, width, height alignments and minimum width and
					height values. This property is specified per timing node to support
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ LAGOON platform.
	Usage: required
	Value type: <prop-encoded-array>
	Definition: should specify the TLMM summary IRQ.
		    This can be followed by optional direct connect IRQs.

- interrupt-controller:
	Usage: required
+6 −0
Original line number Diff line number Diff line
@@ -449,6 +449,12 @@ First Level Node - QGAUGE device
		    when there is variation in system-SOC due to
		    changes in the load.

- qcom,use-cp-iin-sns
	Usage:      optional
	Value type: bool
	Definition: Enable SMB-sensing for CP. Enabling this property
		    will enable QG summing the SMB current.

==========================================================
Second Level Nodes - Peripherals managed by QGAUGE driver
==========================================================
+148 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. GFX LDO for Graphics

The GPU core on MSM 8953 can be powered by an internal (on-die)
MSM LDO or BHS based on its operating corner.

This document describes the bindings that apply for the GFX LDO regulator.

- compatible
	Usage:      required
	Value type: <string>
	Definition: should be "qcom,msm8953-gfx-ldo" for MSM8953 and
		    "qcom,sdm660-gfx-ldo" for SDM660

- reg
	Usage:      required
	Value type: <prop-encoded-array>
	Definition: Addresses and sizes for the memory of the GFX ldo

- reg-names
	Usage:      required
	Value type: <stringlist>
	Definition: Address names. "ldo_addr", "efuse_addr". Must be
		    specified in the same order as the corresponding addresses
		    are specified in the reg property.

- regulator-name
	Usage:      required
	Value type: <string>
	Definition: A string used to describe the regulator.

- regulator-min-microvolt
	Usage:      required
	Value type: <u32>
	Definition: Minimum corner value which should be 1 to represent the
		    lowest supported corner.

- regulator-max-microvolt
	Usage:      required
	Value type: <u32>
	Definition: Maximum corner value which should be equal to qcom,num-corners.

- qcom,num-corners
	Usage:      required
	Value type: <u32>
	Definition: Number of voltage corners present. Many other
		    properties are sized based upon this value.

- qcom,num-ldo-corners
	Usage:      required
	Value type: <u32>
	Definition: Number of voltage corners defined for the ldo. It is a
		    subset of qcom,num-corners (i.e. 1 to qcom,num-ldo-corners
		    are the corners for ldo operation)

- qcom,init-corner
	Usage:      required
	Value type: <u32>
	Definition: The initial-corner at which the GFX rail is powered on.

- qcom,ldo-enable-corner-map
	Usage:      required
	Value type: <prop-encoded-array>
	Definition: Integer values ( / 0) which indicate the GFX corners in which
		    ldo is to enabled. The length of this property
		    should be equal to qcom,num-corners.

- qcom,ldo-voltage-ceiling
	Usage:      required
	Value type: <prop-encoded-array>
	Definition: Array of ceiling voltages in microvolts for voltage corners
		    ordered from lowest voltage corner to highest voltage corner.
		    This property must be of length defined by qcom,num-ldo-corners.

- qcom,ldo-voltage-floor
	Usage:      required
	Value type: <prop-encoded-array>
	Definition: Array of floor voltages in microvolts for voltage corners
		    ordered from lowest voltage corner to highest voltage corner.
		    This property must be of length defined by qcom,num-ldo-corners.

- vdd-cx-supply
	Usage:      optional
	Value type: <phandle>
	Definition: Parent regulator supply to the ldo.

- qcom,vdd-cx-corner-map
	Usage:      required if vdd-cx-supply is specified.
	Value type: <prop-encoded-array>
	Definition: Array of integers which define the mapping of the VDD_CX corner
		    to the corresponding GFX voltage corner. The elements in
		    the array are ordered from lowest voltage corner to highest
		    voltage corner.  The length of this property must be equal to
		    the value defined by qcom,num-corners.
- mem-acc-supply
	Usage:      optional
	Value type: <phandle>
	Definition: Regulator to vote for the memory accelerator configuration.
		    Not Present: memory accelerator configuration not supported.

- qcom,mem-acc-corner-map:
	Usage:      optional
	Value type: <prop-encoded-aray>
	Definition: Array of integer which defines the mapping from mem-acc
		    corner value for each gfx corner. The elements in the array
		    are ordered from lowest voltage corner to highest voltage corner.

- qcom,ldo-init-voltage-adjustment
	Usage:      optional
	Value type: <prop-encoded-aray>
	Definition: Array of voltages in microvolts which indicate the static
		    adjustment to be applied to the open-loop voltages for the
		    LDO supported corners. The length of this property must be
		    equal to qcom,num-ldo-corners.

=======
Example
=======

	gfx_vreg_corner: ldo@0185f000 {
		compatible = "qcom,msm8953-gfx-ldo";
		reg = <0x0185f000 0x30>, <0xa0000 0x1000>;
		reg-names = "ldo_addr", "efuse_addr";

		regulator-name = "msm_gfx_ldo";
		regulator-min-microvolt = <1>;
		regulator-max-microvolt = <7>;

		qcom,ldo-voltage-ceiling = <500000 700000 900000>;
		qcom,ldo-voltage-floor = <400000 600000 800000>;

		qcom,num-corners = <7>;
		qcom,num-ldo-corners = <3>;
		qcom,ldo-enable-corner-map = <1 1 1 0 0 0 0>;
		qcom,init-corner = <5>;

		vdd-cx-supply = <&pm8953_s2_level>;
		qcom,vdd-cx-corner-map = <RPM_SMD_REGULATOR_LEVEL_LOW_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_LOW_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_LOW_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_SVS>,
					<RPM_SMD_REGULATOR_LEVEL_NOM>,
					<RPM_SMD_REGULATOR_LEVEL_NOM_PLUS>,
					<RPM_SMD_REGULATOR_LEVEL_TURBO>;

		mem-acc-supply = <&gfx_mem_acc>;
		qcom,mem-acc-corner-map = <1 1 2 2 2 2 2>;
		qcom,ldo-init-voltage-adjustment = <10000 20000 30000>;
	};
+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>;
	};
Loading