summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2010-03-12 10:29:10 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:32 -0700
commit6ddc6dae4ab559b648bc348e3a48e113e92ab4a2 (patch)
tree0a67e89a4501ed974217f02e1a0e86d21f15589b /include/linux
parentfb9c58edf13fc30d160ce52018576a1d7d45d795 (diff)
downloadop-kernel-dev-6ddc6dae4ab559b648bc348e3a48e113e92ab4a2.zip
op-kernel-dev-6ddc6dae4ab559b648bc348e3a48e113e92ab4a2.tar.gz
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/linux')
-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
};
OpenPOWER on IntegriCloud