OSDN Git Service

can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller
authorAnilKumar Ch <anilkumar@ti.com>
Mon, 20 Aug 2012 11:20:54 +0000 (16:50 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Sep 2012 21:58:47 +0000 (23:58 +0200)
commit4cdd34b26826e89972c03043987b83f76e7ad510
tree634e385dc93e91b97b12f8e71aec1baaa6db4fdb
parent2469627d175c1d6d7812a1395dd3ef053a0e65b3
can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller

Add Runtime PM support to C_CAN/D_CAN controller. The runtime PM
APIs control clocks for C_CAN/D_CAN IP and prevent access to the
register of C_CAN/D_CAN IP when clock is turned off.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c
drivers/net/can/c_can/c_can.h
drivers/net/can/c_can/c_can_platform.c