diff --git a/drivers/power/domain/power-domain-uclass.c b/drivers/power/domain/power-domain-uclass.c
index 2ea0ff2..c961436 100644
--- a/drivers/power/domain/power-domain-uclass.c
+++ b/drivers/power/domain/power-domain-uclass.c
@@ -107,6 +107,27 @@
 	return ops->off(power_domain);
 }
 
+#if !CONFIG_IS_ENABLED(OF_PLATDATA)
+int dev_power_domain_on(struct udevice *dev)
+{
+	struct power_domain pd;
+	int i, count, ret;
+
+	count = dev_count_phandle_with_args(dev, "power-domains",
+					    "#power-domain-cells");
+	for (i = 0; i < count; i++) {
+		ret = power_domain_get_by_index(dev, &pd, i);
+		if (ret)
+			return ret;
+		ret = power_domain_on(&pd);
+		if (ret)
+			return ret;
+	}
+
+	return 0;
+}
+#endif
+
 UCLASS_DRIVER(power_domain) = {
 	.id		= UCLASS_POWER_DOMAIN,
 	.name		= "power_domain",
diff --git a/include/power-domain.h b/include/power-domain.h
index ef15dc9..490fedb 100644
--- a/include/power-domain.h
+++ b/include/power-domain.h
@@ -155,4 +155,21 @@
 }
 #endif
 
+/**
+ * dev_power_domain_on - Enable power domains for a device .
+ *
+ * @dev:		The client device.
+ *
+ * @return 0 if OK, or a negative error code.
+ */
+#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
+	CONFIG_IS_ENABLED(POWER_DOMAIN)
+int dev_power_domain_on(struct udevice *dev);
+#else
+static inline int dev_power_domain_on(struct udevice *dev)
+{
+	return 0;
+}
+#endif
+
 #endif
