linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Marek Vasut <marex@denx.de>, Fabio Estevam <festevam@gmail.com>,
	Shawn Guo <shawnguo@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>
Subject: [PATCH V2 2/8] ARM: dts: imx53: Update USB configuration on M53Menlo
Date: Thu, 16 May 2019 00:45:55 +0200	[thread overview]
Message-ID: <20190515224601.4527-2-marex@denx.de> (raw)
In-Reply-To: <20190515224601.4527-1-marex@denx.de>

Turn USBH1 into Host and update the GPIO polarity of the
regulator to match new hardware.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
To: linux-arm-kernel@lists.infradead.org
---
V2: Add enable-active-high property to the regulator node
---
 arch/arm/boot/dts/imx53-m53menlo.dts | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/imx53-m53menlo.dts b/arch/arm/boot/dts/imx53-m53menlo.dts
index 62bc6a95a477..7dddd7028bec 100644
--- a/arch/arm/boot/dts/imx53-m53menlo.dts
+++ b/arch/arm/boot/dts/imx53-m53menlo.dts
@@ -50,7 +50,8 @@
 		regulator-name = "vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
+		gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
 	};
 };
 
@@ -268,8 +269,10 @@
 
 		pinctrl_usb: usbgrp {
 			fsl,pins = <
-				MX53_PAD_GPIO_2__GPIO1_2		0x1d5
-				MX53_PAD_GPIO_3__USBOH3_USBH1_OC	0x1d5
+				MX53_PAD_GPIO_2__GPIO1_2		0x1c4
+				MX53_PAD_GPIO_3__USBOH3_USBH1_OC	0x1c4
+				MX53_PAD_GPIO_4__GPIO1_4		0x1c4
+				MX53_PAD_GPIO_18__GPIO7_13		0x1c4
 			>;
 		};
 	};
@@ -322,7 +325,7 @@
 	pinctrl-0 = <&pinctrl_usb>;
 	vbus-supply = <&reg_usbh1_vbus>;
 	phy_type = "utmi";
-	dr_mode = "peripheral";
+	dr_mode = "host";
 	status = "okay";
 };
 
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-05-15 22:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 22:45 [PATCH V2 1/8] ARM: dts: imx53: Update UART configuration on M53Menlo Marek Vasut
2019-05-15 22:45 ` Marek Vasut [this message]
2019-05-15 22:45 ` [PATCH V2 3/8] ARM: dts: imx53: Add ethernet PHY reset " Marek Vasut
2019-05-15 22:45 ` [PATCH V2 4/8] ARM: dts: imx53: Select netdev trigger for Yellow LED " Marek Vasut
2019-05-15 22:45 ` [PATCH V2 5/8] ARM: dts: imx53: Add power GPIOs " Marek Vasut
2019-05-15 22:45 ` [PATCH V2 6/8] ARM: dts: imx53: Add GPIO beeper " Marek Vasut
2019-05-15 22:46 ` [PATCH V2 7/8] ARM: dts: imx53: Add GPIO line names " Marek Vasut
2019-05-15 22:46 ` [PATCH V2 8/8] ARM: dts: imx53: Update pinmux settings " Marek Vasut
2019-05-16 11:36 ` [PATCH V2 1/8] ARM: dts: imx53: Update UART configuration " Fabio Estevam
2019-05-17  2:18 ` Shawn Guo

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=20190515224601.4527-2-marex@denx.de \
    --to=marex@denx.de \
    --cc=festevam@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --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 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).