aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorPankaj Bansal <[email protected]>2017-11-24 18:52:08 +0530
committerMarc Kleine-Budde <[email protected]>2017-12-01 09:14:23 +0100
commit88462d2a7830b23edb31f467e8fcd06e56d4cb98 (patch)
treed491a2ca0a76815d33b1b24565a583f09637e0c3 /tools/perf/scripts/python/Perf-Trace-Util/lib
parenta4efd5d8a46e2ff3f04ba22b1f3b9ab52eca7154 (diff)
can: flexcan: Remodel FlexCAN register r/w APIs for big endian FlexCAN controllers.
The FlexCAN driver assumed that FlexCAN controller is big endian for powerpc architecture and little endian for other architectures. But this may not be the case. FlexCAN controller can be little or big endian on any architecture. For e.g. NXP LS1021A ARM based SOC has big endian FlexCAN controller. Therefore, the driver has been modified to add a provision for both types of controllers using an additional device tree property. On a "fsl,p1010-flexcan" device BE is default, on all other devices LE is. Big Endian controllers should have "big-endian" set in the device tree. check "Documentation/devicetree/bindings/net/can/fsl-flexcan.txt" for usage. This is the standard practice followed in linux. for more info check: Documentation/devicetree/bindings/common-properties.txt Signed-off-by: Pankaj Bansal <[email protected]> Signed-off-by: Bhupesh Sharma <[email protected]> Signed-off-by: Sakar Arora <[email protected]> Reviewed-by: Zhengxiong Jin <[email protected]> Reviewed-by: Poonam Aggrwal <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions