Pārlūkot izejas kodu

asoc: codec: wcd939x: update the register with correct addresses

update the register with correct addresses.

Change-Id: Ia0ff16aecd4afe0421ef4d0a8cf00bd1c704dd52
Signed-off-by: Prasad Kumpatla <[email protected]>
Prasad Kumpatla 2 gadi atpakaļ
vecāks
revīzija
0d0a99faa0
1 mainītis faili ar 39 papildinājumiem un 39 dzēšanām
  1. 39 39
      asoc/codecs/wcd939x/wcd939x-registers.h

+ 39 - 39
asoc/codecs/wcd939x/wcd939x-registers.h

@@ -540,45 +540,45 @@ enum {
 #define WCD939X_DSM_1_STATIC_DATA_2            (WCD939X_DIGITAL_BASE+0xe1)
 #define WCD939X_DSM_1_STATIC_DATA_3            (WCD939X_DIGITAL_BASE+0xe2)
 
-#define WCD939X_RX_PAGE                        (WCD939X_RX_BASE+0x00)
-#define WCD939X_TOP_CFG0                       (WCD939X_RX_BASE+0x01)
-#define WCD939X_HPHL_COMP_WR_LSB               (WCD939X_RX_BASE+0x02)
-#define WCD939X_HPHL_COMP_WR_MSB               (WCD939X_RX_BASE+0x03)
-#define WCD939X_HPHL_COMP_LUT                  (WCD939X_RX_BASE+0x04)
-#define WCD939X_HPHL_COMP_RD_LSB               (WCD939X_RX_BASE+0x05)
-#define WCD939X_HPHL_COMP_RD_MSB               (WCD939X_RX_BASE+0x06)
-#define WCD939X_HPHR_COMP_WR_LSB               (WCD939X_RX_BASE+0x07)
-#define WCD939X_HPHR_COMP_WR_MSB               (WCD939X_RX_BASE+0x08)
-#define WCD939X_HPHR_COMP_LUT                  (WCD939X_RX_BASE+0x09)
-#define WCD939X_HPHR_COMP_RD_LSB               (WCD939X_RX_BASE+0x0a)
-#define WCD939X_HPHR_COMP_RD_MSB               (WCD939X_RX_BASE+0x0b)
-#define WCD939X_DSD0_DEBUG_CFG1                (WCD939X_RX_BASE+0x0c)
-#define WCD939X_DSD0_DEBUG_CFG2                (WCD939X_RX_BASE+0x0d)
-#define WCD939X_DSD0_DEBUG_CFG3                (WCD939X_RX_BASE+0x0e)
-#define WCD939X_DSD0_DEBUG_CFG4                (WCD939X_RX_BASE+0x0f)
-#define WCD939X_DSD0_DEBUG_CFG5                (WCD939X_RX_BASE+0x10)
-#define WCD939X_DSD0_DEBUG_CFG6                (WCD939X_RX_BASE+0x11)
-#define WCD939X_DSD1_DEBUG_CFG1                (WCD939X_RX_BASE+0x12)
-#define WCD939X_DSD1_DEBUG_CFG2                (WCD939X_RX_BASE+0x13)
-#define WCD939X_DSD1_DEBUG_CFG3                (WCD939X_RX_BASE+0x14)
-#define WCD939X_DSD1_DEBUG_CFG4                (WCD939X_RX_BASE+0x15)
-#define WCD939X_DSD1_DEBUG_CFG5                (WCD939X_RX_BASE+0x16)
-#define WCD939X_DSD1_DEBUG_CFG6                (WCD939X_RX_BASE+0x17)
-#define WCD939X_HPHL_RX_PATH_CFG0              (WCD939X_RX_BASE+0x1c)
-#define WCD939X_HPHL_RX_PATH_CFG1              (WCD939X_RX_BASE+0x1d)
-#define WCD939X_HPHR_RX_PATH_CFG0              (WCD939X_RX_BASE+0x1e)
-#define WCD939X_HPHR_RX_PATH_CFG1              (WCD939X_RX_BASE+0x1f)
-#define WCD939X_RX_PATH_CFG2                   (WCD939X_RX_BASE+0x20)
-#define WCD939X_HPHL_RX_PATH_SEC0              (WCD939X_RX_BASE+0x21)
-#define WCD939X_HPHL_RX_PATH_SEC1              (WCD939X_RX_BASE+0x22)
-#define WCD939X_HPHL_RX_PATH_SEC2              (WCD939X_RX_BASE+0x23)
-#define WCD939X_HPHL_RX_PATH_SEC3              (WCD939X_RX_BASE+0x24)
-#define WCD939X_HPHR_RX_PATH_SEC0              (WCD939X_RX_BASE+0x25)
-#define WCD939X_HPHR_RX_PATH_SEC1              (WCD939X_RX_BASE+0x26)
-#define WCD939X_HPHR_RX_PATH_SEC2              (WCD939X_RX_BASE+0x27)
-#define WCD939X_HPHR_RX_PATH_SEC3              (WCD939X_RX_BASE+0x28)
-#define WCD939X_RX_PATH_SEC4                   (WCD939X_RX_BASE+0x29)
-#define WCD939X_RX_PATH_SEC5                   (WCD939X_RX_BASE+0x2a)
+#define WCD939X_RX_TOP_PAGE                    (WCD939X_BASE+0x501)
+#define WCD939X_TOP_CFG0                       (WCD939X_RX_TOP_PAGE+0x01)
+#define WCD939X_HPHL_COMP_WR_LSB               (WCD939X_RX_TOP_PAGE+0x02)
+#define WCD939X_HPHL_COMP_WR_MSB               (WCD939X_RX_TOP_PAGE+0x03)
+#define WCD939X_HPHL_COMP_LUT                  (WCD939X_RX_TOP_PAGE+0x04)
+#define WCD939X_HPHL_COMP_RD_LSB               (WCD939X_RX_TOP_PAGE+0x05)
+#define WCD939X_HPHL_COMP_RD_MSB               (WCD939X_RX_TOP_PAGE+0x06)
+#define WCD939X_HPHR_COMP_WR_LSB               (WCD939X_RX_TOP_PAGE+0x07)
+#define WCD939X_HPHR_COMP_WR_MSB               (WCD939X_RX_TOP_PAGE+0x08)
+#define WCD939X_HPHR_COMP_LUT                  (WCD939X_RX_TOP_PAGE+0x09)
+#define WCD939X_HPHR_COMP_RD_LSB               (WCD939X_RX_TOP_PAGE+0x0a)
+#define WCD939X_HPHR_COMP_RD_MSB               (WCD939X_RX_TOP_PAGE+0x0b)
+#define WCD939X_DSD0_DEBUG_CFG1                (WCD939X_RX_TOP_PAGE+0x0c)
+#define WCD939X_DSD0_DEBUG_CFG2                (WCD939X_RX_TOP_PAGE+0x0d)
+#define WCD939X_DSD0_DEBUG_CFG3                (WCD939X_RX_TOP_PAGE+0x0e)
+#define WCD939X_DSD0_DEBUG_CFG4                (WCD939X_RX_TOP_PAGE+0x0f)
+#define WCD939X_DSD0_DEBUG_CFG5                (WCD939X_RX_TOP_PAGE+0x10)
+#define WCD939X_DSD0_DEBUG_CFG6                (WCD939X_RX_TOP_PAGE+0x11)
+#define WCD939X_DSD1_DEBUG_CFG1                (WCD939X_RX_TOP_PAGE+0x12)
+#define WCD939X_DSD1_DEBUG_CFG2                (WCD939X_RX_TOP_PAGE+0x13)
+#define WCD939X_DSD1_DEBUG_CFG3                (WCD939X_RX_TOP_PAGE+0x14)
+#define WCD939X_DSD1_DEBUG_CFG4                (WCD939X_RX_TOP_PAGE+0x15)
+#define WCD939X_DSD1_DEBUG_CFG5                (WCD939X_RX_TOP_PAGE+0x16)
+#define WCD939X_DSD1_DEBUG_CFG6                (WCD939X_RX_TOP_PAGE+0x17)
+#define WCD939X_HPHL_RX_PATH_CFG0              (WCD939X_RX_TOP_PAGE+0x1c)
+#define WCD939X_HPHL_RX_PATH_CFG1              (WCD939X_RX_TOP_PAGE+0x1d)
+#define WCD939X_HPHR_RX_PATH_CFG0              (WCD939X_RX_TOP_PAGE+0x1e)
+#define WCD939X_HPHR_RX_PATH_CFG1              (WCD939X_RX_TOP_PAGE+0x1f)
+#define WCD939X_RX_PATH_CFG2                   (WCD939X_RX_TOP_PAGE+0x20)
+#define WCD939X_HPHL_RX_PATH_SEC0              (WCD939X_RX_TOP_PAGE+0x21)
+#define WCD939X_HPHL_RX_PATH_SEC1              (WCD939X_RX_TOP_PAGE+0x22)
+#define WCD939X_HPHL_RX_PATH_SEC2              (WCD939X_RX_TOP_PAGE+0x23)
+#define WCD939X_HPHL_RX_PATH_SEC3              (WCD939X_RX_TOP_PAGE+0x24)
+#define WCD939X_HPHR_RX_PATH_SEC0              (WCD939X_RX_TOP_PAGE+0x25)
+#define WCD939X_HPHR_RX_PATH_SEC1              (WCD939X_RX_TOP_PAGE+0x26)
+#define WCD939X_HPHR_RX_PATH_SEC2              (WCD939X_RX_TOP_PAGE+0x27)
+#define WCD939X_HPHR_RX_PATH_SEC3              (WCD939X_RX_TOP_PAGE+0x28)
+#define WCD939X_RX_PATH_SEC4                   (WCD939X_RX_TOP_PAGE+0x29)
+#define WCD939X_RX_PATH_SEC5                   (WCD939X_RX_TOP_PAGE+0x2a)
 
 #define WCD939X_COMPANDER_HPHL_BASE            (WCD939X_BASE+0x541)
 #define WCD939X_CTL0                           (WCD939X_COMPANDER_HPHL_BASE+0x00)