summaryrefslogtreecommitdiff
path: root/include/linux/usb/musb.h
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2010-10-23 14:12:01 +0400
committerFelipe Balbi <balbi@ti.com>2010-11-05 15:13:32 +0300
commit9c7564620f82e55a9c8713311bffd401ec9d60fe (patch)
tree428c66c3414766bd7326eaf56e31542c26cf6b24 /include/linux/usb/musb.h
parent68f64714dc35a515a3064b300729e7809bcdd0e0 (diff)
downloadlinux-9c7564620f82e55a9c8713311bffd401ec9d60fe.tar.xz
USB: musb: blackfin: push clkin value to platform resources
In order to not touch the driver file for different xtal usage, push the clkin value to board file and calculate the register value instead of hardcoding it. Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/musb.h')
-rw-r--r--include/linux/usb/musb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index ee2dd1d506ed..2387f9fc8138 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -89,6 +89,8 @@ struct musb_hdrc_config {
/* A GPIO controlling VRSEL in Blackfin */
unsigned int gpio_vrsel;
unsigned int gpio_vrsel_active;
+ /* musb CLKIN in Blackfin in MHZ */
+ unsigned char clkin;
#endif
};