All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/4] Phytec phyFLEX-i.MX6 : Added USB_OTG Support
@ 2014-02-18 13:46 ` Ashutosh singh
  0 siblings, 0 replies; 16+ messages in thread
From: Ashutosh singh @ 2014-02-18 13:46 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds support for USB_OTG on Phytec phyFLEX-i.MX6 Quad module.

Signed-off-by: Ashutosh singh <ashutosh.s@phytec.in>
---
 arch/arm/boot/dts/imx6q-phytec-pbab01.dts  |    4 ++++
 arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi |   17 +++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/imx6q-phytec-pbab01.dts b/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
index 7d37ec6..87c3702 100644
--- a/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
+++ b/arch/arm/boot/dts/imx6q-phytec-pbab01.dts
@@ -25,6 +25,10 @@
 	status = "okay";
 };
 
+&usbotg {
+	status = "okay";
+};
+
 &usdhc2 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
index 1a3b50d..e025ad2 100644
--- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
@@ -18,6 +18,14 @@
 	memory {
 		reg = <0x10000000 0x80000000>;
 	};
+
+	reg_usb_otg_vbus: regulator at 0 {
+		compatible = "regulator-fixed";
+		regulator-name = "usb_otg_vbus";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		gpio = <&gpio4 15 0>;
+	};
 };
 
 &ecspi3 {
@@ -134,6 +142,7 @@
 				MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000
 				MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
 				MX6QDL_PAD_DI0_PIN15__GPIO4_IO17  0x80000000 /* PMIC interrupt */
+				MX6QDL_PAD_KEY_ROW4__GPIO4_IO15   0x80000000 /* USB_OTG_PWR_EN */
 			>;
 		};
 	};
@@ -162,6 +171,14 @@
 	status = "disabled";
 };
 
+&usbotg {
+	vbus-supply = <&reg_usb_otg_vbus>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usbotg_1>;
+	disable-over-current;
+	status = "disabled";
+};
+
 &usdhc2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc2_2>;
-- 
1.7.9.5

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

end of thread, other threads:[~2014-02-19  6:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 13:46 [PATCH v3 1/4] Phytec phyFLEX-i.MX6 : Added USB_OTG Support Ashutosh singh
2014-02-18 13:46 ` Ashutosh singh
2014-02-18 13:46 ` [PATCH v2 2/4] Phytec phyFLEX-i.MX6 : Added USB_HOST Support Ashutosh singh
2014-02-18 13:46   ` Ashutosh singh
2014-02-18 13:46 ` [PATCH v2 3/4] Phytec phyFLEX-i.MX6 : Added GPMI-NAND Support Ashutosh singh
2014-02-18 13:46   ` Ashutosh singh
2014-02-18 13:46 ` [PATCH v2 4/4] Phytec phyFLEX-i.MX6 : Added SATA Support Ashutosh singh
2014-02-18 13:46   ` Ashutosh singh
2014-02-19  2:23 ` [PATCH v3 1/4] Phytec phyFLEX-i.MX6 : Added USB_OTG Support Shawn Guo
2014-02-19  2:23   ` Shawn Guo
2014-02-19  5:58   ` Shawn Guo
2014-02-19  5:58     ` Shawn Guo
2014-02-19  6:41     ` Ashutosh
2014-02-19  6:59       ` Shawn Guo
2014-02-19  6:59         ` Shawn Guo
2014-02-19  6:46     ` Singh Ashutosh

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.