aboutsummaryrefslogtreecommitdiff
path: root/include/linux/wl12xx.h
diff options
context:
space:
mode:
authorGery Kahn <geryk@ti.com>2010-10-05 16:09:05 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:25:02 -0500
commitc8aea565e8f715d9f10064b1cbfbc15bf75df501 (patch)
tree4c0b875ef905991f3096e169b3469efb1d677ea7 /include/linux/wl12xx.h
parent34d59c07e9ad7130813c28f8554ef1298af923b7 (diff)
wl1271: ref_clock cosmetic changes
Cosmetic cleanup for ref_clock code while configured by board. Signed-off-by: Gery Kahn <geryk@ti.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'include/linux/wl12xx.h')
-rw-r--r--include/linux/wl12xx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index 4f902e1908a..bebb8efea0a 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -24,6 +24,14 @@
#ifndef _LINUX_WL12XX_H
#define _LINUX_WL12XX_H
+/* The board reference clock values */
+enum {
+ WL12XX_REFCLOCK_19 = 0, /* 19.2 MHz */
+ WL12XX_REFCLOCK_26 = 1, /* 26 MHz */
+ WL12XX_REFCLOCK_38 = 2, /* 38.4 MHz */
+ WL12XX_REFCLOCK_54 = 3, /* 54 MHz */
+};
+
struct wl12xx_platform_data {
void (*set_power)(bool enable);
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */