27 Jun 2012 10:19
[PATCH 0/4] can: flexcan: upgrade the flexcan.c to support i.MX6
Hui Wang <jason77.wang <at> gmail.com>
2012-06-27 08:19:17 GMT
2012-06-27 08:19:17 GMT
i.MX6 is freescale arm chip, it has two flexcan controllers, when i add this driver to the i.MX6 and run it on
the i.MX6 sabre lite board, this driver has several problems:
1. the value in the device tree is stored in big endian format, while arm works in little endian mode by
default, The [1/4] patch fix this problem.
2. the i.MX6 has a higher can controller and has more registers, and some registers need to be set before the
hardware can work well, The [2/4] patch fix this problem.
3. i.MX6 has two clocks to drive flexcan module. The [3/4] patch fix this problem.
4. i.MX6 has an external PHY to be operated. The [4/4] patch fix this problem.
Hui Wang (4):
can: flexcan: use be32_to_cpup to handle the value of dt entry
can: flexcan: add hardware controller version support
can: flexcan: add ipg and ser clocks support
can: flexcan: add transceiver switch support when use device tree
.../devicetree/bindings/net/can/fsl-flexcan.txt | 7 +
drivers/net/can/flexcan.c | 119 ++++++++++++++++----
2 files changed, 106 insertions(+), 20 deletions(-)
Thanks,
Hui.
--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed