Compat-wireless drivers for 3.14 kernel version withh wl12xx driver support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Compat-wireless drivers for 3.14 kernel version withh wl12xx driver support

跳至解决方案
1,782 次查看
bandarulavanya
Contributor V

Hi All,

How can get compat drivers for wl12xx for kernel 3.14 version.

If any one used this kindly help me.

Thanks & Regards,

Lavanya

标签 (2)
0 项奖励
1 解答
993 次查看
bandarulavanya
Contributor V

Hi All ,

My wifi with wl12xx chip set is working fine with 3.14.28 kernel with dts file support compat-drivers are R8.6 version.

dts file settings

wlan_en_reg: fixedregulator {

compatible = "regulator-fixed";

regulator-min-microvolt = <1800000>;

regulator-max-microvolt = <1800000>;

regulator-name = "wlan_enable_regulator";

gpio = <&gpio1 15 GPIO_ACTIVE_HIGH>; //active high

output-high;

enable-active-high;

};

pinctrl_usdhc1: usdhc1grp {

fsl,pins = <

MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059

MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059

MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059

MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059

MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059

MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059

MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x13059

MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x40013059

>;

};

&usdhc1 {

pinctrl-names = "default";

vmmc-supply = <&wlan_en_reg>;

bus-width = <4>;

pinctrl-0 = <&pinctrl_usdhc1>;

non-removable; /* non-removable is not a variable, the fact it is */

/* listed is all that is used by driver */

needs-special-hs-handling;

cap-power-off-card;

enable-sdio-wakeup;

status = "okay";

#address-cells = <1>;

#size-cells = <0>;

wlcore: wlcore@2 {

compatible = "ti,wl1271";

reg = <2>;

interrupt-parent = <&gpio1>;

interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */

ref-clock-frequency = <38400000>;

};

};

Thanks & Regards,
Lavanya

在原帖中查看解决方案

0 项奖励
3 回复数
994 次查看
bandarulavanya
Contributor V

Hi All ,

My wifi with wl12xx chip set is working fine with 3.14.28 kernel with dts file support compat-drivers are R8.6 version.

dts file settings

wlan_en_reg: fixedregulator {

compatible = "regulator-fixed";

regulator-min-microvolt = <1800000>;

regulator-max-microvolt = <1800000>;

regulator-name = "wlan_enable_regulator";

gpio = <&gpio1 15 GPIO_ACTIVE_HIGH>; //active high

output-high;

enable-active-high;

};

pinctrl_usdhc1: usdhc1grp {

fsl,pins = <

MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059

MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059

MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059

MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059

MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059

MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059

MX6QDL_PAD_SD2_DAT1__GPIO1_IO14 0x13059

MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x40013059

>;

};

&usdhc1 {

pinctrl-names = "default";

vmmc-supply = <&wlan_en_reg>;

bus-width = <4>;

pinctrl-0 = <&pinctrl_usdhc1>;

non-removable; /* non-removable is not a variable, the fact it is */

/* listed is all that is used by driver */

needs-special-hs-handling;

cap-power-off-card;

enable-sdio-wakeup;

status = "okay";

#address-cells = <1>;

#size-cells = <0>;

wlcore: wlcore@2 {

compatible = "ti,wl1271";

reg = <2>;

interrupt-parent = <&gpio1>;

interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */

ref-clock-frequency = <38400000>;

};

};

Thanks & Regards,
Lavanya

0 项奖励
993 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Lavanya

please look at

Problem while trying to bring-up wl12xx in dts with 3.14 kernel - WiLink™ WiFi + Bluetooth Forum - W...

en/users/Drivers/wl12xx - Linux Wireless

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
993 次查看
bandarulavanya
Contributor V

Hi All,

I am using R8.6 wifi compat drivers,

I can able to load the drivers

compat.ko,

cfg80211.ko

mac80211ko

wlcore.ko

wlcore_sdio.ko

wl12xx.ko

wl18xx.ko

But i am not getting wlan0 node in ifconfig -a

ifconfig wlan0 up is giving error no such file

0 项奖励