All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] some additions for the edmqmx6 board
@ 2014-06-30 13:28 Silvio Fricke
  2014-06-30 13:28 ` [PATCH 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

please add this patches to your imx-tree.

Is it possible to add the first patch to your current imx-fixes branch? The
boards give some warnings of unresolved depencies like "gpio-leds: Driver
leds-gpio requests probe deferral" . With these patches it is gone.


Thank you and bye,
Silvio



Silvio Fricke (5):
  ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
  ARM: dts: imx6: edmqmx6: Add PCIe support
  ARM: dts: imx6: edmqmx6: Add two other i2c busses
  ARM: dts: imx6: edmqmx6: Add can bus
  ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support

 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 54 +++++++++++++++++++++++++++++++++
 arch/arm/configs/imx_v6_v7_defconfig    |  3 ++
 2 files changed, 57 insertions(+)

-- 
2.0.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
@ 2014-06-30 13:28 ` Silvio Fricke
  2014-06-30 13:28 ` [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Enable STMPE gpio support as this is used on MX6 Data Modul edm-qmx6
board.

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 96e8417..c331de8 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -162,6 +162,7 @@ CONFIG_SPI=y
 CONFIG_SPI_IMX=y
 CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_MC9S08DZ60=y
+CONFIG_GPIO_STMPE=y
 # CONFIG_HWMON is not set
 CONFIG_WATCHDOG=y
 CONFIG_IMX2_WDT=y
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
  2014-06-30 13:28 ` [PATCH 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
@ 2014-06-30 13:28 ` Silvio Fricke
  2014-07-01  9:14   ` Shawn Guo
  2014-06-30 13:28 ` [PATCH 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for the PCI express bus available on MX6 Data Modul
edm-qmx6 board.

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index e030263..b0dd50b 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -323,6 +323,12 @@
 			>;
 		};
 
+		pinctrl_pcie: pciegrp {
+			fsl,pins = <
+				MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x80000000
+			>;
+		};
+
 		pinctrl_pfuze: pfuze100grp1 {
 			fsl,pins = <
 				MX6QDL_PAD_EIM_D20__GPIO3_IO20		0x80000000
@@ -385,6 +391,13 @@
 	};
 };
 
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie>;
+	reset-gpio = <&gpio4 8 0>;
+	status = "okay";
+};
+
 &sata {
 	status = "okay";
 };
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
  2014-06-30 13:28 ` [PATCH 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
  2014-06-30 13:28 ` [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
@ 2014-06-30 13:28 ` Silvio Fricke
  2014-06-30 13:28 ` [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index b0dd50b..b98fd74 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -118,6 +118,13 @@
 	status = "okay";
 };
 
+&i2c1 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c1>;
+	status = "okay";
+};
+
 &i2c2 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
@@ -274,6 +281,13 @@
 	};
 };
 
+&i2c3 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c3>;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_hog>;
@@ -316,6 +330,13 @@
 			>;
 		};
 
+		pinctrl_i2c1: i2c1grp {
+			fsl,pins = <
+				MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
+				MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
+			>;
+		};
+
 		pinctrl_i2c2: i2c2grp {
 			fsl,pins = <
 				MX6QDL_PAD_EIM_EB2__I2C2_SCL		0x4001b8b1
@@ -323,6 +344,13 @@
 			>;
 		};
 
+		pinctrl_i2c3: i2c3grp {
+			fsl,pins = <
+				MX6QDL_PAD_EIM_D17__I2C3_SCL		0x4001b8b1
+				MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
+			>;
+		};
+
 		pinctrl_pcie: pciegrp {
 			fsl,pins = <
 				MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x80000000
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
                   ` (2 preceding siblings ...)
  2014-06-30 13:28 ` [PATCH 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
@ 2014-06-30 13:28 ` Silvio Fricke
  2014-07-01  9:15   ` Shawn Guo
  2014-06-30 13:28 ` [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index b98fd74..8ead662 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -95,6 +95,12 @@
 	};
 };
 
+&can1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_can1>;
+	status = "okay";
+};
+
 &ecspi5 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi5>;
@@ -300,6 +306,13 @@
 			>;
 		};
 
