summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-03-10 16:42:47 +0200
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-31 04:29:10 -0800
commitba24e7b6267f5a4b7ed3c5607d6d2477a804bd41 (patch)
treebfcfec62f38444ed81bc18e01585a51c87df9019 /include
parentabbe0483e17063be1a25531ef8cdb78d2390359c (diff)
wl12xx: add new board_tcxo_clock element to the platform data
This new value is a new type of clock setting that is used by wl128x chipsets. Bug 926128 Reviewed-on: http://git-master/r/77361 (cherry picked from commit 62c7d085e1f2a1f2b4d89560551eff18d703b3b1) Change-Id: I2cf2af565a2574cf789ae73a59b4891969506491 Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78019 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include')
-rw-r--r--include/linux/wl12xx.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index 4b697395326e..3995105f3ffd 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -46,6 +46,18 @@ enum {
WL12XX_TCXOCLOCK_33_6 = 7, /* 33.6 MHz */
};
+/* TCXO clock values */
+enum {
+ WL12XX_TCXOCLOCK_19_2 = 0, /* 19.2MHz */
+ WL12XX_TCXOCLOCK_26 = 1, /* 26 MHz */
+ WL12XX_TCXOCLOCK_38_4 = 2, /* 38.4MHz */
+ WL12XX_TCXOCLOCK_52 = 3, /* 52 MHz */
+ WL12XX_TCXOCLOCK_16_368 = 4, /* 16.368 MHz */
+ WL12XX_TCXOCLOCK_32_736 = 5, /* 32.736 MHz */
+ WL12XX_TCXOCLOCK_16_8 = 6, /* 16.8 MHz */
+ WL12XX_TCXOCLOCK_33_6 = 7, /* 33.6 MHz */
+};
+
struct wl12xx_platform_data {
void (*set_power)(bool enable);
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */