linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes
Date: Sat, 20 Jun 2015 17:40:07 +0200	[thread overview]
Message-ID: <1434814810-26285-2-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1434814810-26285-1-git-send-email-hdegoede@redhat.com>

u-boot will have turned on the power to the usb host ports, so mark them
as regulator-boot-on, this stops the power on the ports from temporarily
getting turned off during boot, causing issues with e.g. usb powered
harddisks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sunxi-common-regulators.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/sunxi-common-regulators.dtsi b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
index 51cc838..f1953b0 100644
--- a/arch/arm/boot/dts/sunxi-common-regulators.dtsi
+++ b/arch/arm/boot/dts/sunxi-common-regulators.dtsi
@@ -108,6 +108,7 @@
 		regulator-name = "usb1-vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
 		enable-active-high;
 		gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>;
 		status = "disabled";
@@ -120,6 +121,7 @@
 		regulator-name = "usb2-vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
 		enable-active-high;
 		gpio = <&pio 7 3 GPIO_ACTIVE_HIGH>;
 		status = "disabled";
-- 
2.4.3

  reply	other threads:[~2015-06-20 15:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-20 15:40 [PATCH 0/4] ARM: dts: sunxi: Enable otg on more boards Hans de Goede
2015-06-20 15:40 ` Hans de Goede [this message]
2015-06-22  0:30   ` [linux-sunxi] [PATCH 1/4] ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes Julian Calaby
2015-06-22  8:28     ` Hans de Goede
2015-06-22 14:54       ` Julian Calaby
2015-06-23  7:16       ` Maxime Ripard
2015-06-23  8:19         ` Hans de Goede
2015-06-25 11:12           ` Maxime Ripard
2015-06-20 15:40 ` [PATCH 2/4] ARM: dts: sun4i: Enable otg controller on the ba10-tvbox Hans de Goede
2015-06-20 15:40 ` [PATCH 3/4] ARM: dts: sun4i: Enable otg controller on the mini-x Hans de Goede
2015-06-20 15:40 ` [PATCH 4/4] ARM: dts: sun6i: Enable otg controller on the cs908 Hans de Goede
2015-06-25 11:13 ` [PATCH 0/4] ARM: dts: sunxi: Enable otg on more boards Maxime Ripard

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=1434814810-26285-2-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.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 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).