]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ath9k: Add SERDES initvals for AR9462 2.1
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 29 Oct 2013 06:05:31 +0000 (11:35 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:24:55 +0000 (14:24 -0500)
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/ar9462_2p1_initvals.h

index 20e49095db2ae2ba0c2d7d83071aa2a14a81252d..84b83e1e71302f63221bf266b1b77881d42fab91 100644 (file)
@@ -223,6 +223,10 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
                               ar9462_2p1_modes_fast_clock);
                INIT_INI_ARRAY(&ah->iniCckfirJapan2484,
                               ar9462_2p1_baseband_core_txfir_coeff_japan_2484);
+               INIT_INI_ARRAY(&ah->iniPcieSerdes,
+                              ar9462_2p1_pciephy_clkreq_disable_L1);
+               INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower,
+                              ar9462_2p1_pciephy_clkreq_disable_L1);
        } else if (AR_SREV_9462_20(ah)) {
 
                INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], ar9462_2p0_mac_core);
index 57fc5f459d0aa6a40719407b8c287ac7f3786d00..0fcce0739a4cf68f539ae6aca36d9bb70e76d16a 100644 (file)
@@ -1771,4 +1771,11 @@ static const u32 ar9462_2p1_baseband_core_txfir_coeff_japan_2484[][2] = {
        {0x0000a3a0, 0xca9228ee},
 };
 
+static const u32 ar9462_2p1_pciephy_clkreq_disable_L1[][2] = {
+       /* Addr      allmodes  */
+       {0x00018c00, 0x18213ede},
+       {0x00018c04, 0x000801d8},
+       {0x00018c08, 0x0003780c},
+};
+
 #endif /* INITVALS_9462_2P1_H */