Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: akurz@blala.de (Alexander Kurz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: dts: imx6dl-riotboard: fix OTG regulator polarity
Date: Sat, 26 May 2018 18:30:53 +0000	[thread overview]
Message-ID: <20180526183053.14029-4-akurz@blala.de> (raw)
In-Reply-To: <20180526183053.14029-1-akurz@blala.de>

USB OTG power is switched on when the GPIO is pulled low.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/boot/dts/imx6dl-riotboard.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts
index a52e05934e3a..ef3b270c15e5 100644
--- a/arch/arm/boot/dts/imx6dl-riotboard.dts
+++ b/arch/arm/boot/dts/imx6dl-riotboard.dts
@@ -70,8 +70,7 @@
 		regulator-name = "usb_otg_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		gpio = <&gpio3 22 0>;
-		enable-active-high;
+		gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
 	};
 };
 
-- 
2.11.0

      parent reply	other threads:[~2018-05-26 18:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 18:30 ARM: dts: imx6: enable OTG on wandboard and riotboard Alexander Kurz
2018-05-26 18:30 ` [PATCH 1/3] ARM: dts: imx6 wandboard and riotboard: remove regulators bus node Alexander Kurz
2018-05-27 16:40   ` Fabio Estevam
2018-05-28  0:56   ` Fabio Estevam
2018-05-26 18:30 ` [PATCH 2/3] ARM: dts: imx6qdl-wandboard: enable USB OTG Alexander Kurz
2018-05-26 18:30 ` Alexander Kurz [this message]

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=20180526183053.14029-4-akurz@blala.de \
    --to=akurz@blala.de \
    --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