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

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

Merge "drivers: thermal: regulator_cdev: Add a voltage regulator cooling device"

parents 8cafa476 375365b9
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
Regulator cooling device.

The regulator cooling device, will be used to place a voltage floor
restriction on a rail.

Properties:

- compatible:
	Usage: required
	Value type: <string>
	Definition: shall be "qcom,regulator-cooling-device"

- cdev-supply:
	Usage: required
	Value type: <phandle>
	Definition: phandle to the regulator to which the cooling device will
			place a floor mitigation.

- regulator-levels:
	Usage: required
	Value type: <U32 array>
	Definition: Array of regulator voltages the cooling device should
			use to place a floor restriction. The voltages should
			be specified in descending order.

- #cooling-cells: Must be 2. Please refer to
			<devicetree/bindings/thermal/thermal.txt> for more
			details.

Example:

	mv_cdev: mx-cdev-lvl {
		compatible = "qcom,regulator-cooling-device";
		cdev-supply = <&regulator-cdev-supply>;
		regulator-levels = <RPMH_REGULATOR_LEVEL_NOM
			RPMH_REGULATOR_LEVEL_OFF>;
		#cooling-cells = <2>;
	};
+1 −1
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@ CONFIG_THERMAL_QPNP_ADC_TM=y
CONFIG_THERMAL_TSENS=y
CONFIG_QTI_THERMAL_LIMITS_DCVS=y
CONFIG_QTI_VIRTUAL_SENSOR=y
CONFIG_QTI_REG_COOLING_DEVICE=y
CONFIG_QTI_AOP_REG_COOLING_DEVICE=y
CONFIG_QTI_QMI_COOLING_DEVICE=y
CONFIG_MFD_I2C_PMIC=y
CONFIG_MFD_SPMI_PMIC=y
+1 −0
Original line number Diff line number Diff line
@@ -329,6 +329,7 @@ CONFIG_THERMAL_TSENS=y
CONFIG_MSM_BCL_PERIPHERAL_CTL=y
CONFIG_QTI_THERMAL_LIMITS_DCVS=y
CONFIG_QTI_VIRTUAL_SENSOR=y
CONFIG_QTI_AOP_REG_COOLING_DEVICE=y
CONFIG_MFD_I2C_PMIC=y
CONFIG_MFD_SPMI_PMIC=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ CONFIG_THERMAL_TSENS=y
CONFIG_MSM_BCL_PERIPHERAL_CTL=y
CONFIG_QTI_THERMAL_LIMITS_DCVS=y
CONFIG_QTI_VIRTUAL_SENSOR=y
CONFIG_QTI_REG_COOLING_DEVICE=y
CONFIG_QTI_AOP_REG_COOLING_DEVICE=y
CONFIG_QTI_QMI_COOLING_DEVICE=y
CONFIG_MFD_I2C_PMIC=y
CONFIG_MFD_SPMI_PMIC=y
+1 −1
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ CONFIG_THERMAL_TSENS=y
CONFIG_MSM_BCL_PERIPHERAL_CTL=y
CONFIG_QTI_THERMAL_LIMITS_DCVS=y
CONFIG_QTI_VIRTUAL_SENSOR=y
CONFIG_QTI_REG_COOLING_DEVICE=y
CONFIG_QTI_AOP_REG_COOLING_DEVICE=y
CONFIG_QTI_QMI_COOLING_DEVICE=y
CONFIG_MFD_I2C_PMIC=y
CONFIG_MFD_SPMI_PMIC=y
Loading