]> git.baikalelectronics.ru Git - kernel.git/commit
can: c_can: Add syscon/regmap RAMINIT mechanism
authorRoger Quadros <rogerq@ti.com>
Fri, 14 Nov 2014 15:37:39 +0000 (17:37 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 17 Nov 2014 11:19:27 +0000 (12:19 +0100)
commitb3434eb15a8153351e10f8dee4c72af5dd59bf5b
tree57a9c2af5f00837a2b4d22fa661e1ac6791e045b
parent6cff5c11a29fe95c002e1a7a05f2fc94e3232b33
can: c_can: Add syscon/regmap RAMINIT mechanism

Some TI SoCs like DRA7 have a RAMINIT register specification
different from the other AMxx SoCs and as expected by the
existing driver.

To add more insanity, this register is shared with other
IPs like DSS, PCIe and PWM.

Provides a more generic mechanism to specify the RAMINIT
register location and START/DONE bit position and use the
syscon/regmap framework to access the register.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Documentation/devicetree/bindings/net/can/c_can.txt
drivers/net/can/c_can/c_can.h
drivers/net/can/c_can/c_can_platform.c