Skip to content

Commit

Permalink
dt-bindings: can: flexcan: add stop mode property to device tree
Browse files Browse the repository at this point in the history
The FlexCAN controller can parse the stop mode property to enable CAN
self wakeup feature.

Signed-off-by: Aisheng Dong <aisheng.dong@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Aisheng Dong authored and Marc Kleine-Budde committed Nov 28, 2018
1 parent c982a3c commit b9c9c39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Optional properties:
if this property is present then controller is assumed to be big
endian.

- fsl,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.

Example:

can@1c000 {
Expand Down

0 comments on commit b9c9c39

Please sign in to comment.