Browse Source

ath9k_hw: Improve idle power consumption for AR9485.

Set some GPIO pins to Pull-down mode to save power.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Vivek Natarajan 14 years ago
parent
commit
7ea1362c5d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/net/wireless/ath/ath9k/ar9485_initvals.h

+ 2 - 0
drivers/net/wireless/ath/ath9k/ar9485_initvals.h

@@ -667,6 +667,7 @@ static const u32 ar9485_1_0_pcie_phy_clkreq_enable_L1[][2] = {
 
 
 static const u32 ar9485_1_0_soc_preamble[][2] = {
 static const u32 ar9485_1_0_soc_preamble[][2] = {
 	/*   Addr     allmodes */
 	/*   Addr     allmodes */
+	{0x00004090, 0x00aa10aa},
 	{0x000040a4, 0x00a0c9c9},
 	{0x000040a4, 0x00a0c9c9},
 	{0x00007048, 0x00000004},
 	{0x00007048, 0x00000004},
 };
 };
@@ -1708,6 +1709,7 @@ static const u32 ar9485_1_1_pcie_phy_clkreq_disable_L1[][2] = {
 static const u32 ar9485_1_1_soc_preamble[][2] = {
 static const u32 ar9485_1_1_soc_preamble[][2] = {
 	/* Addr        allmodes */
 	/* Addr        allmodes */
 	{0x00004014, 0xba280400},
 	{0x00004014, 0xba280400},
+	{0x00004090, 0x00aa10aa},
 	{0x000040a4, 0x00a0c9c9},
 	{0x000040a4, 0x00a0c9c9},
 	{0x00007010, 0x00000022},
 	{0x00007010, 0x00000022},
 	{0x00007020, 0x00000000},
 	{0x00007020, 0x00000000},