Thread (8 messages) flat view 8 messages, 4 authors, 4d ago
COOLING4d

[PATCH 2/3] regulator: mpq4210: Use the -ohms feedback divider property

From: Tapio Reijonen <hidden>
Date: 2026-09-13 11:40:41
Also in: lkml
Subsystem: the rest, voltage and current regulator framework · Maintainers: Linus Torvalds, Liam Girdwood, Mark Brown

Follow the binding rename of mps,fb-voltage-divider to
mps,fb-voltage-divider-ohms.

The old name was never in a release and this driver is its only reader,
so it is dropped rather than kept as a fallback.

Fixes: 61879d561e91 ("regulator: Add MPS MPQ4210 buck-boost regulator driver")
Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20260911-gaur-of-satisfying-action-1a3b0f@quoll (local)
Signed-off-by: Tapio Reijonen <redacted>
---
 drivers/regulator/mpq4210.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/mpq4210.c b/drivers/regulator/mpq4210.c
index 227136d8225805a759d2d6545637858ea7122b89..315f8e02ff2a117e37b32f8a128c9e0feacfac74 100644
--- a/drivers/regulator/mpq4210.c
+++ b/drivers/regulator/mpq4210.c
@@ -144,11 +144,12 @@ static int mpq4210_i2c_probe(struct i2c_client *client)
 	u32 r[2];
 	int ret;
 
-	ret = of_property_read_u32_array(dev->of_node, "mps,fb-voltage-divider",
+	ret = of_property_read_u32_array(dev->of_node,
+					 "mps,fb-voltage-divider-ohms",
 					 r, ARRAY_SIZE(r));
 	if (ret)
 		return dev_err_probe(dev, ret,
-				     "failed to read mps,fb-voltage-divider\n");
+				     "failed to read mps,fb-voltage-divider-ohms\n");
 
 	if (!r[1])
 		return dev_err_probe(dev, -EINVAL,
-- 
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help