diff for duplicates of <4DA7AE22.5090300@samsung.com> diff --git a/a/1.txt b/N1/1.txt index deed500..a81efcf 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -Kyungmin Park 쓴 글: +Kyungmin Park ? ?: > Mr. Dae, > > If only MIPI header files are used at video, just place it under video @@ -216,7 +216,8 @@ I'll look forward to your answer. thank you. >> + enum mipi_dsim_byte_clk_src e_byte_clk; >> + >> + /* ->> + * =====================>> + * | P | M | S | MHz | +>> + * =========================================== +>> + * | P | M | S | MHz | >> + * ------------------------------------------- >> + * | 3 | 100 | 3 | 100 | >> + * | 3 | 100 | 2 | 200 | @@ -713,8 +714,8 @@ I'll look forward to your answer. thank you. >> + continue; >> + >> + if (lcd_drv->id >= 0) { ->> + if ((strcmp(lcd_drv->name, lcd_dev->name)) = 0 && ->> + lcd_drv->id = lcd_dev->id) { +>> + if ((strcmp(lcd_drv->name, lcd_dev->name)) == 0 && +>> + lcd_drv->id == lcd_dev->id) { >> + /** >> + * bus_id would be used to identify >> + * connected bus. @@ -725,7 +726,7 @@ I'll look forward to your answer. thank you. >> + return dsim_ddi; >> + } >> + } else { ->> + if ((strcmp(lcd_drv->name, lcd_dev->name)) = 0) { +>> + if ((strcmp(lcd_drv->name, lcd_dev->name)) == 0) { >> + /** >> + * bus_id would be used to identify >> + * connected bus. @@ -798,7 +799,7 @@ I'll look forward to your answer. thank you. >> + dev_dbg(dsim->dev, "lcd_dev->bus_id = %d, dsim->id = %d\n", >> + lcd_dev->bus_id, dsim->id); >> + ->> + if ((strcmp(lcd_drv->name, name) = 0)) { +>> + if ((strcmp(lcd_drv->name, name) == 0)) { >> + lcd_dev->master = dsim; >> + >> + lcd_dev->dev.parent = dsim->dev; @@ -857,13 +858,13 @@ I'll look forward to your answer. thank you. >> + >> + /* get s5p_platform_mipi_dsim. */ >> + dsim_pd = (struct s5p_platform_mipi_dsim *)dsim->pd; ->> + if (dsim_pd = NULL) { +>> + if (dsim_pd == NULL) { >> + dev_err(&pdev->dev, "failed to get platform data for dsim.\n"); >> + return -EFAULT; >> + } >> + /* get mipi_dsim_config. */ >> + dsim_config = dsim_pd->dsim_config; ->> + if (dsim_config = NULL) { +>> + if (dsim_config == NULL) { >> + dev_err(&pdev->dev, "failed to get dsim config data.\n"); >> + return -EFAULT; >> + } @@ -907,7 +908,7 @@ I'll look forward to your answer. thank you. >> + * in case of MIPI Video mode, >> + * frame done interrupt handler would be used. >> + */ ->> + if (dsim_config->e_interface = DSIM_VIDEO) { +>> + if (dsim_config->e_interface == DSIM_VIDEO) { >> + dsim->irq = platform_get_irq(pdev, 0); >> + if (request_irq(dsim->irq, s5p_mipi_dsi_interrupt_handler, >> + IRQF_DISABLED, "mipi-dsi", dsim)) { @@ -951,7 +952,7 @@ I'll look forward to your answer. thank you. >> + dsim_ddi->dsim_lcd_drv->probe(dsim_ddi->dsim_lcd_dev); >> + >> + dev_dbg(&pdev->dev, "mipi-dsi driver(%s mode) has been probed.\n", ->> + (dsim_config->e_interface = DSIM_COMMAND) ? +>> + (dsim_config->e_interface == DSIM_COMMAND) ? >> + "CPU" : "RGB"); >> + >> + return 0; @@ -982,7 +983,7 @@ I'll look forward to your answer. thank you. >> + struct mipi_dsim_device *dsim = platform_get_drvdata(pdev); >> + struct mipi_dsim_ddi *dsim_ddi = NULL; >> + ->> + if (dsim->dsim_config->e_interface = DSIM_VIDEO) +>> + if (dsim->dsim_config->e_interface == DSIM_VIDEO) >> + free_irq(dsim->irq, dsim); >> + >> + iounmap(dsim->reg_base); @@ -995,7 +996,7 @@ I'll look forward to your answer. thank you. >> + >> + list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) { >> + if (dsim_ddi) { ->> + if (dsim->id = dsim_ddi->bus_id) { +>> + if (dsim->id == dsim_ddi->bus_id) { >> + kfree(dsim_ddi); >> + dsim_ddi = NULL; >> + } @@ -1182,7 +1183,7 @@ I'll look forward to your answer. thank you. >> + * send remainder data less then 4. >> + */ >> + if ((data1 - data_cnt) < 4) { ->> + if ((data1 - data_cnt) = 3) { +>> + if ((data1 - data_cnt) == 3) { >> + payload = *(u8 *)(data0 + data_cnt) | >> + (*(u8 *)(data0 + (data_cnt + 1))) << 8 | >> + (*(u8 *)(data0 + (data_cnt + 2))) << 16; @@ -1190,14 +1191,14 @@ I'll look forward to your answer. thank you. >> + payload, *(u8 *)(data0 + data_cnt), >> + *(u8 *)(data0 + (data_cnt + 1)), >> + *(u8 *)(data0 + (data_cnt + 2))); ->> + } else if ((data1 - data_cnt) = 2) { +>> + } else if ((data1 - data_cnt) == 2) { >> + payload = *(u8 *)(data0 + data_cnt) | >> + (*(u8 *)(data0 + (data_cnt + 1))) << 8; >> + dev_dbg(dsim->dev, >> + "count = 2 payload = %x, %x %x\n", payload, >> + *(u8 *)(data0 + data_cnt), >> + *(u8 *)(data0 + (data_cnt + 1))); ->> + } else if ((data1 - data_cnt) = 1) { +>> + } else if ((data1 - data_cnt) == 1) { >> + payload = *(u8 *)(data0 + data_cnt); >> + } >> + @@ -1228,7 +1229,7 @@ I'll look forward to your answer. thank you. >> + unsigned long delay_val, udelay; >> + unsigned int check_rx_ack = 0; >> + ->> + if (dsim->state = DSIM_STATE_ULPS) { +>> + if (dsim->state == DSIM_STATE_ULPS) { >> + dev_err(dsim->dev, "state is ULPS.\n"); >> + >> + return -EINVAL; @@ -1240,7 +1241,7 @@ I'll look forward to your answer. thank you. >> + mdelay(udelay); >> + >> + /* only if transfer mode is LPDT, wait SFR becomes empty. */ ->> + if (dsim->state = DSIM_STATE_STOP) { +>> + if (dsim->state == DSIM_STATE_STOP) { >> + while (!(s5p_mipi_dsi_get_fifo_state(dsim) & >> + SFR_HEADER_EMPTY)) { >> + if ((timeout--) > 0) @@ -1371,7 +1372,7 @@ I'll look forward to your answer. thank you. >> + sw_timeout--; >> + if (s5p_mipi_dsi_is_pll_stable(dsim)) >> + return 0; ->> + if (sw_timeout = 0) +>> + if (sw_timeout == 0) >> + return -EINVAL; >> + } >> + } else @@ -1478,11 +1479,11 @@ I'll look forward to your answer. thank you. >> + s5p_mipi_dsi_set_byte_clock_src(dsim, byte_clk_sel); >> + >> + /* DPHY, DSIM Link : D-PHY clock out */ ->> + if (byte_clk_sel = DSIM_PLL_OUT_DIV8) { +>> + if (byte_clk_sel == DSIM_PLL_OUT_DIV8) { >> + hs_clk = s5p_mipi_dsi_change_pll(dsim, >> + dsim->dsim_config->p, dsim->dsim_config->m, >> + dsim->dsim_config->s); ->> + if (hs_clk = 0) { +>> + if (hs_clk == 0) { >> + dev_err(dsim->dev, >> + "failed to get hs clock.\n"); >> + return -EINVAL; @@ -1492,11 +1493,11 @@ I'll look forward to your answer. thank you. >> + s5p_mipi_dsi_enable_pll_bypass(dsim, 0); >> + s5p_mipi_dsi_pll_on(dsim, 1); >> + /* DPHY : D-PHY clock out, DSIM link : external clock out */ ->> + } else if (byte_clk_sel = DSIM_EXT_CLK_DIV8) +>> + } else if (byte_clk_sel == DSIM_EXT_CLK_DIV8) >> + dev_warn(dsim->dev, >> + "this project is not support \ >> + external clock source for MIPI DSIM\n"); ->> + else if (byte_clk_sel = DSIM_EXT_CLK_BYPASS) +>> + else if (byte_clk_sel == DSIM_EXT_CLK_BYPASS) >> + dev_warn(dsim->dev, >> + "this project is not support \ >> + external clock source for MIPI DSIM\n"); @@ -1552,7 +1553,7 @@ I'll look forward to your answer. thank you. >> + /* disable escape clock. */ >> + s5p_mipi_dsi_enable_byte_clock(dsim, DSIM_ESCCLK_OFF); >> + ->> + if (byte_clk_sel = DSIM_PLL_OUT_DIV8) +>> + if (byte_clk_sel == DSIM_PLL_OUT_DIV8) >> + s5p_mipi_dsi_pll_on(dsim, 0); >> + } >> + @@ -1608,8 +1609,8 @@ I'll look forward to your answer. thank you. >> + lcd_video = (struct fb_videomode *)dsim_pd->lcd_panel_info; >> + >> + /* in case of VIDEO MODE (RGB INTERFACE), it sets polarities. */ ->> + if (dsim->dsim_config->e_interface = (u32) DSIM_VIDEO) { ->> + if (dsim->dsim_config->auto_vertical_cnt = 0) { +>> + if (dsim->dsim_config->e_interface == (u32) DSIM_VIDEO) { +>> + if (dsim->dsim_config->auto_vertical_cnt == 0) { >> + s5p_mipi_dsi_set_main_disp_vporch(dsim, >> + lcd_video->upper_margin, >> + lcd_video->lower_margin, 0); @@ -1627,7 +1628,7 @@ I'll look forward to your answer. thank you. >> + >> + s5p_mipi_dsi_display_config(dsim, dsim->dsim_config); >> + ->> + dev_dbg(dsim->dev, "lcd panel => width = %d, height = %d\n", +>> + dev_dbg(dsim->dev, "lcd panel ==> width = %d, height = %d\n", >> + lcd_video->xres, lcd_video->yres); >> + >> + return 0; @@ -1654,7 +1655,7 @@ I'll look forward to your answer. thank you. >> + /* check clock and data lane state are stop state */ >> + while (!(s5p_mipi_dsi_is_lane_state(dsim))) { >> + time_out--; ->> + if (time_out = 0) { +>> + if (time_out == 0) { >> + dev_err(dsim->dev, >> + "DSI Master is not stop state.\n"); >> + dev_err(dsim->dev, @@ -1691,7 +1692,7 @@ I'll look forward to your answer. thank you. >> + >> +int s5p_mipi_dsi_set_hs_enable(struct mipi_dsim_device *dsim) >> +{ ->> + if (dsim->state = DSIM_STATE_STOP) { +>> + if (dsim->state == DSIM_STATE_STOP) { >> + if (dsim->e_clk_src != DSIM_EXT_CLK_BYPASS) { >> + dsim->state = DSIM_STATE_HSCLKEN; >> + @@ -1722,7 +1723,7 @@ I'll look forward to your answer. thank you. >> + >> + s5p_mipi_dsi_set_lcdc_transfer_mode(dsim, 0); >> + } else { ->> + if (dsim->state = DSIM_STATE_INIT || dsim->state = +>> + if (dsim->state == DSIM_STATE_INIT || dsim->state == >> + DSIM_STATE_ULPS) { >> + dev_err(dsim->dev, >> + "DSI Master is not STOP or HSDT state.\n"); @@ -1993,9 +1994,9 @@ I'll look forward to your answer. thank you. >> + ~(0x3 << 26) & ~(1 << 25) & ~(0x3 << 18) & ~(0x7 << 12) & >> + ~(0x3 << 16) & ~(0x7 << 8); >> + ->> + if (dsim_config->e_interface = DSIM_VIDEO) +>> + if (dsim_config->e_interface == DSIM_VIDEO) >> + reg |= (1 << 25); ->> + else if (dsim_config->e_interface = DSIM_COMMAND) +>> + else if (dsim_config->e_interface == DSIM_COMMAND) >> + reg &= ~(1 << 25); >> + else { >> + dev_err(dsim->dev, "this ddi is not MIPI interface.\n"); @@ -2471,7 +2472,7 @@ I'll look forward to your answer. thank you. >> >> _______________________________________________ >> linux-arm-kernel mailing list ->> linux-arm-kernel@lists.infradead.org +>> linux-arm-kernel at lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >> > diff --git a/a/content_digest b/N1/content_digest index daf4937..24595b2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,12 +1,12 @@ "ref\01302783320-31230-1-git-send-email-inki.dae@samsung.com\0" "ref\0BANLkTi=VCpDp6aPZc9sPqmos0XmtJ+UvyQ@mail.gmail.com\0" - "From\0daeinki <inki.dae@samsung.com>\0" - "Subject\0Re: [PATCH 1/2] video: add Samsung SoC MIPI-DSI controller driver.\0" - "Date\0Fri, 15 Apr 2011 02:32:02 +0000\0" + "From\0inki.dae@samsung.com (daeinki)\0" + "Subject\0[PATCH 1/2] video: add Samsung SoC MIPI-DSI controller driver.\0" + "Date\0Fri, 15 Apr 2011 11:32:02 +0900\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" - "Kyungmin Park \354\223\264 \352\270\200:\n" + "Kyungmin Park ? ?:\n" "> Mr. Dae,\n" "> \n" "> If only MIPI header files are used at video, just place it under video\n" @@ -224,7 +224,8 @@ ">> + enum mipi_dsim_byte_clk_src e_byte_clk;\n" ">> +\n" ">> + /*\n" - ">> + * =====================>> + * | P | M | S | MHz |\n" + ">> + * ===========================================\n" + ">> + * | P | M | S | MHz |\n" ">> + * -------------------------------------------\n" ">> + * | 3 | 100 | 3 | 100 |\n" ">> + * | 3 | 100 | 2 | 200 |\n" @@ -721,8 +722,8 @@ ">> + continue;\n" ">> +\n" ">> + if (lcd_drv->id >= 0) {\n" - ">> + if ((strcmp(lcd_drv->name, lcd_dev->name)) = 0 &&\n" - ">> + lcd_drv->id = lcd_dev->id) {\n" + ">> + if ((strcmp(lcd_drv->name, lcd_dev->name)) == 0 &&\n" + ">> + lcd_drv->id == lcd_dev->id) {\n" ">> + /**\n" ">> + * bus_id would be used to identify\n" ">> + * connected bus.\n" @@ -733,7 +734,7 @@ ">> + return dsim_ddi;\n" ">> + }\n" ">> + } else {\n" - ">> + if ((strcmp(lcd_drv->name, lcd_dev->name)) = 0) {\n" + ">> + if ((strcmp(lcd_drv->name, lcd_dev->name)) == 0) {\n" ">> + /**\n" ">> + * bus_id would be used to identify\n" ">> + * connected bus.\n" @@ -806,7 +807,7 @@ ">> + dev_dbg(dsim->dev, \"lcd_dev->bus_id = %d, dsim->id = %d\\n\",\n" ">> + lcd_dev->bus_id, dsim->id);\n" ">> +\n" - ">> + if ((strcmp(lcd_drv->name, name) = 0)) {\n" + ">> + if ((strcmp(lcd_drv->name, name) == 0)) {\n" ">> + lcd_dev->master = dsim;\n" ">> +\n" ">> + lcd_dev->dev.parent = dsim->dev;\n" @@ -865,13 +866,13 @@ ">> +\n" ">> + /* get s5p_platform_mipi_dsim. */\n" ">> + dsim_pd = (struct s5p_platform_mipi_dsim *)dsim->pd;\n" - ">> + if (dsim_pd = NULL) {\n" + ">> + if (dsim_pd == NULL) {\n" ">> + dev_err(&pdev->dev, \"failed to get platform data for dsim.\\n\");\n" ">> + return -EFAULT;\n" ">> + }\n" ">> + /* get mipi_dsim_config. */\n" ">> + dsim_config = dsim_pd->dsim_config;\n" - ">> + if (dsim_config = NULL) {\n" + ">> + if (dsim_config == NULL) {\n" ">> + dev_err(&pdev->dev, \"failed to get dsim config data.\\n\");\n" ">> + return -EFAULT;\n" ">> + }\n" @@ -915,7 +916,7 @@ ">> + * in case of MIPI Video mode,\n" ">> + * frame done interrupt handler would be used.\n" ">> + */\n" - ">> + if (dsim_config->e_interface = DSIM_VIDEO) {\n" + ">> + if (dsim_config->e_interface == DSIM_VIDEO) {\n" ">> + dsim->irq = platform_get_irq(pdev, 0);\n" ">> + if (request_irq(dsim->irq, s5p_mipi_dsi_interrupt_handler,\n" ">> + IRQF_DISABLED, \"mipi-dsi\", dsim)) {\n" @@ -959,7 +960,7 @@ ">> + dsim_ddi->dsim_lcd_drv->probe(dsim_ddi->dsim_lcd_dev);\n" ">> +\n" ">> + dev_dbg(&pdev->dev, \"mipi-dsi driver(%s mode) has been probed.\\n\",\n" - ">> + (dsim_config->e_interface = DSIM_COMMAND) ?\n" + ">> + (dsim_config->e_interface == DSIM_COMMAND) ?\n" ">> + \"CPU\" : \"RGB\");\n" ">> +\n" ">> + return 0;\n" @@ -990,7 +991,7 @@ ">> + struct mipi_dsim_device *dsim = platform_get_drvdata(pdev);\n" ">> + struct mipi_dsim_ddi *dsim_ddi = NULL;\n" ">> +\n" - ">> + if (dsim->dsim_config->e_interface = DSIM_VIDEO)\n" + ">> + if (dsim->dsim_config->e_interface == DSIM_VIDEO)\n" ">> + free_irq(dsim->irq, dsim);\n" ">> +\n" ">> + iounmap(dsim->reg_base);\n" @@ -1003,7 +1004,7 @@ ">> +\n" ">> + list_for_each_entry(dsim_ddi, &dsim_ddi_list, list) {\n" ">> + if (dsim_ddi) {\n" - ">> + if (dsim->id = dsim_ddi->bus_id) {\n" + ">> + if (dsim->id == dsim_ddi->bus_id) {\n" ">> + kfree(dsim_ddi);\n" ">> + dsim_ddi = NULL;\n" ">> + }\n" @@ -1190,7 +1191,7 @@ ">> + * send remainder data less then 4.\n" ">> + */\n" ">> + if ((data1 - data_cnt) < 4) {\n" - ">> + if ((data1 - data_cnt) = 3) {\n" + ">> + if ((data1 - data_cnt) == 3) {\n" ">> + payload = *(u8 *)(data0 + data_cnt) |\n" ">> + (*(u8 *)(data0 + (data_cnt + 1))) << 8 |\n" ">> + (*(u8 *)(data0 + (data_cnt + 2))) << 16;\n" @@ -1198,14 +1199,14 @@ ">> + payload, *(u8 *)(data0 + data_cnt),\n" ">> + *(u8 *)(data0 + (data_cnt + 1)),\n" ">> + *(u8 *)(data0 + (data_cnt + 2)));\n" - ">> + } else if ((data1 - data_cnt) = 2) {\n" + ">> + } else if ((data1 - data_cnt) == 2) {\n" ">> + payload = *(u8 *)(data0 + data_cnt) |\n" ">> + (*(u8 *)(data0 + (data_cnt + 1))) << 8;\n" ">> + dev_dbg(dsim->dev,\n" ">> + \"count = 2 payload = %x, %x %x\\n\", payload,\n" ">> + *(u8 *)(data0 + data_cnt),\n" ">> + *(u8 *)(data0 + (data_cnt + 1)));\n" - ">> + } else if ((data1 - data_cnt) = 1) {\n" + ">> + } else if ((data1 - data_cnt) == 1) {\n" ">> + payload = *(u8 *)(data0 + data_cnt);\n" ">> + }\n" ">> +\n" @@ -1236,7 +1237,7 @@ ">> + unsigned long delay_val, udelay;\n" ">> + unsigned int check_rx_ack = 0;\n" ">> +\n" - ">> + if (dsim->state = DSIM_STATE_ULPS) {\n" + ">> + if (dsim->state == DSIM_STATE_ULPS) {\n" ">> + dev_err(dsim->dev, \"state is ULPS.\\n\");\n" ">> +\n" ">> + return -EINVAL;\n" @@ -1248,7 +1249,7 @@ ">> + mdelay(udelay);\n" ">> +\n" ">> + /* only if transfer mode is LPDT, wait SFR becomes empty. */\n" - ">> + if (dsim->state = DSIM_STATE_STOP) {\n" + ">> + if (dsim->state == DSIM_STATE_STOP) {\n" ">> + while (!(s5p_mipi_dsi_get_fifo_state(dsim) &\n" ">> + SFR_HEADER_EMPTY)) {\n" ">> + if ((timeout--) > 0)\n" @@ -1379,7 +1380,7 @@ ">> + sw_timeout--;\n" ">> + if (s5p_mipi_dsi_is_pll_stable(dsim))\n" ">> + return 0;\n" - ">> + if (sw_timeout = 0)\n" + ">> + if (sw_timeout == 0)\n" ">> + return -EINVAL;\n" ">> + }\n" ">> + } else\n" @@ -1486,11 +1487,11 @@ ">> + s5p_mipi_dsi_set_byte_clock_src(dsim, byte_clk_sel);\n" ">> +\n" ">> + /* DPHY, DSIM Link : D-PHY clock out */\n" - ">> + if (byte_clk_sel = DSIM_PLL_OUT_DIV8) {\n" + ">> + if (byte_clk_sel == DSIM_PLL_OUT_DIV8) {\n" ">> + hs_clk = s5p_mipi_dsi_change_pll(dsim,\n" ">> + dsim->dsim_config->p, dsim->dsim_config->m,\n" ">> + dsim->dsim_config->s);\n" - ">> + if (hs_clk = 0) {\n" + ">> + if (hs_clk == 0) {\n" ">> + dev_err(dsim->dev,\n" ">> + \"failed to get hs clock.\\n\");\n" ">> + return -EINVAL;\n" @@ -1500,11 +1501,11 @@ ">> + s5p_mipi_dsi_enable_pll_bypass(dsim, 0);\n" ">> + s5p_mipi_dsi_pll_on(dsim, 1);\n" ">> + /* DPHY : D-PHY clock out, DSIM link : external clock out */\n" - ">> + } else if (byte_clk_sel = DSIM_EXT_CLK_DIV8)\n" + ">> + } else if (byte_clk_sel == DSIM_EXT_CLK_DIV8)\n" ">> + dev_warn(dsim->dev,\n" ">> + \"this project is not support \\\n" ">> + external clock source for MIPI DSIM\\n\");\n" - ">> + else if (byte_clk_sel = DSIM_EXT_CLK_BYPASS)\n" + ">> + else if (byte_clk_sel == DSIM_EXT_CLK_BYPASS)\n" ">> + dev_warn(dsim->dev,\n" ">> + \"this project is not support \\\n" ">> + external clock source for MIPI DSIM\\n\");\n" @@ -1560,7 +1561,7 @@ ">> + /* disable escape clock. */\n" ">> + s5p_mipi_dsi_enable_byte_clock(dsim, DSIM_ESCCLK_OFF);\n" ">> +\n" - ">> + if (byte_clk_sel = DSIM_PLL_OUT_DIV8)\n" + ">> + if (byte_clk_sel == DSIM_PLL_OUT_DIV8)\n" ">> + s5p_mipi_dsi_pll_on(dsim, 0);\n" ">> + }\n" ">> +\n" @@ -1616,8 +1617,8 @@ ">> + lcd_video = (struct fb_videomode *)dsim_pd->lcd_panel_info;\n" ">> +\n" ">> + /* in case of VIDEO MODE (RGB INTERFACE), it sets polarities. */\n" - ">> + if (dsim->dsim_config->e_interface = (u32) DSIM_VIDEO) {\n" - ">> + if (dsim->dsim_config->auto_vertical_cnt = 0) {\n" + ">> + if (dsim->dsim_config->e_interface == (u32) DSIM_VIDEO) {\n" + ">> + if (dsim->dsim_config->auto_vertical_cnt == 0) {\n" ">> + s5p_mipi_dsi_set_main_disp_vporch(dsim,\n" ">> + lcd_video->upper_margin,\n" ">> + lcd_video->lower_margin, 0);\n" @@ -1635,7 +1636,7 @@ ">> +\n" ">> + s5p_mipi_dsi_display_config(dsim, dsim->dsim_config);\n" ">> +\n" - ">> + dev_dbg(dsim->dev, \"lcd panel => width = %d, height = %d\\n\",\n" + ">> + dev_dbg(dsim->dev, \"lcd panel ==> width = %d, height = %d\\n\",\n" ">> + lcd_video->xres, lcd_video->yres);\n" ">> +\n" ">> + return 0;\n" @@ -1662,7 +1663,7 @@ ">> + /* check clock and data lane state are stop state */\n" ">> + while (!(s5p_mipi_dsi_is_lane_state(dsim))) {\n" ">> + time_out--;\n" - ">> + if (time_out = 0) {\n" + ">> + if (time_out == 0) {\n" ">> + dev_err(dsim->dev,\n" ">> + \"DSI Master is not stop state.\\n\");\n" ">> + dev_err(dsim->dev,\n" @@ -1699,7 +1700,7 @@ ">> +\n" ">> +int s5p_mipi_dsi_set_hs_enable(struct mipi_dsim_device *dsim)\n" ">> +{\n" - ">> + if (dsim->state = DSIM_STATE_STOP) {\n" + ">> + if (dsim->state == DSIM_STATE_STOP) {\n" ">> + if (dsim->e_clk_src != DSIM_EXT_CLK_BYPASS) {\n" ">> + dsim->state = DSIM_STATE_HSCLKEN;\n" ">> +\n" @@ -1730,7 +1731,7 @@ ">> +\n" ">> + s5p_mipi_dsi_set_lcdc_transfer_mode(dsim, 0);\n" ">> + } else {\n" - ">> + if (dsim->state = DSIM_STATE_INIT || dsim->state =\n" + ">> + if (dsim->state == DSIM_STATE_INIT || dsim->state ==\n" ">> + DSIM_STATE_ULPS) {\n" ">> + dev_err(dsim->dev,\n" ">> + \"DSI Master is not STOP or HSDT state.\\n\");\n" @@ -2001,9 +2002,9 @@ ">> + ~(0x3 << 26) & ~(1 << 25) & ~(0x3 << 18) & ~(0x7 << 12) &\n" ">> + ~(0x3 << 16) & ~(0x7 << 8);\n" ">> +\n" - ">> + if (dsim_config->e_interface = DSIM_VIDEO)\n" + ">> + if (dsim_config->e_interface == DSIM_VIDEO)\n" ">> + reg |= (1 << 25);\n" - ">> + else if (dsim_config->e_interface = DSIM_COMMAND)\n" + ">> + else if (dsim_config->e_interface == DSIM_COMMAND)\n" ">> + reg &= ~(1 << 25);\n" ">> + else {\n" ">> + dev_err(dsim->dev, \"this ddi is not MIPI interface.\\n\");\n" @@ -2479,9 +2480,9 @@ ">>\n" ">> _______________________________________________\n" ">> linux-arm-kernel mailing list\n" - ">> linux-arm-kernel@lists.infradead.org\n" + ">> linux-arm-kernel at lists.infradead.org\n" ">> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel\n" ">>\n" > -abec63bda143f8a8732b7708e69443b6b7701e762dd7a61556423f198b742225 +46cbf291354b02c7e7b9740e35d03a4a1827626416a6ffdb7712dc958322be59
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.