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

Commit 4a6dbc50 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "regulator: msm_gfx_ldo: Add a property to adjust the open-loop voltage"

parents d3ee9f37 9115687a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ APSS specific properties:
	Usage:      required
	Value type: <string>
	Definition: should be one of the following:
		    "qcom,cpr4-msmtitanium-apss-regulator";
		    "qcom,cpr4-msm8953-apss-regulator";

- interrupts
	Usage:      required
@@ -357,7 +357,7 @@ APSS specific properties:

		    Each tuple list must contain a number of tuples equal to
		    2 to the power of the number of bits selected for misc
		    voltage adj fuse definition. For MSMTITANIUM the tuple
		    voltage adj fuse definition. For MSM8953 the tuple
		    list must contain 2 tuples for the 1-bit misc fuse.
		    Tuples in a list should be specified in ascending order
		    according to the misc fuse value assuming that the fuse
@@ -373,7 +373,7 @@ Example
=======

apc_cpr: cpr4-ctrl@b018000 {
	compatible = "qcom,cpr4-msmtitanium-apss-regulator";
	compatible = "qcom,cpr4-msm8953-apss-regulator";
	reg = <0xb018000 0x4000>, <0xa4000 0x1000>;
	reg-names = "cpr_ctrl", "fuse_base";
	interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
@@ -394,9 +394,9 @@ apc_cpr: cpr4-ctrl@b018000 {
	qcom,apm-threshold-voltage = <848000>;
	qcom,apm-hysteresis-voltage = <5000>;

	vdd-supply = <&pmtitanium_s5>;
	vdd-supply = <&pm8953_s5>;
	qcom,voltage-step = <5000>;
	vdd-limit-supply = <&pmtitanium_s5_limit>;
	vdd-limit-supply = <&pm8953_s5_limit>;
	mem-acc-supply = <&apc_mem_acc_vreg>;

	qcom,cpr-enable;
+13 −4
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. GFX LDO for Graphics

The GPU core on MSM TITANIUM can be powered by an internal (on-die)
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.
@@ -8,7 +8,7 @@ This document describes the bindings that apply for the GFX LDO regulator.
- compatible
	Usage:      required
	Value type: <string>
	Definition: should be "qcom,msmtitanium-gfx-ldo" for MSMTITANIUM.
	Definition: should be "qcom,msm8953-gfx-ldo" for MSM8953.

- reg
	Usage:      required
@@ -103,12 +103,20 @@ This document describes the bindings that apply for the GFX LDO regulator.
		    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,msmtitanium-gfx-ldo";
		compatible = "qcom,msm8953-gfx-ldo";
		reg = <0x0185f000 0x30>, <0xa0000 0x1000>;
		reg-names = "ldo_addr", "efuse_addr";

@@ -124,7 +132,7 @@ Example
		qcom,ldo-enable-corner-map = <1 1 1 0 0 0 0>;
		qcom,init-corner = <5>;

		vdd-cx-supply = <&pmtitanium_s2_level>;
		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>,
@@ -135,4 +143,5 @@ Example

		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>;
	};
+111 −111

File changed.

Preview size limit exceeded, changes collapsed.

+107 −41

File changed.

Preview size limit exceeded, changes collapsed.