Skip to contentSkip to conversation

drm: bridge: tc358775: Fix Regulator Names

PATCH New Daniel Schultz 1 participant 1 message Nov 24, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: bridge: tc358775: Fix Regulator Names

Drop the -supply suffix from the regulator names inside the probe function. devm_regulator_get() expects property names without -supply and will automatically append them.

This fixes:
[...] tc358775 0-000f: supply vddio-supply not found, using dummy regulator [...] tc358775 0-000f: supply vdd-supply not found, using dummy regulator

---
 drivers/gpu/drm/bridge/tc358775.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/bridge/tc358775.c +2 -2
index 366b12db0e7c..d70506501ebc 100644
@@ -677,14 +677,14 @@ static int tc_probe(struct i2c_client *client)
 	if (ret)
 		return ret;
 
-	tc->vddio = devm_regulator_get(dev, "vddio-supply");
+	tc->vddio = devm_regulator_get(dev, "vddio");
 	if (IS_ERR(tc->vddio)) {
 		ret = PTR_ERR(tc->vddio);
 		dev_err(dev, "vddio-supply not found\n");
 		return ret;
 	}
 
-	tc->vdd = devm_regulator_get(dev, "vdd-supply");
+	tc->vdd = devm_regulator_get(dev, "vdd");
 	if (IS_ERR(tc->vdd)) {
 		ret = PTR_ERR(tc->vdd);
 		dev_err(dev, "vdd-supply not found\n");
Signature · 1 line
2.25.1