summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2014-02-24 14:25:12 +0800
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 08:57:45 -0500
commit86b9f774641a71883e02fcad8562bb8432ac7ce9 (patch)
tree9d29190cf7734d88db1faaef879403c2bc54d7e2 /Documentation
parent43486fbef10c525fb5c23f4de11811c48fe0db46 (diff)
ENGR00300439-5 can: flexcan: parse stop mode control bits from device tree
Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. It's good from maintain perspective and can avoid adding too many SoC specifi bits in driver but with no IP changes when the IMX SoC series keep growing. Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/can/fsl-flexcan.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
index 487e8a63eff1..0a4dfaab4a54 100644
--- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
+++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
@@ -15,8 +15,13 @@ Required properties:
Optional properties:
- clock-frequency : The oscillator frequency driving the flexcan device
-- gpr: phandle to general purpose register node. The remote wakeup control
- bits is stored here.
+- stop-mode: register bits of stop mode control, the format is
+ <&gpr req_gpr req_bit ack_gpr ack_bit>.
+ gpr is the phandle to general purpose register node.
+ req_gpr is the gpr register offset of CAN stop request.
+ req_bit is the bit offset of CAN stop request.
+ ack_gpr is the gpr register offset of CAN stop acknowledge.
+ ack_bit is the bit offset of CAN stop acknowledge.
Below are gpios for tranceiver:
- trx_en_gpio : enable gpio