xref: /openbmc/linux/drivers/net/wireless/ti/wl18xx/conf.h (revision 23ee9bf8c3cb57768bba31a8cc62b87d39ca4e56)
146a1d512SLuciano Coelho /*
246a1d512SLuciano Coelho  * This file is part of wl18xx
346a1d512SLuciano Coelho  *
446a1d512SLuciano Coelho  * Copyright (C) 2011 Texas Instruments Inc.
546a1d512SLuciano Coelho  *
646a1d512SLuciano Coelho  * This program is free software; you can redistribute it and/or
746a1d512SLuciano Coelho  * modify it under the terms of the GNU General Public License
846a1d512SLuciano Coelho  * version 2 as published by the Free Software Foundation.
946a1d512SLuciano Coelho  *
1046a1d512SLuciano Coelho  * This program is distributed in the hope that it will be useful, but
1146a1d512SLuciano Coelho  * WITHOUT ANY WARRANTY; without even the implied warranty of
1246a1d512SLuciano Coelho  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1346a1d512SLuciano Coelho  * General Public License for more details.
1446a1d512SLuciano Coelho  *
1546a1d512SLuciano Coelho  * You should have received a copy of the GNU General Public License
1646a1d512SLuciano Coelho  * along with this program; if not, write to the Free Software
1746a1d512SLuciano Coelho  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
1846a1d512SLuciano Coelho  * 02110-1301 USA
1946a1d512SLuciano Coelho  *
2046a1d512SLuciano Coelho  */
2146a1d512SLuciano Coelho 
2246a1d512SLuciano Coelho #ifndef __WL18XX_CONF_H__
2346a1d512SLuciano Coelho #define __WL18XX_CONF_H__
2446a1d512SLuciano Coelho 
2546a1d512SLuciano Coelho struct wl18xx_conf_phy {
2646a1d512SLuciano Coelho 	u8 phy_standalone;
2746a1d512SLuciano Coelho 	u8 rdl;
2846a1d512SLuciano Coelho 	u8 enable_clpc;
2946a1d512SLuciano Coelho 	u8 enable_tx_low_pwr_on_siso_rdl;
3046a1d512SLuciano Coelho 	u8 auto_detect;
3146a1d512SLuciano Coelho 	u8 dedicated_fem;
3246a1d512SLuciano Coelho 	u8 low_band_component;
3346a1d512SLuciano Coelho 	u8 low_band_component_type;
3446a1d512SLuciano Coelho 	u8 high_band_component;
3546a1d512SLuciano Coelho 	u8 high_band_component_type;
3646a1d512SLuciano Coelho 	u8 number_of_assembled_ant2_4;
3746a1d512SLuciano Coelho 	u8 number_of_assembled_ant5;
3846a1d512SLuciano Coelho 	u8 external_pa_dc2dc;
3946a1d512SLuciano Coelho 	u8 tcxo_ldo_voltage;
4046a1d512SLuciano Coelho 	u8 xtal_itrim_val;
4146a1d512SLuciano Coelho 	u8 srf_state;
4246a1d512SLuciano Coelho 	u8 io_configuration;
4346a1d512SLuciano Coelho 	u8 sdio_configuration;
4446a1d512SLuciano Coelho 	u8 settings;
4546a1d512SLuciano Coelho 	u8 rx_profile;
4646a1d512SLuciano Coelho 	u8 primary_clock_setting_time;
4746a1d512SLuciano Coelho 	u8 clock_valid_on_wake_up;
4846a1d512SLuciano Coelho 	u8 secondary_clock_setting_time;
4946a1d512SLuciano Coelho };
5046a1d512SLuciano Coelho 
51*23ee9bf8SLuciano Coelho struct wl18xx_priv_conf {
5246a1d512SLuciano Coelho 	struct wl18xx_conf_phy phy;
5346a1d512SLuciano Coelho };
5446a1d512SLuciano Coelho 
5546a1d512SLuciano Coelho #endif /* __WL18XX_CONF_H__ */
56