On 1 December 2014 at 19:35, Arnd Bergmann arnd@arndb.de wrote:
I guess a string would be better here, the idea here was to have a different bool property per driver, which would also work.
Hmm, I will prefer string as we don't need to define any more bindings then for new drivers.
@@ -367,29 +404,19 @@ static int dt_cpufreq_probe(struct platform_device *pdev) if (!IS_ERR(cpu_reg)) regulator_put(cpu_reg);
dt_cpufreq_driver.driver_data = dev_get_platdata(&pdev->dev);
We still need this, and its about how clocks are shared between CPUs.
I didn't see where this comes from. Who is setting up this platform data?
Mvebu is using it to communicate that all CPUs have separate clock lines.
-- viresh