+		pinctrl_can1: can1grp {
+			fsl,pins = <
+				MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x80000000
+				MX6QDL_PAD_GPIO_7__FLEXCAN1_TX		0x80000000
+			>;
+		};
+
 		pinctrl_ecspi5: ecspi5rp-1 {
 			fsl,pins = <
 				MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO	0x80000000
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
                   ` (3 preceding siblings ...)
  2014-06-30 13:28 ` [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
@ 2014-06-30 13:28 ` Silvio Fricke
  2014-07-01  9:17   ` Shawn Guo
  2014-07-01  9:09 ` [PATCH 0/5] some additions for the edmqmx6 board Shawn Guo
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
  6 siblings, 1 reply; 17+ messages in thread
From: Silvio Fricke @ 2014-06-30 13:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index c331de8..88877226 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -69,6 +69,8 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_LRO is not set
 CONFIG_IPV6=y
 CONFIG_NETFILTER=y
+CONFIG_CAN=m
+CONFIG_CAN_FLEXCAN=m
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
 CONFIG_RFKILL=y
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 0/5] some additions for the edmqmx6 board
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
                   ` (4 preceding siblings ...)
  2014-06-30 13:28 ` [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
@ 2014-07-01  9:09 ` Shawn Guo
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
  6 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2014-07-01  9:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 30, 2014 at 03:28:04PM +0200, Silvio Fricke wrote:
> Hi,
> 
> please add this patches to your imx-tree.
> 
> Is it possible to add the first patch to your current imx-fixes branch?

No.  Since it's already -rc3, arm-soc folks will require the patches
going into -rc fix critical bugs or regressions.

Shawn

> The
> boards give some warnings of unresolved depencies like "gpio-leds: Driver
> leds-gpio requests probe deferral" . With these patches it is gone.
> 
> 
> Thank you and bye,
> Silvio
> 
> 
> 
> Silvio Fricke (5):
>   ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
>   ARM: dts: imx6: edmqmx6: Add PCIe support
>   ARM: dts: imx6: edmqmx6: Add two other i2c busses
>   ARM: dts: imx6: edmqmx6: Add can bus
>   ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support
> 
>  arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 54 +++++++++++++++++++++++++++++++++
>  arch/arm/configs/imx_v6_v7_defconfig    |  3 ++
>  2 files changed, 57 insertions(+)
> 
> -- 
> 2.0.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support
  2014-06-30 13:28 ` [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
@ 2014-07-01  9:14   ` Shawn Guo
  0 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2014-07-01  9:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 30, 2014 at 03:28:06PM +0200, Silvio Fricke wrote:
> Add support for the PCI express bus available on MX6 Data Modul
> edm-qmx6 board.
> 
> Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
> ---
>  arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> index e030263..b0dd50b 100644
> --- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> +++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> @@ -323,6 +323,12 @@
>  			>;
>  		};
>  
> +		pinctrl_pcie: pciegrp {
> +			fsl,pins = <
> +				MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x80000000

I know it's been used a lot, but I would start requesting to put a real
pad config value instead of 0x80000000, so that the kernel does not
depend on the value coming out of hardware reset or bootloader.

Shawn

> +			>;
> +		};
> +
>  		pinctrl_pfuze: pfuze100grp1 {
>  			fsl,pins = <
>  				MX6QDL_PAD_EIM_D20__GPIO3_IO20		0x80000000
> @@ -385,6 +391,13 @@
>  	};
>  };
>  
> +&pcie {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_pcie>;
> +	reset-gpio = <&gpio4 8 0>;
> +	status = "okay";
> +};
> +
>  &sata {
>  	status = "okay";
>  };
> -- 
> 2.0.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus
  2014-06-30 13:28 ` [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
@ 2014-07-01  9:15   ` Shawn Guo
  0 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2014-07-01  9:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 30, 2014 at 03:28:08PM +0200, Silvio Fricke wrote:
> Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
> ---
>  arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> index b98fd74..8ead662 100644
> --- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> +++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
> @@ -95,6 +95,12 @@
>  	};
>  };
>  
> +&can1 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_can1>;
> +	status = "okay";
> +};
> +
>  &ecspi5 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_ecspi5>;
> @@ -300,6 +306,13 @@
>  			>;
>  		};
>  
> +		pinctrl_can1: can1grp {
> +			fsl,pins = <
> +				MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x80000000
> +				MX6QDL_PAD_GPIO_7__FLEXCAN1_TX		0x80000000

Same here.  Please configure the pads properly.

Shawn

> +			>;
> +		};
> +
>  		pinctrl_ecspi5: ecspi5rp-1 {
>  			fsl,pins = <
>  				MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO	0x80000000
> -- 
> 2.0.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support
  2014-06-30 13:28 ` [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
@ 2014-07-01  9:17   ` Shawn Guo
  0 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2014-07-01  9:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 30, 2014 at 03:28:09PM +0200, Silvio Fricke wrote:
> Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
> ---
>  arch/arm/configs/imx_v6_v7_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
> index c331de8..88877226 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -69,6 +69,8 @@ CONFIG_IP_PNP_DHCP=y
>  # CONFIG_INET_LRO is not set
>  CONFIG_IPV6=y
>  CONFIG_NETFILTER=y
> +CONFIG_CAN=m
> +CONFIG_CAN_FLEXCAN=m

Would it be better to have them as 'y'?  It gets more chance to be
compile-tested since zImage build is more often than module build.

Shawn

>  CONFIG_CFG80211=y
>  CONFIG_MAC80211=y
>  CONFIG_RFKILL=y
> -- 
> 2.0.0
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH v2 0/5] some additions for the edmqmx6 board
  2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
                   ` (5 preceding siblings ...)
  2014-07-01  9:09 ` [PATCH 0/5] some additions for the edmqmx6 board Shawn Guo
@ 2014-07-01 11:08 ` Silvio Fricke
  2014-07-01 11:08   ` [PATCH v2 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
                     ` (5 more replies)
  6 siblings, 6 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

please add this patches to your imx-tree.

v2:
* add changes suggested by Shawn Guo
  * iomux config changed for can and pcie-reset gpio
  * flexcan not as module

Thank you and bye,
Silvio


Silvio Fricke (5):
  ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
  ARM: dts: imx6: edmqmx6: Add PCIe support
  ARM: dts: imx6: edmqmx6: Add two other i2c buses
  ARM: dts: imx6: edmqmx6: Add can bus
  ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support

 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 54 +++++++++++++++++++++++++++++++++
 arch/arm/configs/imx_v6_v7_defconfig    |  3 ++
 2 files changed, 57 insertions(+)

-- 
2.0.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH v2 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
@ 2014-07-01 11:08   ` Silvio Fricke
  2014-07-01 11:08   ` [PATCH v2 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
                     ` (4 subsequent siblings)
  5 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:08 UTC (permalink / raw)
  To: linux-arm-kernel

Enable STMPE gpio support as this is used on MX6 Data Modul edm-qmx6
board.

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 96e8417..c331de8 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -162,6 +162,7 @@ CONFIG_SPI=y
 CONFIG_SPI_IMX=y
 CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_MC9S08DZ60=y
+CONFIG_GPIO_STMPE=y
 # CONFIG_HWMON is not set
 CONFIG_WATCHDOG=y
 CONFIG_IMX2_WDT=y
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
  2014-07-01 11:08   ` [PATCH v2 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
@ 2014-07-01 11:08   ` Silvio Fricke
  2014-07-01 11:09   ` [PATCH v2 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
                     ` (3 subsequent siblings)
  5 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:08 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for the PCI express bus available on MX6 Data Modul
edm-qmx6 board.

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index e030263..f36dab0 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -323,6 +323,12 @@
 			>;
 		};
 
+		pinctrl_pcie: pciegrp {
+			fsl,pins = <
+				MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x100b1
+			>;
+		};
+
 		pinctrl_pfuze: pfuze100grp1 {
 			fsl,pins = <
 				MX6QDL_PAD_EIM_D20__GPIO3_IO20		0x80000000
@@ -385,6 +391,13 @@
 	};
 };
 
+&pcie {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie>;
+	reset-gpio = <&gpio4 8 0>;
+	status = "okay";
+};
+
 &sata {
 	status = "okay";
 };
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
  2014-07-01 11:08   ` [PATCH v2 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
  2014-07-01 11:08   ` [PATCH v2 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
@ 2014-07-01 11:09   ` Silvio Fricke
  2014-07-01 11:09   ` [PATCH v2 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:09 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index f36dab0..dd9ef16 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -118,6 +118,13 @@
 	status = "okay";
 };
 
+&i2c1 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c1>;
+	status = "okay";
+};
+
 &i2c2 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
@@ -274,6 +281,13 @@
 	};
 };
 
+&i2c3 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c3>;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_hog>;
@@ -316,6 +330,13 @@
 			>;
 		};
 
+		pinctrl_i2c1: i2c1grp {
+			fsl,pins = <
+				MX6QDL_PAD_EIM_D21__I2C1_SCL		0x4001b8b1
+				MX6QDL_PAD_EIM_D28__I2C1_SDA		0x4001b8b1
+			>;
+		};
+
 		pinctrl_i2c2: i2c2grp {
 			fsl,pins = <
 				MX6QDL_PAD_EIM_EB2__I2C2_SCL		0x4001b8b1
@@ -323,6 +344,13 @@
 			>;
 		};
 
