mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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. Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
parent
34a0a2025c
commit
62c7d085e1
@ -24,7 +24,7 @@
|
|||||||
#ifndef _LINUX_WL12XX_H
|
#ifndef _LINUX_WL12XX_H
|
||||||
#define _LINUX_WL12XX_H
|
#define _LINUX_WL12XX_H
|
||||||
|
|
||||||
/* The board reference clock values */
|
/* Reference clock values */
|
||||||
enum {
|
enum {
|
||||||
WL12XX_REFCLOCK_19 = 0, /* 19.2 MHz */
|
WL12XX_REFCLOCK_19 = 0, /* 19.2 MHz */
|
||||||
WL12XX_REFCLOCK_26 = 1, /* 26 MHz */
|
WL12XX_REFCLOCK_26 = 1, /* 26 MHz */
|
||||||
@ -32,12 +32,25 @@ enum {
|
|||||||
WL12XX_REFCLOCK_54 = 3, /* 54 MHz */
|
WL12XX_REFCLOCK_54 = 3, /* 54 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 {
|
struct wl12xx_platform_data {
|
||||||
void (*set_power)(bool enable);
|
void (*set_power)(bool enable);
|
||||||
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
|
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
|
||||||
int irq;
|
int irq;
|
||||||
bool use_eeprom;
|
bool use_eeprom;
|
||||||
int board_ref_clock;
|
int board_ref_clock;
|
||||||
|
int board_tcxo_clock;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_WL12XX_PLATFORM_DATA
|
#ifdef CONFIG_WL12XX_PLATFORM_DATA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user