video: mmp: Remove references to CPU_PXA988

References to the Kconfig symbol CPU_PXA988 were added to the tree in
v3.9. But that Kconfig symbol has never been part of the tree. So get
rid of these references.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Richard Weinberger 2014-04-15 13:24:38 +02:00 коммит произвёл Tomi Valkeinen
Родитель 6e860a1aed
Коммит c150a2803d
3 изменённых файлов: 4 добавлений и 36 удалений

Просмотреть файл

@ -1,6 +1,6 @@
menuconfig MMP_DISP menuconfig MMP_DISP
tristate "Marvell MMP Display Subsystem support" tristate "Marvell MMP Display Subsystem support"
depends on CPU_PXA910 || CPU_MMP2 || CPU_PXA988 depends on CPU_PXA910 || CPU_MMP2
help help
Marvell Display Subsystem support. Marvell Display Subsystem support.

Просмотреть файл

@ -2,12 +2,12 @@ if MMP_DISP
config MMP_DISP_CONTROLLER config MMP_DISP_CONTROLLER
bool "mmp display controller hw support" bool "mmp display controller hw support"
depends on CPU_PXA910 || CPU_MMP2 || CPU_PXA988 depends on CPU_PXA910 || CPU_MMP2
default n default n
help help
Marvell MMP display hw controller support Marvell MMP display hw controller support
this controller is used on Marvell PXA910, this controller is used on Marvell PXA910 and
MMP2, PXA988 chips MMP2 chips
config MMP_DISP_SPI config MMP_DISP_SPI
bool "mmp display controller spi port" bool "mmp display controller spi port"

Просмотреть файл

@ -167,11 +167,7 @@ struct lcd_regs {
PN2_IOPAD_CONTROL) : LCD_TOP_CTRL) PN2_IOPAD_CONTROL) : LCD_TOP_CTRL)
/* dither configure */ /* dither configure */
#ifdef CONFIG_CPU_PXA988
#define LCD_DITHER_CTRL (0x01EC)
#else
#define LCD_DITHER_CTRL (0x00A0) #define LCD_DITHER_CTRL (0x00A0)
#endif
#define DITHER_TBL_INDEX_SEL(s) ((s) << 16) #define DITHER_TBL_INDEX_SEL(s) ((s) << 16)
#define DITHER_MODE2(m) ((m) << 12) #define DITHER_MODE2(m) ((m) << 12)
@ -186,15 +182,6 @@ struct lcd_regs {
#define DITHER_EN1 (1) #define DITHER_EN1 (1)
/* dither table data was fixed by video bpp of input and output*/ /* dither table data was fixed by video bpp of input and output*/
#ifdef CONFIG_CPU_PXA988
#define DITHER_TB_4X4_INDEX0 (0x6e4ca280)
#define DITHER_TB_4X4_INDEX1 (0x5d7f91b3)
#define DITHER_TB_4X8_INDEX0 (0xb391a280)
#define DITHER_TB_4X8_INDEX1 (0x7f5d6e4c)
#define DITHER_TB_4X8_INDEX2 (0x80a291b3)
#define DITHER_TB_4X8_INDEX3 (0x4c6e5d7f)
#define LCD_DITHER_TBL_DATA (0x01F0)
#else
#define DITHER_TB_4X4_INDEX0 (0x3b19f7d5) #define DITHER_TB_4X4_INDEX0 (0x3b19f7d5)
#define DITHER_TB_4X4_INDEX1 (0x082ac4e6) #define DITHER_TB_4X4_INDEX1 (0x082ac4e6)
#define DITHER_TB_4X8_INDEX0 (0xf7d508e6) #define DITHER_TB_4X8_INDEX0 (0xf7d508e6)
@ -202,7 +189,6 @@ struct lcd_regs {
#define DITHER_TB_4X8_INDEX2 (0xc4e6d5f7) #define DITHER_TB_4X8_INDEX2 (0xc4e6d5f7)
#define DITHER_TB_4X8_INDEX3 (0x082a193b) #define DITHER_TB_4X8_INDEX3 (0x082a193b)
#define LCD_DITHER_TBL_DATA (0x00A4) #define LCD_DITHER_TBL_DATA (0x00A4)
#endif
/* Video Frame 0&1 start address registers */ /* Video Frame 0&1 start address registers */
#define LCD_SPU_DMA_START_ADDR_Y0 0x00C0 #define LCD_SPU_DMA_START_ADDR_Y0 0x00C0
@ -933,16 +919,9 @@ struct lcd_regs {
#define LCD_PN2_SQULN2_CTRL (0x02F0) #define LCD_PN2_SQULN2_CTRL (0x02F0)
#define ALL_LAYER_ALPHA_SEL (0x02F4) #define ALL_LAYER_ALPHA_SEL (0x02F4)
/* pxa988 has different MASTER_CTRL from MMP3/MMP2 */
#ifdef CONFIG_CPU_PXA988
#define TIMING_MASTER_CONTROL (0x01F4)
#define MASTER_ENH(id) (1 << ((id) + 5))
#define MASTER_ENV(id) (1 << ((id) + 6))
#else
#define TIMING_MASTER_CONTROL (0x02F8) #define TIMING_MASTER_CONTROL (0x02F8)
#define MASTER_ENH(id) (1 << (id)) #define MASTER_ENH(id) (1 << (id))
#define MASTER_ENV(id) (1 << ((id) + 4)) #define MASTER_ENV(id) (1 << ((id) + 4))
#endif
#define DSI_START_SEL_SHIFT(id) (((id) << 1) + 8) #define DSI_START_SEL_SHIFT(id) (((id) << 1) + 8)
#define timing_master_config(path, dsi_id, lcd_id) \ #define timing_master_config(path, dsi_id, lcd_id) \
@ -1312,19 +1291,8 @@ struct dsi_regs {
#define DSI_PHY_TIME_3_CFG_CSR_TIME_REQRDY_MASK (0xff) #define DSI_PHY_TIME_3_CFG_CSR_TIME_REQRDY_MASK (0xff)
#define DSI_PHY_TIME_3_CFG_CSR_TIME_REQRDY_SHIFT 0 #define DSI_PHY_TIME_3_CFG_CSR_TIME_REQRDY_SHIFT 0
/*
* DSI timings
* PXA988 has diffrent ESC CLK with MMP2/MMP3
* it will be used in dsi_set_dphy() in pxa688_phy.c
* as low power mode clock.
*/
#ifdef CONFIG_CPU_PXA988
#define DSI_ESC_CLK 52 /* Unit: Mhz */
#define DSI_ESC_CLK_T 19 /* Unit: ns */
#else
#define DSI_ESC_CLK 66 /* Unit: Mhz */ #define DSI_ESC_CLK 66 /* Unit: Mhz */
#define DSI_ESC_CLK_T 15 /* Unit: ns */ #define DSI_ESC_CLK_T 15 /* Unit: ns */
#endif
/* LVDS */ /* LVDS */
/* LVDS_PHY_CTRL */ /* LVDS_PHY_CTRL */