提交 27797d68 编写于 作者: L Luciano Coelho 提交者: John W. Linville

wl12xx: add support for new WL1271 chip revision

This patch adds the code that recognizes the new WL1271 chip revision (PG 2.0).
Full support for this chip is not yet implemented and support for WL1271 PG 1.0
is not guaranteed anymore.
Signed-off-by: NLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: NKalle Valo <kalle.valo@nokia.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0d1c3839
...@@ -196,6 +196,13 @@ static int wl12xx_chip_wakeup(struct wl12xx *wl) ...@@ -196,6 +196,13 @@ static int wl12xx_chip_wakeup(struct wl12xx *wl)
break; break;
case CHIP_ID_1271_PG10: case CHIP_ID_1271_PG10:
wl12xx_warning("chip id 0x%x (1271 PG10) support is obsolete",
wl->chip.id);
break;
case CHIP_ID_1271_PG20:
wl12xx_debug(DEBUG_BOOT, "chip id 0x%x (1271 PG20)",
wl->chip.id);
break;
case CHIP_ID_1251_PG10: case CHIP_ID_1251_PG10:
case CHIP_ID_1251_PG11: case CHIP_ID_1251_PG11:
default: default:
......
...@@ -412,5 +412,6 @@ int wl12xx_plt_stop(struct wl12xx *wl); ...@@ -412,5 +412,6 @@ int wl12xx_plt_stop(struct wl12xx *wl);
#define CHIP_ID_1251_PG11 (0x7020101) #define CHIP_ID_1251_PG11 (0x7020101)
#define CHIP_ID_1251_PG12 (0x7030101) #define CHIP_ID_1251_PG12 (0x7030101)
#define CHIP_ID_1271_PG10 (0x4030101) #define CHIP_ID_1271_PG10 (0x4030101)
#define CHIP_ID_1271_PG20 (0x4030111)
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册