dts文件问题
<div class="blockcode"><blockquote> wireless-wlan {compatible = "wlan-platdata";
/* wifi_chip_type - wifi chip define
* bcmwifi ==> like ap6xxx, rk90x;
* rtkwifi ==> like rtl8188xx, rtl8723xx,rtl8812auv;
* esp8089 ==> esp8089;
* other ==> for other wifi;
*/
wifi_chip_type = "bcmwifi";
sdio_vref = <1800>; //1800mv or 3300mv
//keep_wifi_power_on;
//power_ctrl_by_pmu;
power_pmu_regulator = "act_ldo3";
power_pmu_enable_level = <1>; //1->HIGH, 0->LOW
//vref_ctrl_enable;
//vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
vref_pmu_regulator = "act_ldo3";
vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW
WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
//WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
status = "okay";
};
ldo3_reg: regulator@6 { regulator-name= "act_ldo3"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; };power_pmu_regulator = "act_ldo3";vref_pmu_regulator = "act_ldo3";
为什么这两个regulator要选择act_ldo3? wifi不是需要1.8V吗?
这两个配置应该是无效的吧,刚刚查看了rfkill-wlan.c是怎么处理的:o 本帖最后由 zhansb 于 2015-11-10 10:17 编辑
这两个没打开,没用到pmu控制电源,使用的是gpio来控制电源
//power_ctrl_by_pmu;
//vref_ctrl_enable;
也可以参考文档:RKDocs/Develop reference documents/RK3288项目WiFi&BT 设计文档_V1.0.pdf
页:
[1]