-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wl18xx: add some boot operations and hw-specific configurations
Implement the boot operation. Add a wl18xx-specific configuration structure (namely to configure the mac and phy parameters). The default hw configuration matches the DVP board. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
- Loading branch information
Luciano Coelho
committed
Jun 5, 2012
1 parent
0cd6543
commit 46a1d51
Showing
3 changed files
with
311 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* This file is part of wl18xx | ||
* | ||
* Copyright (C) 2011 Texas Instruments Inc. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA | ||
* | ||
*/ | ||
|
||
#ifndef __WL18XX_CONF_H__ | ||
#define __WL18XX_CONF_H__ | ||
|
||
struct wl18xx_conf_phy { | ||
u8 phy_standalone; | ||
u8 rdl; | ||
u8 enable_clpc; | ||
u8 enable_tx_low_pwr_on_siso_rdl; | ||
u8 auto_detect; | ||
u8 dedicated_fem; | ||
u8 low_band_component; | ||
u8 low_band_component_type; | ||
u8 high_band_component; | ||
u8 high_band_component_type; | ||
u8 number_of_assembled_ant2_4; | ||
u8 number_of_assembled_ant5; | ||
u8 external_pa_dc2dc; | ||
u8 tcxo_ldo_voltage; | ||
u8 xtal_itrim_val; | ||
u8 srf_state; | ||
u8 io_configuration; | ||
u8 sdio_configuration; | ||
u8 settings; | ||
u8 rx_profile; | ||
u8 primary_clock_setting_time; | ||
u8 clock_valid_on_wake_up; | ||
u8 secondary_clock_setting_time; | ||
}; | ||
|
||
struct wl18xx_conf { | ||
/* TODO: move the wlcore conf here? */ | ||
|
||
struct wl18xx_conf_phy phy; | ||
}; | ||
|
||
#endif /* __WL18XX_CONF_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters