All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator
@ 2015-04-30 22:55 Fabio Estevam
  2015-04-30 22:55 ` [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Fabio Estevam @ 2015-04-30 22:55 UTC (permalink / raw)
  To: linux-arm-kernel

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

The 'reg_1p8v' regulator is not used anywhere, so let's remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6sl-warp.dts | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
index 64f7dec..232597a 100644
--- a/arch/arm/boot/dts/imx6sl-warp.dts
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -82,14 +82,6 @@
 			gpio = <&gpio4 2 0>;
 			enable-active-high;
 		};
-
-		reg_1p8v: regulator at 2 {
-			compatible = "regulator-fixed";
-			reg = <2>;
-			regulator-name = "1P8V";
-			regulator-min-microvolt = <1800000>;
-			regulator-max-microvolt = <1800000>;
-		};
 	};
 
 	usdhc3_pwrseq: usdhc3_pwrseq {
-- 
1.9.1

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

* [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators
  2015-04-30 22:55 [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Fabio Estevam
@ 2015-04-30 22:55 ` Fabio Estevam
  2015-05-08 12:43   ` Otavio Salvador
  2015-04-30 22:55 ` [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles Fabio Estevam
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2015-04-30 22:55 UTC (permalink / raw)
  To: linux-arm-kernel

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

According to the warp schematics there are no regulators for the USB OTG 
ports, so let's remove them.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6sl-warp.dts | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
index 232597a..cec189a 100644
--- a/arch/arm/boot/dts/imx6sl-warp.dts
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -58,32 +58,6 @@
 		reg = <0x80000000 0x20000000>;
 	};
 
-	regulators {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		reg_usb_otg1_vbus: regulator at 0 {
-			compatible = "regulator-fixed";
-			reg = <0>;
-			regulator-name = "usb_otg1_vbus";
-			regulator-min-microvolt = <5000000>;
-			regulator-max-microvolt = <5000000>;
-			gpio = <&gpio4 0 0>;
-			enable-active-high;
-		};
-
-		reg_usb_otg2_vbus: regulator at 1 {
-			compatible = "regulator-fixed";
-			reg = <1>;
-			regulator-name = "usb_otg2_vbus";
-			regulator-min-microvolt = <5000000>;
-			regulator-max-microvolt = <5000000>;
-			gpio = <&gpio4 2 0>;
-			enable-active-high;
-		};
-	};
-
 	usdhc3_pwrseq: usdhc3_pwrseq {
 		compatible = "mmc-pwrseq-simple";
 		reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>, 	/* WL_REG_ON */
@@ -113,14 +87,12 @@
 };
 
 &usbotg1 {
-	vbus-supply = <&reg_usb_otg1_vbus>;
 	dr_mode = "host";
 	disable-over-current;
 	status = "okay";
 };
 
 &usbotg2 {
-	vbus-supply = <&reg_usb_otg2_vbus>;
 	disable-over-current;
 	status = "okay";
 };
-- 
1.9.1

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

* [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles
  2015-04-30 22:55 [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Fabio Estevam
  2015-04-30 22:55 ` [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators Fabio Estevam
@ 2015-04-30 22:55 ` Fabio Estevam
  2015-05-08 12:42   ` Otavio Salvador
  2015-05-08 12:43 ` [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Otavio Salvador
  2015-05-11 12:29 ` Shawn Guo
  3 siblings, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2015-04-30 22:55 UTC (permalink / raw)
  To: linux-arm-kernel

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

USBOTG1 always work on peripheral mode and USBOTG in host mode, so fix
their roles accordingly.

Tested by mounting the MMC card as a storage device:

modprobe g_mass_storage file=/dev/mmcblk0p2

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6sl-warp.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
index cec189a..0da906b 100644
--- a/arch/arm/boot/dts/imx6sl-warp.dts
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -87,12 +87,13 @@
 };
 
 &usbotg1 {
-	dr_mode = "host";
+	dr_mode = "peripheral";
 	disable-over-current;
 	status = "okay";
 };
 
 &usbotg2 {
+	dr_mode = "host";
 	disable-over-current;
 	status = "okay";
 };
-- 
1.9.1

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

* [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles
  2015-04-30 22:55 ` [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles Fabio Estevam
@ 2015-05-08 12:42   ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2015-05-08 12:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 30, 2015 at 7:55 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> USBOTG1 always work on peripheral mode and USBOTG in host mode, so fix
> their roles accordingly.
>
> Tested by mounting the MMC card as a storage device:
>
> modprobe g_mass_storage file=/dev/mmcblk0p2
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

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

* [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator
  2015-04-30 22:55 [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Fabio Estevam
  2015-04-30 22:55 ` [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators Fabio Estevam
  2015-04-30 22:55 ` [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles Fabio Estevam
@ 2015-05-08 12:43 ` Otavio Salvador
  2015-05-11 12:29 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2015-05-08 12:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 30, 2015 at 7:55 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> The 'reg_1p8v' regulator is not used anywhere, so let's remove it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

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

* [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators
  2015-04-30 22:55 ` [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators Fabio Estevam
@ 2015-05-08 12:43   ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2015-05-08 12:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 30, 2015 at 7:55 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> According to the warp schematics there are no regulators for the USB OTG
> ports, so let's remove them.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

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

* [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator
  2015-04-30 22:55 [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Fabio Estevam
                   ` (2 preceding siblings ...)
  2015-05-08 12:43 ` [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Otavio Salvador
@ 2015-05-11 12:29 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2015-05-11 12:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 30, 2015 at 07:55:28PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> The 'reg_1p8v' regulator is not used anywhere, so let's remove it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied all, thanks.

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

end of thread, other threads:[~2015-05-11 12:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 22:55 [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Fabio Estevam
2015-04-30 22:55 ` [PATCH 2/3] ARM: dts: imx6sl-warp: Remove USB regulators Fabio Estevam
2015-05-08 12:43   ` Otavio Salvador
2015-04-30 22:55 ` [PATCH 3/3] ARM: dts: imx6sl-warp: Fix OTG roles Fabio Estevam
2015-05-08 12:42   ` Otavio Salvador
2015-05-08 12:43 ` [PATCH 1/3] ARM: dts: imx6sl-warp: Remove unused regulator Otavio Salvador
2015-05-11 12:29 ` Shawn Guo

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.