Commit 03b6fb77 authored by Liu Ying's avatar Liu Ying

LF-95-5 drm/imx: imx-ldb: Correct control register offset for i.MX8QM/QXP LDB

The i.MX8QM/QXP LDB control register lives in CSR region, so the offset
of it should be calculated according to CSR region start address.
Without this patch, the offset is calculated according to i.MX8QM/QXP
LVDS subsystem start address.  This patch corrects the offset.
Reviewed-by: default avatarSandor Yu <Sandor.yu@nxp.com>
Signed-off-by: default avatarLiu Ying <victor.liu@nxp.com>
parent ae40f5e1
......@@ -926,7 +926,7 @@ static struct devtype imx6q_ldb_devtype = {
};
static struct devtype imx8qm_ldb_devtype = {
.ctrl_reg = 0x10e0,
.ctrl_reg = 0xe0,
.bus_mux = NULL,
.capable_10bit = true,
.visible_phy = true,
......@@ -940,7 +940,7 @@ static struct devtype imx8qm_ldb_devtype = {
};
static struct devtype imx8qxp_ldb_devtype = {
.ctrl_reg = 0x10e0,
.ctrl_reg = 0xe0,
.bus_mux = NULL,
.visible_phy = true,
.has_ch_sel = true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment