Re: USB Host support for mx25

2014-03-06 Thread Denis Carikli
Hi, On 03/06/2014 11:23 AM, Fabio Estevam wrote: > > usb 1-1: new low-speed USB device number 2 using ci_hdrc > usb 1-1: device descriptor read/64, error -71 Is that USB peripheral really low-speed? I'm also trying to make the USB host work on the cpuimx25 and the cpuimx35, so I got the sa

[PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- drivers/usb/chipidea/usbmisc_imx.c | 59 1 file changed, 59 insertions(+) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index cd061ab..d956ad0 100644 --- a/drivers/usb/chipidea

[PATCH 3/9] ARM: dts: mbimxsd51 baseboard: Add USB host support

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- .../boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts | 47 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts b/arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts index 5cec4f3..4d970b3

[PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- arch/arm/boot/dts/imx51.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index e508e6f..917b6ed 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -100,6

[PATCH 4/9] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-07 Thread Denis Carikli
From: Fabio Estevam This patch was adapted from the thread named "USB Host support for mx25" on linux-usb@vger.kernel.org Signed-off-by: Denis Carikli --- arch/arm/boot/dts/imx25.dtsi |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/

[PATCH 5/9] ARM: dts: mbimxsd25 baseboard: Add USB host support

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts index 62fb3da..58c606f 100644

[PATCH 6/9] ARM: dts: i.MX35: Add USB support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- arch/arm/boot/dts/imx35.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e59ccb4..1c15b56 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++ b/arch/arm/boot/dts/imx35.dtsi

[PATCH 7/9] ARM: dts: mbimxsd35 baseboard: Add USB host support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- .../boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts b/arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts index 71197b9..d27f02e 100644

[PATCH 8/9] ARM: imx_v6_v7_defconfig: Enable drivers for i.MX51 USB Host support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- 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 09e9743..772f14f 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm

[PATCH 9/9] ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB Host support.

2014-03-07 Thread Denis Carikli
Signed-off-by: Denis Carikli --- arch/arm/configs/imx_v4_v5_defconfig |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig index f1aeb7d..f7c4fbf 100644 --- a/arch/arm/configs/imx_v4_v5_defconfig +++ b/arch

[PATCH v2][ 8/8] ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB support.

2014-03-11 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've addeed it to this patch too. - CONFIG_USB_OTG_FSM=y was not needed, so it was removed. --- arch/arm/configs/imx_v4_v5_defconfig |9 + 1 file changed, 9 in

[PATCH v2][ 4/8] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-11 Thread Denis Carikli
From: Fabio Estevam This patch was adapted from the thread named "USB Host support for mx25" on linux-usb@vger.kernel.org Signed-off-by: Denis Carikli --- Changelog v1->v2: - The usbphy nodes were made to look like the ones in imx53.dtsi - The patch was rebased on top of th

[PATCH v2][ 2/8] ARM: dts: mx35: USB block requires only one clock

2014-03-11 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx35. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx35.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e59ccb4..47

[PATCH v2][ 6/8] ARM: dts: i.MX35: Add USB support.

2014-03-11 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - The usbphy nodes were made to look like the ones in imx53.dtsi - The patch was rebased on top of the clock fixes commits. --- arch/arm/boot/dts/imx35.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/b

[PATCH v2][ 5/8] ARM: dts: mbimxsd25 baseboard: Add USB support

2014-03-11 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. --- .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/

[PATCH v2][ 1/8] ARM: dts: mx25: USB block requires only one clock

2014-03-11 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx25. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx25.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 77bb743..82

[PATCH v2][ 7/8] ARM: dts: mbimxsd35 baseboard: Add USB support.

2014-03-11 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. - Before I forgott to set dr_mode to host in the usbhost port. That is now fixed. --- .../boot/dts/imx35-eukrea-mbimxsd35-baseb

[PATCH v2][ 3/8] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-11 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - converted two remaining defines to BIT() - Removed a variable declaration that was not used in usbmisc_imx25_init --- drivers/usb/chipidea/usbmisc_imx.c | 58 1 file changed, 58 insertions(+) diff --

[PATCH v3][ 1/9] ARM: dts: mx25: USB block requires only one clock

2014-03-12 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx25. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx25.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 77bb743..82

[PATCH v3][ 3/9] usb: chipidea: Use standard usb-phy property.

2014-03-12 Thread Denis Carikli
This converts the Chipidea usbmisc driver to use the standard usb-phy property. It also adapt the dts that uses it. Signed-off-by: Denis Carikli --- arch/arm/boot/dts/imx23.dtsi |2 +- arch/arm/boot/dts/imx27.dtsi |4 ++-- arch/arm/boot/dts/imx28.dtsi |4

[PATCH v3][ 6/9] ARM: dts: mbimxsd25 baseboard: Add USB support

2014-03-12 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. --- .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/

[PATCH v3][ 4/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-12 Thread Denis Carikli
This adds the i.MX25 and the i.MX35 support in the ChipIdea usbmisc driver. The i.MX25 and i.MX35 usb controllers are similar enough to be able to use the same code. Signed-off-by: Denis Carikli --- Changelog v2->v3: - Add a commit log Changelog v1->v2: - converted two remaining defines

[PATCH v3][ 5/9] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-12 Thread Denis Carikli
From: Fabio Estevam This patch was adapted from the thread named "USB Host support for mx25" on linux-usb@vger.kernel.org Signed-off-by: Denis Carikli --- Changelog v2->v3: - rebased on top of the "usb: chipidea: Use standard usb-phy property." patch. - Fixed the usbph

[PATCH v3][ 2/9] ARM: dts: mx35: USB block requires only one clock

2014-03-12 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx35. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx35.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e59ccb4..47

[PATCH v3][ 7/9] ARM: dts: i.MX35: Add USB support.

2014-03-12 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v2->v3: - rebased on top of the "usb: chipidea: Use standard usb-phy property." patch. - Fixed the usbphy nodes index and added and added a reg property. Changelog v1->v2: - The usbphy nodes were made to look like the ones in imx53.dtsi

[PATCH v3][ 9/9] ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB support.

2014-03-12 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v2->v3: - Extra gadget drivers additions were removed from this patch. Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've addeed it to this patch too. - CONFIG_USB_OTG_FSM=y was not needed, so it was removed

[PATCH v3][ 8/9] ARM: dts: mbimxsd35 baseboard: Add USB support.

2014-03-12 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. - Before I forgott to set dr_mode to host in the usbhost port. That is now fixed. --- .../boot/dts/imx35-eukrea-mbimxsd35-baseb

[PATCH v4][ 1/8] ARM: dts: mx25: USB block requires only one clock

2014-03-13 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx25. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx25.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 77bb743..82

[PATCH v4][ 4/8] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-13 Thread Denis Carikli
From: Fabio Estevam Signed-off-by: Fabio Estevam Signed-off-by: Denis Carikli --- Changelog v3->v4: - Added Fabio Estevam's Signed-off-by: it was given as a mail response to this patch. - Moved the compatible of usbphy on top to match the other nodes. - the usb phy's names were

[PATCH v4][ 5/8] ARM: dts: mbimxsd25 baseboard: Add USB support

2014-03-13 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. --- .../boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/

[PATCH v4][ 2/8] ARM: dts: mx35: USB block requires only one clock

2014-03-13 Thread Denis Carikli
From: Fabio Estevam Like other imx SoCs only one USB clock is needed on mx35. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx35.dtsi |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e59ccb4..47

[PATCH v4][ 3/8] usb: chipidea: usbmisc: Add USB support for i.MX25/i.MX35 CPUs

2014-03-13 Thread Denis Carikli
This adds the i.MX25 and the i.MX35 support in the ChipIdea usbmisc driver. The i.MX25 and i.MX35 usb controllers are similar enough to be able to use the same code. Signed-off-by: Denis Carikli --- Changelog v3->v4: - The MXC_EHCI_INTERFACE_* were renamed in MX25_EHCI_INTERFACE_* - Since

[PATCH v4][ 7/8] ARM: dts: mbimxsd35 baseboard: Add USB support.

2014-03-13 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've set the otg port to otg instead of host. - Before I forgott to set dr_mode to host in the usbhost port. That is now fixed. --- .../boot/dts/imx35-eukrea-mbimxsd35-baseb

[PATCH v4][ 8/8] ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB support.

2014-03-13 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v2->v3: - Extra gadget drivers additions were removed from this patch. Changelog v1->v2: - With the clock fix patches, the usb gadget also work. So I've addeed it to this patch too. - CONFIG_USB_OTG_FSM=y was not needed, so it was removed

[PATCH v4][ 6/8] ARM: dts: i.MX35: Add USB support.

2014-03-13 Thread Denis Carikli
Signed-off-by: Denis Carikli --- Changelog v3->v4: - Moved the compatible of usbphy on top to match the other nodes. - the usb phy's names were renamed from usbphy to usb-phy. - The patch renaming the fsl,usbphy property in usb-phy was removed. So this patch was adapted to that. Chan

Re: [PATCH v3][ 5/9] ARM: dts: imx25.dtsi: Fix USB support.

2014-03-13 Thread Denis Carikli
On 03/12/2014 12:08 PM, Fabio Estevam wrote: Hi Denis, Hi, As you add me in the From field, you also need to add: Signed-off-by: Fabio Estevam above your Signed-off-by line. Thanks. + usbphy { + #address-cells = <1>; + #size-cells = <0>; + c