public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robert Nelson <robertcnelson@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high
Date: Tue, 28 Jan 2014 17:31:41 -0600	[thread overview]
Message-ID: <1390951901-24346-1-git-send-email-robertcnelson@gmail.com> (raw)

With the xM revision C, the DC control of the usb hub was inverted.

By adding the enable-active-high property to hsusb2_power_reg, mainline omap3-beagle-xm.dtb
will now activiate properly activate the usb hub on older xMA/B varients.

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
CC: Tom Rini <trini@ti.com>
---
 include/configs/omap3_beagle.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index c58bc91..d7d63ce 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -249,6 +249,9 @@
 			"setenv fdtfile omap3-beagle-xm.dtb; fi; " \
 		"if test $fdtfile = undefined; then " \
 			"echo WARNING: Could not determine device tree to use; fi; \0" \
+	"fixfdt=" \
+		"if test $beaglerev = xMAB; then " \
+			"fdt addr ${fdtaddr}; fdt resize; fdt set /hsusb2_power_reg enable-active-high; fi; \0" \
 	"bootenv=uEnv.txt\0" \
 	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
 	"importbootenv=echo Importing environment from mmc ...; " \
@@ -308,6 +311,7 @@
 	"setenv bootfile zImage;" \
 	"if run loadimage; then " \
 		"run loadfdt;" \
+		"run fixfdt;" \
 		"run mmcbootz; " \
 	"fi; " \
 
-- 
1.8.5.3

             reply	other threads:[~2014-01-28 23:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-28 23:31 Robert Nelson [this message]
2014-01-29 14:51 ` [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high Robert Nelson
2014-01-29 20:46   ` Tom Rini
2014-01-29 21:55     ` Robert Nelson
2014-01-29 22:11       ` Tom Rini

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=1390951901-24346-1-git-send-email-robertcnelson@gmail.com \
    --to=robertcnelson@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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