Skip to content

Commit 525d70a

Browse files
pankajbansalnxpmarckleinebudde
authored andcommitted
Documentation: can: flexcan: Add big-endian property to device tree
The FlexCAN controller can be modelled as little or big endian depending on SOC design. This device tree property identifies the controller endianness and the driver reads/writes controller registers based on that. This is optional property. i.e. if this property is not present in device tree node then controller is assumed to be little endian. if this property is present then controller is assumed to be big endian. Signed-off-by: Pankaj Bansal <[email protected]> Reviewed-by: Poonam Aggrwal <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 99b7668 commit 525d70a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/net/can/fsl-flexcan.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Optional properties:
1818

1919
- xceiver-supply: Regulator that powers the CAN transceiver
2020

21+
- big-endian: This means the registers of FlexCAN controller are big endian.
22+
This is optional property.i.e. if this property is not present in
23+
device tree node then controller is assumed to be little endian.
24+
if this property is present then controller is assumed to be big
25+
endian.
26+
2127
Example:
2228

2329
can@1c000 {

0 commit comments

Comments
 (0)