|
@@ -84,11 +84,15 @@ static const struct of_device_id exynos_pmu_of_device_ids[] = {
|
|
}, {
|
|
}, {
|
|
.compatible = "samsung,exynos5250-pmu",
|
|
.compatible = "samsung,exynos5250-pmu",
|
|
.data = exynos_pmu_data_arm_ptr(exynos5250_pmu_data),
|
|
.data = exynos_pmu_data_arm_ptr(exynos5250_pmu_data),
|
|
|
|
+ }, {
|
|
|
|
+ .compatible = "samsung,exynos5410-pmu",
|
|
}, {
|
|
}, {
|
|
.compatible = "samsung,exynos5420-pmu",
|
|
.compatible = "samsung,exynos5420-pmu",
|
|
.data = exynos_pmu_data_arm_ptr(exynos5420_pmu_data),
|
|
.data = exynos_pmu_data_arm_ptr(exynos5420_pmu_data),
|
|
}, {
|
|
}, {
|
|
.compatible = "samsung,exynos5433-pmu",
|
|
.compatible = "samsung,exynos5433-pmu",
|
|
|
|
+ }, {
|
|
|
|
+ .compatible = "samsung,exynos7-pmu",
|
|
},
|
|
},
|
|
{ /*sentinel*/ },
|
|
{ /*sentinel*/ },
|
|
};
|
|
};
|
|
@@ -126,6 +130,9 @@ static int exynos_pmu_probe(struct platform_device *pdev)
|
|
|
|
|
|
platform_set_drvdata(pdev, pmu_context);
|
|
platform_set_drvdata(pdev, pmu_context);
|
|
|
|
|
|
|
|
+ if (devm_of_platform_populate(dev))
|
|
|
|
+ dev_err(dev, "Error populating children, reboot and poweroff might not work properly\n");
|
|
|
|
+
|
|
dev_dbg(dev, "Exynos PMU Driver probe done\n");
|
|
dev_dbg(dev, "Exynos PMU Driver probe done\n");
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|