Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: WL12xx is not getting initialized....

$
0
0

Hi Abhijit,

          below is my platform inilization

 #define AM335XEVM_BB_WLAN_IRQ_GPIO GPIO_TO_PIN(2, 5)

#define AM335xEVM_BB_WLAN_EN_GPIO GPIO_TO_PIN(2, 2)

struct wl12xx_platform_data am335xevm_wlan_data = {
.irq = OMAP_GPIO_IRQ(AM335XEVM_WLAN_IRQ_GPIO),
.board_ref_clock = WL12XX_REFCLOCK_38_XTAL, /* 38.4Mhz */
 .wlan_enable_gpio = GPIO_TO_PIN(2, 2),
};

this is my pinmux according to my hardware

static struct pinmux_config wl12xx_pin_mux_bb[] = {
{"gpmc_ben0_cle.gpio2_5", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT}, // WLAN_IRQ
{"gpmc_advn_ale.gpio2_2", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT_PULLUP}, //WLAN_EN
{NULL, 0},

below is mmc1 intilization for wl12xx...

static void mmc1_wl12xx_init(int evm_id, int profile)
{
setup_pin_mux(mmc1_common_pin_mux);

printk("mmc1_wl12xx_init\n");
am335x_mmc[1].mmc = 2;
am335x_mmc[1].name = "wl1271";
am335x_mmc[1].caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD;
am335x_mmc[1].nonremovable = true;
am335x_mmc[1].pm_caps = MMC_PM_KEEP_POWER;
am335x_mmc[1].gpio_cd = -EINVAL;
am335x_mmc[1].gpio_wp = -EINVAL;
am335x_mmc[1].ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34; /* 3V3 */
}

but still i didn't get any mmc1 initialization logs?

i updated all the changes in arch/arm/mach-omp2/board-am335xevm.c?

is there any place i need to change to initialize the mmc1?

thank you

Pavan


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>