summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2010-03-12 08:29:10 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 20:21:32 (GMT)
commit6ddc6dae4ab559b648bc348e3a48e113e92ab4a2 (patch)
tree0a67e89a4501ed974217f02e1a0e86d21f15589b /include
parentfb9c58edf13fc30d160ce52018576a1d7d45d795 (diff)
downloadlinux-6ddc6dae4ab559b648bc348e3a48e113e92ab4a2.tar.xz
USB: musb: allow the Blackfin vrsel gpio to be active low
Rather than hardcoding the gpio levels for vrsel, allow the platform resources to handle this so boards can be active high or low. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/musb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index f3d68f6..fbb83fe 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -88,6 +88,7 @@ struct musb_hdrc_config {
#ifdef CONFIG_BLACKFIN
/* A GPIO controlling VRSEL in Blackfin */
unsigned int gpio_vrsel;
+ unsigned int gpio_vrsel_active;
#endif
};