Part Number: AM3358
Tool/software: Linux
HI
We use the RTL8723BS to enable the wifi feature.but the wifi do not work.the dts is followed.
&mmc2 {
/* these are on the crossbar and are outlined in the
xbar-event-map element */
/* dmas = <&edma 12
&edma 13>;
dma-names = "tx", "rx";*/
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins_default >;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
rtl8723bs_wifi: rtl8723bs_wifi@0 {
compatible = "ti,8723bs";
reg = <2>;
};
wlan_en_reg: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
pinctrl-names = "default";
pinctrl-0 = <&wlan_pins_default>;
/* WLAN_EN GPIO for this board - Bank1, pin16 */
/*gpio = <&gpio1 16 0>;*/
gpio = <&gpio3 14 0>;
/* WLAN card specific delay */
startup-delay-us = <70000>;
/*enable-active-high;*/
};
mmc2_pins_default: mmc2_pins_default {
pinctrl-single,pins = <
0x8c ( PIN_INPUT | MUX_MODE3 ) /* (V12) gpmc_clk.mmc2_clk */
0x88 ( PIN_OUTPUT | MUX_MODE3 ) /* (T13) gpmc_csn3.mmc2_cmd */
0x44 ( PIN_INPUT | MUX_MODE3 ) /* (V14) gpmc_a1.mmc2_dat0 */
0x48 ( PIN_INPUT | MUX_MODE3 ) /* (U14) gpmc_a2.mmc2_dat1 */
0x4c ( PIN_INPUT | MUX_MODE3 ) /* (T14) gpmc_a3.mmc2_dat2 */
0x78 ( PIN_INPUT | MUX_MODE3 ) /* (U18) gpmc_be1n.mmc2_dat3 */
>;
};
/* wl12xx/wl18xx card enable/irq GPIOs. */
wlan_pins_default: pinmux_wlan_pins_default {
pinctrl-single,pins = <
0x190 ( PIN_INPUT | MUX_MODE7 ) /* (A13) mcasp0_aclkx.gpio3[14] */
/* 0x198 ( PIN_INPUT | MUX_MODE7 ) /* (D12) mcasp0_axr0.gpio3[16] */
>;
};
why i use the insmod 8723bs.ko,it init the wifi driver,but not call the wifi probe function.
the mmc function is follow,in dts, i set mmc volt 3.3v,why the log show me 1.8v. is this caused the wifi can not work?
1.903640] [huzz]drivers/mmc/host/omap_hsmmc.c:omap_hsmmc_start_signal_voltage_switch
[ 1.911621] [huzz]drivers/mmc/host/omap_hsmmc.c:omap_hsmmc_start_signal_voltage_switch
[ 1.919597] omap_hsmmc 481d8000.mmc: Initial signal voltage of 1.8v
[ 1.933629] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
[ 1.953647] [huzz]drivers/mmc/core/core.c:mmc_rescan_try_freq
[ 1.959419] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 1.966424] vdd_mpu: supplied by vmmcsd_fixed
[ 1.981504] mmc1: starting CMD52 arg 00000c00 flags 00000195
[ 2.528311] mmc1: req done (CMD52): -16: 00000000 00000000 00000000 00000000
[ 2.528331] mmc1: starting CMD52 arg 80000c08 flags 00000195
[ 3.026806] mmc1: req done (CMD52): -16: 00000000 00000000 00000000 00000000
[ 3.026823] mmc1: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 0 timing 0
[ 3.027841] mmc1: starting CMD0 arg 00000000 flags 000000c0
[ 3.028016] mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[ 3.029048] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
[ 3.030058] mmc1: starting CMD8 arg 000001aa flags 000002f5
[ 3.030419] mmc1: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[ 3.030441] [huzz]drivers/mmc/core/sdio.c:mmc_attach_sdio
[ 3.035883] mmc1: starting CMD5 arg 00000000 flags 000002e1
[ 3.036250] mmc1: req failed (CMD5): -110, retrying...
[ 3.036614] mmc1: req failed (CMD5): -110, retrying...
[ 3.036976] mmc1: req failed (CMD5): -110, retrying...
[ 3.037333] mmc1: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[ 3.037349] [huzz]drivers/mmc/core/sdio.c:mmc_attach_sdio:mmc_send_io_op_cond failed,-110
[ 3.045643] [huzz]drivers/mmc/core/sd.c:mmc_attach_sd
[ 3.050720] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 3.051078] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 3.051102] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 3.051458] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 3.051478] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 3.051834] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 3.051854] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 3.052211] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 3.052229] [huzz]drivers/mmc/core/sd.c:mmc_attach_sd:mmc_send_app_op_cond failed -110
[ 3.060213] [huzz]drivers/mmc/core/mmc.c:mmc_attach_mmc
[ 3.065484] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
[ 3.065498] mmc1: starting CMD1 arg 00000000 flags 000000e1
[ 3.065857] mmc1: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[ 3.065878] [huzz]drivers/mmc/core/mmc.c:mmc_attach_mmc:mmc_send_op_cond failed,-110
[ 3.073687] mmc1: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 0 timing 0