On Thu, Jul 18, 2013 at 21:33 +0100, Russell King - ARM Linux wrote:
>
> On Thu, Jul 18, 2013 at 10:20:52PM +0200, Gerhard Sittig wrote:
> > + /* enable clock for the I2C peripheral (non fatal) */
> > + clk = of_clk_get_by_name(node, "per");
> > + if (!IS_ERR(clk)) {
> > + clk_prep
On Thu, Jul 18, 2013 at 10:20:52PM +0200, Gerhard Sittig wrote:
> + /* enable clock for the I2C peripheral (non fatal) */
> + clk = of_clk_get_by_name(node, "per");
> + if (!IS_ERR(clk)) {
> + clk_prepare_enable(clk);
> + clk_put(clk);
> + }
> +
This kind of
make the MPC I2C driver prepare and enable the peripheral clock
('per' for register access) in the MPC512x setup routine,
make this clock setup non-fatal to allow for a migration period,
remove the pre-enabling hack in the platform's clock driver
Signed-off-by: Gerhard Sittig
---
arch/powerpc/pl