Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: qcom_smd: add get_voltage to MP5496
@ 2022-06-04 19:32 Robert Marko
  2022-06-04 19:33 ` [PATCH 2/2] regulator: qcom_smd: correct MP5496 ranges Robert Marko
  2022-06-08 10:49 ` [PATCH 1/2] regulator: qcom_smd: add get_voltage to MP5496 Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Marko @ 2022-06-04 19:32 UTC (permalink / raw)
  To: agross, bjorn.andersson, lgirdwood, broonie, linux-arm-msm,
	linux-kernel
  Cc: Robert Marko

Add the get_voltage OP to MP5496 ops using the generic rpm_reg_get_voltage.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 drivers/regulator/qcom_smd-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c
index 8490aa8eecb1..5ec68250e79d 100644
--- a/drivers/regulator/qcom_smd-regulator.c
+++ b/drivers/regulator/qcom_smd-regulator.c
@@ -205,6 +205,7 @@ static const struct regulator_ops rpm_mp5496_ops = {
 	.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,
 };
 
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-08 10:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04 19:32 [PATCH 1/2] regulator: qcom_smd: add get_voltage to MP5496 Robert Marko
2022-06-04 19:33 ` [PATCH 2/2] regulator: qcom_smd: correct MP5496 ranges Robert Marko
2022-06-07 19:21   ` Mark Brown
2022-06-07 20:49     ` Robert Marko
2022-06-08 10:49 ` [PATCH 1/2] regulator: qcom_smd: add get_voltage to MP5496 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox