]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: can: flexcan: Add big-endian property to device tree
authorPankaj Bansal <pankaj.bansal@nxp.com>
Fri, 24 Nov 2017 13:22:10 +0000 (18:52 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 1 Dec 2017 08:14:23 +0000 (09:14 +0100)
commitd31b6e20e2d1f2c3d316069ea43acd670f5c4af2
tree26a5aaed6f242475920d5559328f9fc4cc5ccbef
parent2b210113feaece17cdc899ad3f9e05700dcb740d
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>
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt