All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Jun <jun.li@nxp.com>
To: peter.chen@nxp.com, robh+dt@kernel.org, shawnguo@kernel.org
Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, Li Jun <jun.li@nxp.com>
Subject: [PATCH 3/4] ARM: dts: imx7d-sdb: Set OTG2 oc polarity to be active low
Date: Mon, 18 Jul 2016 19:15:46 +0800	[thread overview]
Message-ID: <1468840547-17899-3-git-send-email-jun.li@nxp.com> (raw)
In-Reply-To: <1468840547-17899-1-git-send-email-jun.li@nxp.com>

Set OTG2 over current flag to be active low, OTG1 OC is not used
by default.

Signed-off-by: Li Jun <jun.li@nxp.com>
---
 arch/arm/boot/dts/imx7d-sdb.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index b267f79..44ed399 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -287,7 +287,9 @@
 
 &usbotg2 {
 	vbus-supply = <&reg_usb_otg2_vbus>;
+	pinctrl-0 = <&pinctrl_usbotg2>;
 	dr_mode = "host";
+	over-current-polarity = <0>;
 	status = "okay";
 };
 
@@ -415,6 +417,12 @@
 			>;
 		};
 
+		pinctrl_usbotg2: usbotg2grp {
+			fsl,pins = <
+				MX7D_PAD_GPIO1_IO06__USB_OTG2_OC	0x59
+			>;
+		};
+
 		pinctrl_usdhc1: usdhc1grp {
 			fsl,pins = <
 				MX7D_PAD_SD1_CMD__SD1_CMD		0x59
-- 
1.9.1

WARNING: multiple messages have this Message-ID (diff)
From: jun.li@nxp.com (Li Jun)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: dts: imx7d-sdb: Set OTG2 oc polarity to be active low
Date: Mon, 18 Jul 2016 19:15:46 +0800	[thread overview]
Message-ID: <1468840547-17899-3-git-send-email-jun.li@nxp.com> (raw)
In-Reply-To: <1468840547-17899-1-git-send-email-jun.li@nxp.com>

Set OTG2 over current flag to be active low, OTG1 OC is not used
by default.

Signed-off-by: Li Jun <jun.li@nxp.com>
---
 arch/arm/boot/dts/imx7d-sdb.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index b267f79..44ed399 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -287,7 +287,9 @@
 
 &usbotg2 {
 	vbus-supply = <&reg_usb_otg2_vbus>;
+	pinctrl-0 = <&pinctrl_usbotg2>;
 	dr_mode = "host";
+	over-current-polarity = <0>;
 	status = "okay";
 };
 
@@ -415,6 +417,12 @@
 			>;
 		};
 
+		pinctrl_usbotg2: usbotg2grp {
+			fsl,pins = <
+				MX7D_PAD_GPIO1_IO06__USB_OTG2_OC	0x59
+			>;
+		};
+
 		pinctrl_usdhc1: usdhc1grp {
 			fsl,pins = <
 				MX7D_PAD_SD1_CMD__SD1_CMD		0x59
-- 
1.9.1

  parent reply	other threads:[~2016-07-18 11:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 11:15 [PATCH 1/4] doc: usb: usbmisc-imx: add imx7d compatible string Li Jun
2016-07-18 11:15 ` Li Jun
2016-07-18 11:15 ` [PATCH 2/4] doc: usb: ci-hdrc-usb2: add property over-current-polarity Li Jun
2016-07-18 11:15   ` Li Jun
     [not found]   ` <1468840547-17899-2-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-18 15:24     ` Joshua Clayton
2016-07-18 15:24       ` Joshua Clayton
     [not found]       ` <578CF4C2.4000804-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-07-19  1:47         ` Peter Chen
2016-07-19  1:47           ` Peter Chen
2016-07-19  2:56           ` Jun Li
2016-07-19  2:56             ` Jun Li
2016-07-20  1:09     ` Rob Herring
2016-07-20  1:09       ` Rob Herring
2016-07-18 11:15 ` Li Jun [this message]
2016-07-18 11:15   ` [PATCH 3/4] ARM: dts: imx7d-sdb: Set OTG2 oc polarity to be active low Li Jun
2016-07-18 11:15 ` [PATCH 4/4] usb: chipidea: imx: set over current polarity per dts setting Li Jun
2016-07-18 11:15   ` Li Jun
     [not found]   ` <1468840547-17899-4-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-19  1:57     ` Peter Chen
2016-07-19  1:57       ` Peter Chen
2016-07-19  2:31       ` Jun Li
2016-07-19  2:31         ` Jun Li
     [not found]         ` <AM4PR04MB21300689DA05A4D36F13607B89370-WOempg8NbQQzjTQnahXoOs9NdZoXdze2vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-07-19  2:44           ` Peter Chen
2016-07-19  2:44             ` Peter Chen
     [not found] ` <1468840547-17899-1-git-send-email-jun.li-3arQi8VN3Tc@public.gmane.org>
2016-07-20  1:04   ` [PATCH 1/4] doc: usb: usbmisc-imx: add imx7d compatible string Rob Herring
2016-07-20  1:04     ` Rob Herring

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=1468840547-17899-3-git-send-email-jun.li@nxp.com \
    --to=jun.li@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=peter.chen@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.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.