summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-11-14 18:37:39 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-11-17 14:19:27 +0300
commit3ff9027ca6b00e194d2eae353febf7233cfcc1ea (patch)
tree57a9c2af5f00837a2b4d22fa661e1ac6791e045b /Documentation
parentbbf914300509f038c807360d755bd606785be6c9 (diff)
downloadlinux-3ff9027ca6b00e194d2eae353febf7233cfcc1ea.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/can/c_can.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/can/c_can.txt b/Documentation/devicetree/bindings/net/can/c_can.txt
index 8f1ae81228e3..a3ca3ee53546 100644
--- a/Documentation/devicetree/bindings/net/can/c_can.txt
+++ b/Documentation/devicetree/bindings/net/can/c_can.txt
@@ -12,6 +12,9 @@ Required properties:
Optional properties:
- ti,hwmods : Must be "d_can<n>" or "c_can<n>", n being the
instance number
+- syscon-raminit : Handle to system control region that contains the
+ RAMINIT register, register offset to the RAMINIT
+ register and the CAN instance number (0 offset).
Note: "ti,hwmods" field is used to fetch the base address and irq
resources from TI, omap hwmod data base during device registration.