linux/drivers/net/wireless/rsi/rsi_boot_params.h

/*
 * Copyright (c) 2014 Redpine Signals Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#ifndef __RSI_BOOTPARAMS_HEADER_H__
#define __RSI_BOOTPARAMS_HEADER_H__

#define CRYSTAL_GOOD_TIME
#define BOOTUP_MODE_INFO
#define WIFI_TAPLL_CONFIGS
#define WIFI_PLL960_CONFIGS
#define WIFI_AFEPLL_CONFIGS
#define WIFI_SWITCH_CLK_CONFIGS

#define TA_PLL_M_VAL_20
#define TA_PLL_N_VAL_20
#define TA_PLL_P_VAL_20

#define PLL960_M_VAL_20
#define PLL960_N_VAL_20
#define PLL960_P_VAL_20

#define UMAC_CLK_40MHZ

#define TA_PLL_M_VAL_40
#define TA_PLL_N_VAL_40
#define TA_PLL_P_VAL_40

#define PLL960_M_VAL_40
#define PLL960_N_VAL_40
#define PLL960_P_VAL_40

#define UMAC_CLK_20BW
#define VALID_20
#define UMAC_CLK_40BW
#define VALID_40

/* structure to store configs related to TAPLL programming */
struct tapll_info {} __packed;

/* structure to store configs related to PLL960 programming */
struct pll960_info {} __packed;

/* structure to store configs related to AFEPLL programming */
struct afepll_info {} __packed;

/* structure to store configs related to pll configs */
struct pll_config {} __packed;

struct pll_config_9116 {} __packed;

/* structure to store configs related to UMAC clk programming */
struct switch_clk {} __packed;

#define RSI_SWITCH_TASS_CLK
#define RSI_SWITCH_QSPI_CLK
#define RSI_SWITCH_SLP_CLK_2_32
#define RSI_SWITCH_WLAN_BBP_LMAC_CLK_REG
#define RSI_SWITCH_ZBBT_BBP_LMAC_CLK_REG
#define RSI_SWITCH_BBP_LMAC_CLK_REG
#define RSI_MODEM_CLK_160MHZ

struct switch_clk_9116 {} __packed;

struct device_clk_info {} __packed;

struct device_clk_info_9116 {} __packed;

struct bootup_params {} __packed;

struct bootup_params_9116 {} __packed;

#endif