All of lore.kernel.org
 help / color / mirror / Atom feed
From: jagannadh.teki@gmail.com (Jagan Teki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 5/5] ARM: dts: imx6qdl-icore: Add usbotg support
Date: Mon, 12 Sep 2016 00:00:41 +0530	[thread overview]
Message-ID: <1473618641-10159-6-git-send-email-jagan@amarulasolutions.com> (raw)
In-Reply-To: <1473618641-10159-1-git-send-email-jagan@amarulasolutions.com>

Add usbotg support for Engicam i.CoreM6 dql modules.

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v4:
	- Newly added patch

 arch/arm/boot/dts/imx6qdl-icore.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi
index b4f7e64..fefd7fd 100644
--- a/arch/arm/boot/dts/imx6qdl-icore.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi
@@ -65,6 +65,15 @@
 		regulator-boot-on;
 		regulator-always-on;
 	};
+
+	reg_usb_otg_vbus: usb_otg_vbus {
+		compatible = "regulator-fixed";
+		regulator-name = "usb_otg_vbus";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
 };
 
 &can1 {
@@ -125,6 +134,14 @@
 	status = "okay";
 };
 
+&usbotg {
+	vbus-supply = <&reg_usb_otg_vbus>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usbotg>;
+	disable-over-current;
+	status = "okay";
+};
+
 &usdhc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc1>;
@@ -199,6 +216,12 @@
 		>;
 	};
 
+	pinctrl_usbotg: usbotggrp {
+		fsl,pins = <
+			MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
+		>;
+	};
+
 	pinctrl_usdhc1: usdhc1grp {
 		fsl,pins = <
 			MX6QDL_PAD_SD1_CMD__SD1_CMD    0x17070
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: Jagan Teki <jagannadh.teki@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jagan Teki <jagan@amarulasolutions.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Matteo Lisi <matteo.lisi@engicam.com>,
	Michael Trimarchi <michael@amarulasolutions.com>
Subject: [PATCH v4 5/5] ARM: dts: imx6qdl-icore: Add usbotg support
Date: Mon, 12 Sep 2016 00:00:41 +0530	[thread overview]
Message-ID: <1473618641-10159-6-git-send-email-jagan@amarulasolutions.com> (raw)
In-Reply-To: <1473618641-10159-1-git-send-email-jagan@amarulasolutions.com>

Add usbotg support for Engicam i.CoreM6 dql modules.

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v4:
	- Newly added patch

 arch/arm/boot/dts/imx6qdl-icore.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi
index b4f7e64..fefd7fd 100644
--- a/arch/arm/boot/dts/imx6qdl-icore.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi
@@ -65,6 +65,15 @@
 		regulator-boot-on;
 		regulator-always-on;
 	};
+
+	reg_usb_otg_vbus: usb_otg_vbus {
+		compatible = "regulator-fixed";
+		regulator-name = "usb_otg_vbus";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
 };
 
 &can1 {
@@ -125,6 +134,14 @@
 	status = "okay";
 };
 
+&usbotg {
+	vbus-supply = <&reg_usb_otg_vbus>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usbotg>;
+	disable-over-current;
+	status = "okay";
+};
+
 &usdhc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usdhc1>;
@@ -199,6 +216,12 @@
 		>;
 	};
 
+	pinctrl_usbotg: usbotggrp {
+		fsl,pins = <
+			MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
+		>;
+	};
+
 	pinctrl_usdhc1: usdhc1grp {
 		fsl,pins = <
 			MX6QDL_PAD_SD1_CMD__SD1_CMD    0x17070
-- 
2.7.4

  parent reply	other threads:[~2016-09-11 18:30 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 18:30 [PATCH v4 0/5] ARM: dts: imx6q: Add Engicam i.CoreM6 dts Jagan Teki
2016-09-11 18:30 ` Jagan Teki
2016-09-11 18:30 ` Jagan Teki
2016-09-11 18:30 ` [PATCH v4 1/5] of: Add vendor prefix for Engicam s.r.l company Jagan Teki
2016-09-11 18:30   ` Jagan Teki
2016-09-11 18:30 ` [PATCH v4 2/5] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support Jagan Teki
2016-09-11 18:30   ` Jagan Teki
2016-09-13 22:36   ` Fabio Estevam
2016-09-13 22:36     ` Fabio Estevam
2016-09-13 22:36     ` Fabio Estevam
2016-09-14 17:43     ` Jagan Teki
2016-09-14 17:43       ` Jagan Teki
2016-09-14 17:43       ` Jagan Teki
2016-09-14 18:00       ` Fabio Estevam
2016-09-14 18:00         ` Fabio Estevam
2016-09-14 18:00         ` Fabio Estevam
2016-09-20 13:23         ` Michael Trimarchi
2016-09-20 13:23           ` Michael Trimarchi
2016-09-21 16:46           ` Fabio Estevam
2016-09-21 16:46             ` Fabio Estevam
2016-09-26 13:44             ` Matteo Lisi
2016-09-26 13:44               ` Matteo Lisi
2016-09-26 13:44               ` Matteo Lisi
2016-09-26 13:47               ` Fabio Estevam
2016-09-26 13:47                 ` Fabio Estevam
2016-09-26 13:47                 ` Fabio Estevam
2016-09-26 13:54                 ` Michael Trimarchi
2016-09-26 13:54                   ` Michael Trimarchi
2016-09-26 13:55                   ` Fabio Estevam
2016-09-26 13:55                     ` Fabio Estevam
2016-09-26 13:56                     ` Michael Trimarchi
2016-09-26 13:56                       ` Michael Trimarchi
2016-09-26 13:56                       ` Michael Trimarchi
2016-09-26 14:28                       ` Jagan Teki
2016-09-26 14:28                         ` Jagan Teki
2016-09-26 14:28                         ` Jagan Teki
2016-09-14  3:33   ` Fabio Estevam
2016-09-14  3:33     ` Fabio Estevam
2016-09-14  3:33     ` Fabio Estevam
2016-09-11 18:30 ` [PATCH v4 3/5] ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo " Jagan Teki
2016-09-11 18:30   ` Jagan Teki
2016-09-11 18:30 ` [PATCH v4 4/5] ARM: dts: imx6qdl-icore: Add usbhost support Jagan Teki
2016-09-11 18:30   ` Jagan Teki
2016-09-11 18:30 ` Jagan Teki [this message]
2016-09-11 18:30   ` [PATCH v4 5/5] ARM: dts: imx6qdl-icore: Add usbotg support Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473618641-10159-6-git-send-email-jagan@amarulasolutions.com \
    --to=jagannadh.teki@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.