diff options
author | Shahar Levi <shahar_levi@ti.com> | 2011-03-06 09:32:11 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-04-19 09:48:58 -0400 |
commit | 5ea417ae7749076ddaacb5b36487cae6ac920413 (patch) | |
tree | 3969114b764d6101adda23e626bb80940115abe4 /drivers/net/wireless/wl12xx/sdio.c | |
parent | bc765bf3b9a095b3e41c8cda80643901884c3dd4 (diff) |
wl12xx: 1281/1283 support - New boot sequence
Boot sequence support FREF clock and TCXO clock.
WL128x has two clocks input - TCXO and FREF.
TCXO is the main clock of the device, while FREF is used to sync
between the GPS and the cellular modem.
Auto-detection checks where TCXO is 32.736MHz or 16.368MHz, in that
case the FREF will be used as the WLAN/BT main clock.
[Use clock enumeration as defined in linux/wl12xx.h; remove
unnecessary else block in wl128x_switch_fref; remove unnecessary
change in main.c; remove some unnecessary debug prints and comments;
fix potential use of uninitialized value (pll_config) -- Luca]
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/sdio.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/sdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/sdio.c b/drivers/net/wireless/wl12xx/sdio.c index 7491b3d8487a..f6dd3dea4f30 100644 --- a/drivers/net/wireless/wl12xx/sdio.c +++ b/drivers/net/wireless/wl12xx/sdio.c | |||
@@ -255,6 +255,7 @@ static int __devinit wl1271_probe(struct sdio_func *func, | |||
255 | 255 | ||
256 | wl->irq = wlan_data->irq; | 256 | wl->irq = wlan_data->irq; |
257 | wl->ref_clock = wlan_data->board_ref_clock; | 257 | wl->ref_clock = wlan_data->board_ref_clock; |
258 | wl->tcxo_clock = wlan_data->board_tcxo_clock; | ||
258 | 259 | ||
259 | ret = request_threaded_irq(wl->irq, wl1271_hardirq, wl1271_irq, | 260 | ret = request_threaded_irq(wl->irq, wl1271_hardirq, wl1271_irq, |
260 | IRQF_TRIGGER_HIGH | IRQF_ONESHOT, | 261 | IRQF_TRIGGER_HIGH | IRQF_ONESHOT, |