linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support
@ 2014-06-25 20:28 Fabio Estevam
  2014-06-25 20:28 ` [PATCH 2/2] ARM: imx_v4_v5_defconfig: Add USB device options Fabio Estevam
  2014-07-01  6:37 ` [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2014-06-25 20:28 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Tested by loading the g_ether module and doing a ping between mx25pdk and the
host PC via USB.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx25-pdk.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
index 8f9a424..9c21b15 100644
--- a/arch/arm/boot/dts/imx25-pdk.dts
+++ b/arch/arm/boot/dts/imx25-pdk.dts
@@ -248,3 +248,10 @@
 	dr_mode = "host";
 	status = "okay";
 };
+
+&usbotg {
+	phy_type = "utmi";
+	dr_mode = "otg";
+	external-vbus-divider;
+	status = "okay";
+};
-- 
1.8.3.2

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

* [PATCH 2/2] ARM: imx_v4_v5_defconfig: Add USB device options
  2014-06-25 20:28 [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Fabio Estevam
@ 2014-06-25 20:28 ` Fabio Estevam
  2014-07-01  6:37 ` [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2014-06-25 20:28 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Allow USB device to work by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/configs/imx_v4_v5_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig
index 68abce9..090de01 100644
--- a/arch/arm/configs/imx_v4_v5_defconfig
+++ b/arch/arm/configs/imx_v4_v5_defconfig
@@ -159,6 +159,8 @@ CONFIG_USB_CHIPIDEA=y
 CONFIG_USB_CHIPIDEA_UDC=y
 CONFIG_USB_CHIPIDEA_HOST=y
 CONFIG_NOP_USB_XCEIV=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=m
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
-- 
1.8.3.2

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

* [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support
  2014-06-25 20:28 [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Fabio Estevam
  2014-06-25 20:28 ` [PATCH 2/2] ARM: imx_v4_v5_defconfig: Add USB device options Fabio Estevam
@ 2014-07-01  6:37 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2014-07-01  6:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jun 25, 2014 at 05:28:52PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Tested by loading the g_ether module and doing a ping between mx25pdk and the
> host PC via USB.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied both, thanks.

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

end of thread, other threads:[~2014-07-01  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 20:28 [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Fabio Estevam
2014-06-25 20:28 ` [PATCH 2/2] ARM: imx_v4_v5_defconfig: Add USB device options Fabio Estevam
2014-07-01  6:37 ` [PATCH 1/2] ARM: dts: imx25-pdk: Add USB OTG support Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).