+		pinctrl_i2c3: i2c3grp {
+			fsl,pins = <
+				MX6QDL_PAD_EIM_D17__I2C3_SCL		0x4001b8b1
+				MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
+			>;
+		};
+
 		pinctrl_pcie: pciegrp {
 			fsl,pins = <
 				MX6QDL_PAD_KEY_COL1__GPIO4_IO08		0x100b1
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 4/5] ARM: dts: imx6: edmqmx6: Add can bus
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
                     ` (2 preceding siblings ...)
  2014-07-01 11:09   ` [PATCH v2 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
@ 2014-07-01 11:09   ` Silvio Fricke
  2014-07-01 11:09   ` [PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
  2014-07-02  4:38   ` [PATCH v2 0/5] some additions for the edmqmx6 board Shawn Guo
  5 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:09 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
index dd9ef16..8c1cb53 100644
--- a/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
+++ b/arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
@@ -95,6 +95,12 @@
 	};
 };
 
+&can1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_can1>;
+	status = "okay";
+};
+
 &ecspi5 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi5>;
@@ -300,6 +306,13 @@
 			>;
 		};
 
+		pinctrl_can1: can1grp {
+			fsl,pins = <
+				MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b0b0
+				MX6QDL_PAD_GPIO_7__FLEXCAN1_TX		0x1b0b0
+			>;
+		};
+
 		pinctrl_ecspi5: ecspi5rp-1 {
 			fsl,pins = <
 				MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO	0x80000000
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
                     ` (3 preceding siblings ...)
  2014-07-01 11:09   ` [PATCH v2 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
@ 2014-07-01 11:09   ` Silvio Fricke
  2014-07-02  4:38   ` [PATCH v2 0/5] some additions for the edmqmx6 board Shawn Guo
  5 siblings, 0 replies; 17+ messages in thread
From: Silvio Fricke @ 2014-07-01 11:09 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index c331de8..4283393 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -69,6 +69,8 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_LRO is not set
 CONFIG_IPV6=y
 CONFIG_NETFILTER=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
 CONFIG_CFG80211=y
 CONFIG_MAC80211=y
 CONFIG_RFKILL=y
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH v2 0/5] some additions for the edmqmx6 board
  2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
                     ` (4 preceding siblings ...)
  2014-07-01 11:09   ` [PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
@ 2014-07-02  4:38   ` Shawn Guo
  5 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2014-07-02  4:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 01, 2014 at 01:08:57PM +0200, Silvio Fricke wrote:
> Hi,
> 
> please add this patches to your imx-tree.
> 
> v2:
> * add changes suggested by Shawn Guo
>   * iomux config changed for can and pcie-reset gpio
>   * flexcan not as module
> 
> Thank you and bye,
> Silvio
> 
> 
> Silvio Fricke (5):
>   ARM: imx_v6_v7_defconfig: Enable STMPE gpio support
>   ARM: dts: imx6: edmqmx6: Add PCIe support
>   ARM: dts: imx6: edmqmx6: Add two other i2c buses
>   ARM: dts: imx6: edmqmx6: Add can bus
>   ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support

Applied all, thanks.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-07-02  4:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-30 13:28 [PATCH 0/5] some additions for the edmqmx6 board Silvio Fricke
2014-06-30 13:28 ` [PATCH 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
2014-06-30 13:28 ` [PATCH 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
2014-07-01  9:14   ` Shawn Guo
2014-06-30 13:28 ` [PATCH 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
2014-06-30 13:28 ` [PATCH 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
2014-07-01  9:15   ` Shawn Guo
2014-06-30 13:28 ` [PATCH 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
2014-07-01  9:17   ` Shawn Guo
2014-07-01  9:09 ` [PATCH 0/5] some additions for the edmqmx6 board Shawn Guo
2014-07-01 11:08 ` [PATCH v2 " Silvio Fricke
2014-07-01 11:08   ` [PATCH v2 1/5] ARM: imx_v6_v7_defconfig: Enable STMPE gpio support Silvio Fricke
2014-07-01 11:08   ` [PATCH v2 2/5] ARM: dts: imx6: edmqmx6: Add PCIe support Silvio Fricke
2014-07-01 11:09   ` [PATCH v2 3/5] ARM: dts: imx6: edmqmx6: Add two other i2c buses Silvio Fricke
2014-07-01 11:09   ` [PATCH v2 4/5] ARM: dts: imx6: edmqmx6: Add can bus Silvio Fricke
2014-07-01 11:09   ` [PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable flexcan driver for can support Silvio Fricke
2014-07-02  4:38   ` [PATCH v2 0/5] some additions for the edmqmx6 board Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.