wl12xx: add new board_tcxo_clock element to the platform data
Luciano Coelho [Thu, 10 Mar 2011 14:42:47 +0000 (16:42 +0200)]
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

include/linux/wl12xx.h

index 4b69739..3995105 100644 (file)
@@ -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 */