Skip to contentSkip to conversation

Patch "regulator: qcom_smd: add list_voltage callback" has been added to the 4.6-stable tree

PATCH [email protected] 2 participants 3 messages Jul 12, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

regulator: qcom_smd: add list_voltage callback

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
regulator-qcom_smd-add-list_voltage-callback.patch
and it can be found in the queue-4.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a8a47540ebe32f1733eebc3e5699af580ceaa3f5 Mon Sep 17 00:00:00 2001

From: Srinivas Kandagatla <[email protected]>
Date: Thu, 2 Jun 2016 11:23:15 +0100
Subject: regulator: qcom_smd: add list_voltage callback

From: Srinivas Kandagatla <[email protected]>

commit a8a47540ebe32f1733eebc3e5699af580ceaa3f5 upstream.

This patch adds support to list_voltage callback, so that consumers like mmc core, can get information of supported voltage range.

Without this patch there is no way for mmc core to know this voltage range.

---
 drivers/regulator/qcom_smd-regulator.c |    1 +
 1 file changed, 1 insertion(+)
drivers/regulator/qcom_smd-regulator.c +1 -0
@@ -140,6 +140,7 @@ static const struct regulator_ops rpm_sm
 	.enable = rpm_reg_enable,
 	.disable = rpm_reg_disable,
 	.is_enabled = rpm_reg_is_enabled,
+	.list_voltage = regulator_list_voltage_linear_range,
 
 	.get_voltage = rpm_reg_get_voltage,
 	.set_voltage = rpm_reg_set_voltage,

Patches currently in stable-queue which might be from [email protected] are

queue-4.6/regulator-qcom_smd-add-regulator-ops-for-pm8941-lnldo.patch queue-4.6/regulator-qcom_smd-add-list_voltage-callback.patch

maintainer
#1 lore raw
Quoted 11 lines · On Mon, Jul 11, 2016 at 04:39:10PM -0700, [email protected] wrote:

This is a note to let you know that I've just added the patch titled

regulator: qcom_smd: add list_voltage callback

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
regulator-qcom_smd-add-list_voltage-callback.patch
and it can be found in the queue-4.6 subdirectory.

There's a subsequent patch, 43160ffd12 (regulator: qcom_smd: Remove list_voltage callback for rpm_smps_ldo_ops_fixed) which is also needed for some of the users (this was only reported to me a couple of hours ago so I've still not sent that patch to Linus yet, should happen tomorrow). That looks like a cleanup but in fact fixes some booting issues that some devices see.

author maintainer
#2 lore raw
Quoted 13 lines · Mark Brown
Quoted 11 lines · On Mon, Jul 11, 2016 at 04:39:10PM -0700, [email protected] wrote:

This is a note to let you know that I've just added the patch titled

regulator: qcom_smd: add list_voltage callback

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
regulator-qcom_smd-add-list_voltage-callback.patch
and it can be found in the queue-4.6 subdirectory.

Quoted 6 lines

There's a subsequent patch, 43160ffd12 (regulator: qcom_smd: Remove list_voltage callback for rpm_smps_ldo_ops_fixed) which is also needed for some of the users (this was only reported to me a couple of hours ago so I've still not sent that patch to Linus yet, should happen tomorrow). That looks like a cleanup but in fact fixes some booting issues that some devices see.

Ok, if it lands tomorrow or so, that should be fine, I'm not counting on doing a stable release for the next few days at the earliest.

thanks,

greg k-h