ENGR00300439-5 can: flexcan: parse stop mode control bits from device tree
authorDong Aisheng <b29396@freescale.com>
Mon, 24 Feb 2014 06:25:12 +0000 (14:25 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Wed, 16 Apr 2014 13:57:45 +0000 (08:57 -0500)
commit86b9f774641a71883e02fcad8562bb8432ac7ce9
tree9d29190cf7734d88db1faaef879403c2bc54d7e2
parent43486fbef10c525fb5c23f4de11811c48fe0db46
ENGR00300439-5 can: flexcan: parse stop mode control bits from device tree

Starting from IMX6, the flexcan stop mode control bits is SoC specific,
move it out of IP driver and parse it from devicetree.
It's good from maintain perspective and can avoid adding too many SoC
specifi bits in driver but with no IP changes when the IMX SoC series
keep growing.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
arch/arm/boot/dts/imx6qdl.dtsi
drivers/net/can/flexcan.c