Skip to contentSkip to conversation

arm: imx/mxs: enable flexcan driver

PATCH New Marc Kleine-Budde 3 participants 6 messages Jul 2, 2012 – Jul 3, 2012

Subsystems (4)
lore
Share & tools
lore

Marc Kleine-Budde

author maintainer
#0 lore raw

v2 cover arm: imx/mxs: enable flexcan driver

Hello,

as the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled.

Changes since v2:
- improve commit message as requested by Shawn

regards, Marc

author maintainer
#1 lore raw

PATCH v2 1/2 arm: imx: enable flexcan on imx25, imx35, imx53, imx6q

Aas the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled.

---
 arch/arm/mach-imx/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/mach-imx/Kconfig +4 -0
index eff4db5..c296851 100644
@@ -52,6 +52,7 @@ config SOC_IMX25
 	select ARCH_MX25
 	select COMMON_CLK
 	select CPU_ARM926T
+	select HAVE_CAN_FLEXCAN if CAN
 	select ARCH_MXC_IOMUX_V3
 	select MXC_AVIC
 
@@ -79,6 +80,7 @@ config SOC_IMX35
 	select HAVE_EPIT
 	select MXC_AVIC
 	select SMP_ON_UP if SMP
+	select HAVE_CAN_FLEXCAN if CAN
 
 config SOC_IMX5
 	select CPU_V7
@@ -105,6 +107,7 @@ config	SOC_IMX53
 	select SOC_IMX5
 	select ARCH_MX5
 	select ARCH_MX53
+	select HAVE_CAN_FLEXCAN if CAN
 
 if ARCH_IMX_V4_V5
 
@@ -826,6 +829,7 @@ config SOC_IMX6Q
 	select COMMON_CLK
 	select CPU_V7
 	select HAVE_ARM_SCU
+	select HAVE_CAN_FLEXCAN if CAN
 	select HAVE_IMX_GPC
 	select HAVE_IMX_MMDC
 	select HAVE_IMX_SRC
Signature · 1 line
1.7.10
#2 lore raw

PATCH v2 1/2 arm: imx: enable flexcan on imx25, imx35, imx53, imx6q

Shawn,

In case you want to apply this one:

Sascha

Quoted 50 lines · Marc Kleine-Budde

Aas the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled.

---
 arch/arm/mach-imx/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/mach-imx/Kconfig +4 -0
index eff4db5..c296851 100644
@@ -52,6 +52,7 @@ config SOC_IMX25
 	select ARCH_MX25
 	select COMMON_CLK
 	select CPU_ARM926T
+	select HAVE_CAN_FLEXCAN if CAN
 	select ARCH_MXC_IOMUX_V3
 	select MXC_AVIC
 
@@ -79,6 +80,7 @@ config SOC_IMX35
 	select HAVE_EPIT
 	select MXC_AVIC
 	select SMP_ON_UP if SMP
+	select HAVE_CAN_FLEXCAN if CAN
 
 config SOC_IMX5
 	select CPU_V7
@@ -105,6 +107,7 @@ config	SOC_IMX53
 	select SOC_IMX5
 	select ARCH_MX5
 	select ARCH_MX53
+	select HAVE_CAN_FLEXCAN if CAN
 
 if ARCH_IMX_V4_V5
 
@@ -826,6 +829,7 @@ config SOC_IMX6Q
 	select COMMON_CLK
 	select CPU_V7
 	select HAVE_ARM_SCU
+	select HAVE_CAN_FLEXCAN if CAN
 	select HAVE_IMX_GPC
 	select HAVE_IMX_MMDC
 	select HAVE_IMX_SRC
Signature · 1 line
1.7.10
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
author maintainer
#4 lore raw

PATCH v2 2/2 arm: mxs: enable flexcan on imx28

In reply to Marc Kleine-Budde

As the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled.

---
 arch/arm/mach-mxs/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-mxs/Kconfig +1 -0
index 91cf062..ccdf83b 100644
@@ -16,6 +16,7 @@ config SOC_IMX28
 	bool
 	select ARM_AMBA
 	select CPU_ARM926T
+	select HAVE_CAN_FLEXCAN if CAN
 	select HAVE_PWM
 	select PINCTRL_IMX28
 
Signature · 1 line
1.7.10
#5 lore raw

PATCH v2 2/2 arm: mxs: enable flexcan on imx28

Quoted 6 lines · Marc Kleine-Budde

As the flexcan driver has DT binding for some time now. This patch makes the flexcan driver available in the can drivers menu if a SOC with flexcan is enabled.

Applied with subject prefix changed to "ARM: mxs: ..."

Signature · 2 lines
Regards,
Shawn