summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx/reg.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-05-10 12:13:44 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-05 15:56:20 +0300
commit549562946fab225439bd6878982031ad6ce2aab9 (patch)
treeccc5f2de4a5f4d05ac707e15083fbe628a69afe2 /drivers/net/wireless/ti/wl18xx/reg.h
parenta5d751bb9298360f5547d30734aed4a54a8af3e4 (diff)
wl18xx: implement hw op to read PG version
Read the HW PG version of the 18xx chip from FUSE. Based on an earlier patch by Luciano Coelho <coelho@ti.com>. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/reg.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/reg.h b/drivers/net/wireless/ti/wl18xx/reg.h
index 1ea3393cff2c..43c480fb837f 100644
--- a/drivers/net/wireless/ti/wl18xx/reg.h
+++ b/drivers/net/wireless/ti/wl18xx/reg.h
@@ -128,6 +128,9 @@
#define PLLSH_WCS_PLL_SWALLOW_EN_VAL1 0x1
#define PLLSH_WCS_PLL_SWALLOW_EN_VAL2 0x12
+#define WL18XX_REG_FUSE_DATA_1_3 0xA0260C
+#define WL18XX_PG_VER_MASK 0x70
+#define WL18XX_PG_VER_OFFSET 4
#define WL18XX_CMD_MBOX_ADDRESS 0xB007B4