From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings
Date: Sun, 27 Jul 2014 23:25:17 +0200 [thread overview]
Message-ID: <1406496323-13093-1-git-send-email-hdegoede@redhat.com> (raw)
Specific USB EHCI settings to be set for sun4i if CONFIG_USB_EHCI is enabled.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
include/configs/sun4i.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
index 037f995..5611ecc 100644
--- a/include/configs/sun4i.h
+++ b/include/configs/sun4i.h
@@ -16,6 +16,18 @@
#define CONFIG_SYS_PROMPT "sun4i# "
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO
+#define CONFIG_SUNXI_USB_VBUS0_GPIO SUNXI_GPH(6)
+#endif
+#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO
+#define CONFIG_SUNXI_USB_VBUS1_GPIO SUNXI_GPH(3)
+#endif
+#endif
+
/*
* Include common sunxi configuration where most the settings are
*/
--
2.0.1
next reply other threads:[~2014-07-27 21:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-27 21:25 Hans de Goede [this message]
2014-07-27 21:25 ` [U-Boot] [PATCH 2/7] sun5i: add USB EHCI settings Hans de Goede
2014-07-28 7:42 ` Ian Campbell
2014-07-28 8:22 ` Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 3/7] sunxi: Enable EHCI on various sunxi boards Hans de Goede
2014-07-28 7:44 ` Ian Campbell
2014-07-27 21:25 ` [U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option Hans de Goede
2014-07-28 7:48 ` Ian Campbell
2014-07-28 7:51 ` [U-Boot] [linux-sunxi] " Chen-Yu Tsai
2014-07-28 7:59 ` Ian Campbell
2014-07-28 8:23 ` Hans de Goede
2014-07-28 8:09 ` [U-Boot] " thomas.langer at lantiq.com
2014-07-28 8:59 ` Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards Hans de Goede
2014-07-28 7:54 ` Ian Campbell
2014-07-28 8:46 ` Hans de Goede
2014-07-28 8:50 ` Ian Campbell
2014-09-18 16:07 ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-09-28 15:58 ` Hans de Goede
2014-09-28 19:34 ` Arnd Gronenberg
2014-09-28 22:09 ` Siarhei Siamashka
2014-09-29 8:31 ` Arnd Gronenberg
2014-09-29 5:38 ` Siarhei Siamashka
2014-09-29 5:46 ` Siarhei Siamashka
2014-07-27 21:25 ` [U-Boot] [PATCH 6/7] sun5i: Add support for a number of new sun5i boards Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 7/7] sun7i: Add support for a number of new sun7i boards Hans de Goede
2014-07-28 7:38 ` [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings Ian Campbell
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=1406496323-13093-1-git-send-email-hdegoede@redhat.com \
--to=hdegoede@redhat.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 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.