Commit 7ebdc78a authored by Jett.Zhou's avatar Jett.Zhou Committed by Tomi Valkeinen

ARM: mmp: remove the legacy rbswap setting for ttc_dkb platform

According to new rbswap scheme of mmp_display, it support appropriate
rbswap setting based on specific pix_fmt, then we can remove the legacy
rbswap setting for ttc_dkb platform.
Signed-off-by: default avatarJett.Zhou <jtzhou@marvell.com>
Signed-off-by: default avatarZhou Zhu <zzhu3@marvell.com>
Reviewed-by: default avatarDaniel Drake <dsd@laptop.org>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9a27d591
...@@ -191,7 +191,6 @@ static struct pxa3xx_nand_platform_data dkb_nand_info = { ...@@ -191,7 +191,6 @@ static struct pxa3xx_nand_platform_data dkb_nand_info = {
#define SCLK_SOURCE_SELECT(x) (x << 30) /* 0x0 ~ 0x3 */ #define SCLK_SOURCE_SELECT(x) (x << 30) /* 0x0 ~ 0x3 */
/* link config */ /* link config */
#define CFG_DUMBMODE(mode) (mode << 28) /* 0x0 ~ 0x6*/ #define CFG_DUMBMODE(mode) (mode << 28) /* 0x0 ~ 0x6*/
#define CFG_GRA_SWAPRB(x) (x << 0) /* 1: rbswap enabled */
static struct mmp_mach_path_config dkb_disp_config[] = { static struct mmp_mach_path_config dkb_disp_config[] = {
[0] = { [0] = {
.name = "mmp-parallel", .name = "mmp-parallel",
...@@ -199,8 +198,7 @@ static struct mmp_mach_path_config dkb_disp_config[] = { ...@@ -199,8 +198,7 @@ static struct mmp_mach_path_config dkb_disp_config[] = {
.output_type = PATH_OUT_PARALLEL, .output_type = PATH_OUT_PARALLEL,
.path_config = CFG_IOPADMODE(0x1) .path_config = CFG_IOPADMODE(0x1)
| SCLK_SOURCE_SELECT(0x1), | SCLK_SOURCE_SELECT(0x1),
.link_config = CFG_DUMBMODE(0x2) .link_config = CFG_DUMBMODE(0x2),
| CFG_GRA_SWAPRB(0x1),
}, },
}; };
......
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