[PATCH v6 14/17] net: can: mscan: adjust to common clock support for mpc512x

Anatolij Gustschin agust at denx.de
Sat Dec 7 20:57:40 EST 2013


On Sat, 30 Nov 2013 23:51:34 +0100
Gerhard Sittig <gsi at denx.de> wrote:

> implement a .get_clock() callback for the MPC512x platform which uses
> the common clock infrastructure (eliminating direct access to the clock
> control registers from within the CAN network driver), and provide the
> corresponding .put_clock() callback to release resources after use
> 
> acquire both the clock items for register access ("ipg") as well as for
> wire communication ("can")
> 
> keep the previous implementation of MPC512x support in place during
> migration, this results in a readable diff of the change
> 
> this change is neutral to the MPC5200 platform
> 
> Cc: Wolfgang Grandegger <wg at grandegger.com>
> Cc: Marc Kleine-Budde <mkl at pengutronix.de>
> Cc: linux-can at vger.kernel.org
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
>  drivers/net/can/mscan/mpc5xxx_can.c |  179 +++++++++++++++++++++++++++++++++++
>  1 file changed, 179 insertions(+)

applied to next. Thanks!

Anatolij


More information about the Linuxppc-dev mailing list