hdmitx: fix ISA_DEBUG_REG0 address error
authorYi Zhou <yi.zhou@amlogic.com>
Mon, 11 Jun 2018 02:52:44 +0000 (10:52 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 14 Jun 2018 07:25:24 +0000 (00:25 -0700)
PD#162651: hdmitx: fix ISA_DEBUG_REG0 address error

Change-Id: If46fb55084c77a8f05b838d7676af548b5252add
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/reg_ops.c
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h

index 99e64875da3cff0ec1902d781ff75b4d8f448e4e..8f2b4f1fc221a46621416bcff71654d83a83b28d 100644 (file)
@@ -79,7 +79,7 @@ static struct reg_map reg_maps_def[] = {
 /* For txlx */
 static struct reg_map reg_maps_txlx[] = {
        [CBUS_REG_IDX] = { /* CBUS */
-               .phy_addr = 0xffd0f000,
+               .phy_addr = 0xffd00000,
                .size = 0xa00000,
        },
        [PERIPHS_REG_IDX] = { /* PERIPHS */
@@ -99,7 +99,7 @@ static struct reg_map reg_maps_txlx[] = {
                .size = 0x2000,
        },
        [RESET_CBUS_REG_IDX] = { /* RESET */
-               .phy_addr = 0xffd01000,
+               .phy_addr = 0xffd00000,
                .size = 0x100,
        },
        [HDMITX_SEC_REG_IDX] = { /* HDMITX SECURE */
@@ -119,7 +119,7 @@ static struct reg_map reg_maps_txlx[] = {
 /* For g12a */
 static struct reg_map reg_maps_g12a[] = {
        [CBUS_REG_IDX] = { /* CBUS */
-               .phy_addr = 0xffd0f000,
+               .phy_addr = 0xffd00000,
                .size = 0xa00000,
        },
        [PERIPHS_REG_IDX] = { /* PERIPHS */
@@ -139,7 +139,7 @@ static struct reg_map reg_maps_g12a[] = {
                .size = 0x2000,
        },
        [RESET_CBUS_REG_IDX] = { /* RESET */
-               .phy_addr = 0xffd01000,
+               .phy_addr = 0xffd00000,
                .size = 0x100,
        },
        [HDMITX_SEC_REG_IDX] = { /* HDMITX DWC LEVEL*/
index fb40e47a13c9a1e690af7eb030f4440cbfe4b483..c1107c34e8f38ba841a81e8b78cdf627ae70a166 100644 (file)
@@ -24,7 +24,7 @@
 #define RESET2_REGISTER 0x1003
 #define P_RESET2_REGISTER RESET_CBUS_REG_ADDR(RESET2_REGISTER)
 
-#define ISA_DEBUG_REG0 0x00
+#define ISA_DEBUG_REG0 0x3c00
 #define P_ISA_DEBUG_REG0 CBUS_REG_ADDR(ISA_DEBUG_REG0)
 
 #endif