From: Yi Zhou Date: Mon, 11 Jun 2018 02:52:44 +0000 (+0800) Subject: hdmitx: fix ISA_DEBUG_REG0 address error X-Git-Tag: khadas-vims-v0.9.6-release~1924 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40ec0b447303495ee95750839331f6a0831abd38;p=platform%2Fkernel%2Flinux-amlogic.git hdmitx: fix ISA_DEBUG_REG0 address error PD#162651: hdmitx: fix ISA_DEBUG_REG0 address error Change-Id: If46fb55084c77a8f05b838d7676af548b5252add Signed-off-by: Yi Zhou --- diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/reg_ops.c b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/reg_ops.c index 99e64875da3c..8f2b4f1fc221 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/reg_ops.c +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/reg_ops.c @@ -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*/ diff --git a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h index fb40e47a13c9..c1107c34e8f3 100644 --- a/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h +++ b/drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h @@ -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