Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <pankaj.bansal@nxp.com>
Reviewed-by: Poonam Aggrwal <poonam.aggrwal@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Pankaj Bansal and committed by
Marc Kleine-Budde
525d70a9 99b7668c

+6
+6
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
··· 18 18 19 19 - xceiver-supply: Regulator that powers the CAN transceiver 20 20 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 + 21 27 Example: 22 28 23 29 can@1c000 {