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

From
Anatolij Gustschin <agust@denx.de>
Date
2013-12-07 09:57:42
Also in
linuxppc-dev
Reply to
Gerhard Sittig, 2013-11-30
On Sat, 30 Nov 2013 23:51:34 +0100
Gerhard Sittig [off-list ref] 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 <redacted>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: <redacted>
Signed-off-by: Gerhard Sittig <redacted>
---
 drivers/net/can/mscan/mpc5xxx_can.c |  179 +++++++++++++++++++++++++++++++++++
 1 file changed, 179 insertions(+)
applied to next. Thanks!

Anatolij
Thread (5 messages) 5 messages, 2 authors, last reply 2013-12-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help