jitao shi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32097
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c 2 files changed, 222 insertions(+), 35 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/1
diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c index bf9bd02..541485a 100644 --- a/src/mainboard/google/kukui/mainboard.c +++ b/src/mainboard/google/kukui/mainboard.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */
+#include <boardid.h> #include <bootmode.h> #include <console/console.h> #include <delay.h> @@ -55,11 +56,72 @@
static void configure_display(void) { - /* board from p0 */ - gpio_output(GPIO(LCM_RST), 0); - udelay(100); - gpio_output(GPIO(LCM_RST), 1); - mdelay(20); + + printk(BIOS_ERR, "board_id() = %d\n", board_id()); + + if (board_id() < 2) { + /* board from p1 */ + gpio_output(GPIO(LCM_RST), 0); + udelay(100); + gpio_output(GPIO(LCM_RST), 1); + mdelay(20); + } else { + /* board from p2 */ + printk(BIOS_ERR, "board from p2\n"); + + gpio_output(GPIO(LCM_RST), 0); + gpio_output(GPIO(BPI_BUS3), 0); + gpio_output(GPIO(MISC_BSI_CK_3), 0); + gpio_output(GPIO(PERIPHERAL_EN9), 0); + gpio_output(GPIO(SIM2_SRST), 0); + gpio_output(GPIO(SIM2_SIO), 0); + gpio_output(GPIO(BPI_OLAT1), 0); + gpio_output(GPIO(SIM2_SCLK), 0); + gpio_set_pull(GPIO(LCM_RST), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(BPI_BUS3), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(MISC_BSI_CK_3), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(PERIPHERAL_EN9), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(SIM2_SRST), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(SIM2_SIO), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(BPI_OLAT1), GPIO_PULL_ENABLE, GPIO_PULL_UP); + gpio_set_pull(GPIO(SIM2_SCLK), GPIO_PULL_ENABLE, GPIO_PULL_UP); + + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + + gpio_output(GPIO(MISC_BSI_CK_3), 1); + gpio_output(GPIO(PERIPHERAL_EN9), 1); + gpio_output(GPIO(SIM2_SRST), 1); + gpio_output(GPIO(SIM2_SIO), 1); + gpio_output(GPIO(BPI_OLAT1), 1); + gpio_output(GPIO(SIM2_SCLK), 1); + + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + gpio_output(GPIO(LCM_RST), 1); + mdelay(20); + gpio_output(GPIO(BPI_BUS3), 1); + mdelay(20); + mdelay(20); + + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox350] = 0x%x\n", read32((void *)GPIO_BASE + 0x350)); + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox10] = 0x%x\n", read32((void *)GPIO_BASE + 0x10)); + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox110] = 0x%x\n", read32((void *)GPIO_BASE + 0x110)); + + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox390] = 0x%x\n", read32((void *)GPIO_BASE + 0x390)); + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox20] = 0x%x\n", read32((void *)GPIO_BASE + 0x20)); + printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox120] = 0x%x\n", read32((void *)GPIO_BASE + 0x120)); + } }
static const struct edid kukui_innolux_edid = { @@ -84,6 +146,76 @@ {DELAY_CMD, 120, {}}, };
+static const struct edid kukui_p097pfg_ssd2858_edid = { + .panel_bits_per_color = 8, + .panel_bits_per_pixel = 24, + .mode = { + .name = "1536x2048@60Hz", + .pixel_clock = 229000, + .lvds_dual_channel = 0, + .refresh = 60, + .ha = 1536, .hbl = 160, .hso = 80, .hspw = 26, .hborder = 0, + .va = 2048, .vbl = 32, .vso = 20, .vspw = 2, .vborder = 0, + .phsync = '-', .pvsync = '-', + .x_mm = 147, .y_mm = 196, + }, +}; + +struct lcm_init_table lcm_p097pfg_ssd2858_init_cmd[] = { + /* SSD2858 config */ + {INIT_CMD, 2, {0xff, 0x00}}, + /* LOCKCNT=0x1f4, MRX=0, POSTDIV=1 (/2}}, MULT=0x49 + * 27 Mhz => 985.5 Mhz */ + {INIT_CMD, 6, {0x00, 0x08, 0x01, 0xf4, 0x01, 0x49}}, + /* MTXDIV=1, SYSDIV=3 (=> 4) */ + {INIT_CMD, 6, {0x00, 0x0c, 0x00, 0x00, 0x00, 0x03}}, + /* MTXVPF=24bpp, MRXLS=4 lanes, MRXVB=bypass, MRXECC=1, MRXEOT=1 + * MRXEE=1 */ + {INIT_CMD, 6, {0x00, 0x14, 0x0c, 0x3d, 0x80, 0x0f}}, + {INIT_CMD, 6, {0x00, 0x20, 0x15, 0x92, 0x56, 0x7d}}, + {INIT_CMD, 6, {0x00, 0x24, 0x00, 0x00, 0x30, 0x00}}, + +// {INIT_CMD, 1, {0x11}}, +// {DELAY_CMD, 120, {}}, + + {INIT_CMD, 6, {0x10, 0x08, 0x01, 0x20, 0x04, 0x45}}, + {INIT_CMD, 6, {0x10, 0x1c, 0x00, 0x00, 0x00, 0x00}}, + {INIT_CMD, 6, {0x20, 0x0c, 0x00, 0x00, 0x00, 0x04}}, + /* Pixel clock 985.5 Mhz * 0x49/0x4b = 959 Mhz */ + {INIT_CMD, 6, {0x20, 0x10, 0x00, 0x4b, 0x00, 0x49}}, + {INIT_CMD, 6, {0x20, 0xa0, 0x00, 0x00, 0x00, 0x00}}, + /* EOT=1, LPE = 0, LSOUT=4 lanes, LPD=25 */ + {INIT_CMD, 6, {0x60, 0x08, 0x00, 0xd9, 0x00, 0x08}}, + {INIT_CMD, 6, {0x60, 0x14, 0x01, 0x00, 0x01, 0x06}}, + /* DSI0 enable (default: probably not needed) */ + {INIT_CMD, 6, {0x60, 0x80, 0x00, 0x00, 0x00, 0x0f}}, + /* DSI1 enable */ + {INIT_CMD, 6, {0x60, 0xa0, 0x00, 0x00, 0x00, 0x0f}}, + + /* HSA=0x18, VSA=0x02, HBP=0x50, VBP=0x0c */ + {INIT_CMD, 6, {0x60, 0x0c, 0x0c, 0x50, 0x02, 0x18}}, + /* VACT= 0x800 (2048}}, VFP= 0x14, HFP=0x50 */ + {INIT_CMD, 6, {0x60, 0x10, 0x08, 0x00, 0x14, 0x50}}, + /* HACT=0x300 (768) */ + {INIT_CMD, 6, {0x60, 0x84, 0x00, 0x00, 0x03, 0x00}}, + {INIT_CMD, 6, {0x60, 0xa4, 0x00, 0x00, 0x03, 0x00}}, + + /* Take panel out of sleep. */ + {INIT_CMD, 2, {0xff, 0x01}}, + {INIT_CMD, 1, {0x11}}, + {DELAY_CMD, 120, {}}, + {INIT_CMD, 1, {0x29}}, + {DELAY_CMD, 20, {}}, + {INIT_CMD, 2, {0xff, 0x00}}, + + //{INIT_CMD, 6, {0x60, 0x14, 0x41, 0x00, 0x81, 0x02}}, + //{INIT_CMD, 6, {0x60, 0x14, 0xc1, 0x00, 0x81, 0x0A}}, + {DELAY_CMD, 120, {}}, + {INIT_CMD, 1, {0x11}}, + {DELAY_CMD, 120, {}}, + {INIT_CMD, 1, {0x29}}, + {DELAY_CMD, 20, {}}, +};
static void display_startup(void) { @@ -91,16 +223,30 @@ u32 mipi_dsi_flags; struct edid edid;
- edid = kukui_innolux_edid; - mipi_dsi_flags = MIPI_DSI_MODE_VIDEO | - MIPI_DSI_MODE_VIDEO_SYNC_PULSE | - MIPI_DSI_MODE_LPM; + if (board_id() < 2) { + edid = kukui_innolux_edid; + mipi_dsi_flags = MIPI_DSI_MODE_VIDEO | + MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_LPM; + } else { + edid = kukui_p097pfg_ssd2858_edid; + mipi_dsi_flags = MIPI_DSI_MODE_VIDEO | + MIPI_DSI_MODE_VIDEO_BURST | + MIPI_DSI_MODE_LPM; + }
edid_set_framebuffer_bits_per_pixel(&edid, 32, 0);
mtk_ddp_init(); - ret = mtk_dsi_init(mipi_dsi_flags, MIPI_DSI_FMT_RGB888, 4, - false, &edid, lcm_init_cmd, sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table)); + if (board_id() < 2) + ret = mtk_dsi_init(mipi_dsi_flags, MIPI_DSI_FMT_RGB888, 4, + false, &edid, lcm_init_cmd, sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table)); + else { + ret = mtk_dsi_init(mipi_dsi_flags, MIPI_DSI_FMT_RGB888, 4, + false, &edid, lcm_p097pfg_ssd2858_init_cmd, sizeof(lcm_p097pfg_ssd2858_init_cmd) / sizeof(struct lcm_init_table)); + printk(BIOS_ERR, "mtk_dsi_init from p2\n"); + } + if (ret < 0) { printk(BIOS_ERR, "dsi init fail\n"); return; diff --git a/src/soc/mediatek/mt8183/dsi.c b/src/soc/mediatek/mt8183/dsi.c index f96d847..316d92d 100644 --- a/src/soc/mediatek/mt8183/dsi.c +++ b/src/soc/mediatek/mt8183/dsi.c @@ -14,6 +14,7 @@ */
#include <arch/io.h> +#include <boardid.h> #include <console/console.h> #include <delay.h> #include <soc/addressmap.h> @@ -97,6 +98,11 @@
printk(BIOS_ERR, "data_rate: %u bps\n", data_rate);
+ if (board_id() == 2) + data_rate = 1420000000; + + printk(BIOS_ERR, "board_id() == 2 data_rate: %u bps\n", data_rate); + if (data_rate >= 2000000000) { txdiv = 1; txdiv0 = 0; @@ -169,26 +175,28 @@ timcon3 = phy_timing->clk_hs_prepare | phy_timing->clk_hs_post << 8 | phy_timing->clk_hs_exit << 16;
- dsi_write32(&dsi->dsi_phy_timecon0, timcon0); - dsi_write32(&dsi->dsi_phy_timecon1, timcon1); - dsi_write32(&dsi->dsi_phy_timecon2, timcon2); - dsi_write32(&dsi->dsi_phy_timecon3, timcon3); + if (board_id() < 2) { + dsi_write32(&dsi->dsi_phy_timecon0, timcon0); + dsi_write32(&dsi->dsi_phy_timecon1, timcon1); + dsi_write32(&dsi->dsi_phy_timecon2, timcon2); + dsi_write32(&dsi->dsi_phy_timecon3, timcon3); + } else { + dsi_write32(&dsi->dsi_phy_timecon0, 0x0e1c070d); + dsi_write32(&dsi->dsi_phy_timecon1, 0x1a411334); + dsi_write32(&dsi->dsi_phy_timecon2, 0x11420100); + dsi_write32(&dsi->dsi_phy_timecon3, 0x001a180a); + } }
static void mtk_dsi_reset(void) { - dsi_setbits_le32(&dsi->dsi_con_ctrl, 3); - dsi_clrbits_le32(&dsi->dsi_con_ctrl, 1); + dsi_write32(&dsi->dsi_con_ctrl, 1); + dsi_write32(&dsi->dsi_con_ctrl, 0); }
static void mtk_dsi_clk_hs_mode_enable(void) { - dsi_setbits_le32(&dsi->dsi_phy_lccon, LC_HS_TX_EN); -} - -static void mtk_dsi_clk_hs_mode_disable(void) -{ - dsi_clrbits_le32(&dsi->dsi_phy_lccon, LC_HS_TX_EN); + dsi_setbits_le32(&dsi->dsi_phy_lccon, 1); }
static void mtk_dsi_set_mode(u32 mode_flags) @@ -312,7 +320,7 @@ edid->mode.hborder) * bpp - 10; else hbp_byte = (edid->mode.hbl - edid->mode.hso - - edid->mode.hborder) * bpp - 10; + edid->mode.hborder) * bpp - 8;
hsync_active_byte = edid->mode.hspw * bpp - 10; hfp_byte = (edid->mode.hso - edid->mode.hborder) * bpp - 12; @@ -348,8 +356,8 @@
static void mtk_dsi_start(void) { - dsi_write32(&dsi->dsi_start, 0); - dsi_write32(&dsi->dsi_start, 1); + dsi_clrbits_le32(&dsi->dsi_start, 1); + dsi_setbits_le32(&dsi->dsi_start, 1); }
static void mtk_dsi_cmdq(u8 *data, u8 len) @@ -359,6 +367,15 @@ u8 cmdq_size; u32 reg_val, cmdq_mask, i, config, cmdq_off, type, intsta_0;
+ + while(read32(&dsi->dsi_intsta) & (1 << 31)) { + printk(BIOS_ERR, "mtk_dsi_cmdq wait dsi no busy\n"); + mdelay(20); + } + + printk(BIOS_ERR, "mtk_dsi_cmdq dsi no busy\n"); + dsi_write32(&dsi->dsi_intsta, 0); + switch (len) { case 0: return; @@ -393,14 +410,17 @@ reg_val = (type << 8) | config; }
- for (i = 0; i < len; i++) - dsi_clrsetbits_le32(&dsi->dsi_cmdq0 + ((cmdq_off + i) & (~0x3)), + for (i = 0; i < 0x20; i = i + 4) + dsi_write32((void *)DSI_BASE + 0x200 + i, 0); + + for (i = 0; i < len; i++) { + dsi_clrsetbits_le32((void *)DSI_BASE + 0x200 + ((cmdq_off + i) & (0xfffffffc)), (0xff << (((i + cmdq_off) & 3) * 8)), tx_buf[i] << (((i + cmdq_off) & 3) * 8)); + }
dsi_clrsetbits_le32(&dsi->dsi_cmdq0, cmdq_mask, reg_val); dsi_clrsetbits_le32(&dsi->dsi_cmdq_size, CMDQ_SIZE, cmdq_size); - dsi_write32(&dsi->dsi_intsta, 0); mtk_dsi_start();
stopwatch_init_usecs_expire(&sw, 400); @@ -414,7 +434,12 @@ if (!(intsta_0 & CMD_DONE_INT_FLAG)) printk(BIOS_ERR, "dsi DONE INT Timeout\n");
- dsi_write32(&dsi->dsi_start, 0); + for (i = 0x200; i < 0x210; i = i + 4) + printk(BIOS_ERR, "dump_dsi_reg : reg[0x%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); + + printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x60] = 0x%x\n", read32((void *)DSI_BASE + 0x60)); + printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x00] = 0x%x\n", read32((void *)DSI_BASE)); + printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x14] = 0x%x\n", read32((void *)DSI_BASE + 0x14)); }
static void push_table(struct lcm_init_table *init_cmd, u32 count) @@ -426,7 +451,17 @@
switch (cmd) { case DELAY_CMD: - mdelay(init_cmd[i].cmd); + if (init_cmd[i].cmd > 20) { + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + mdelay(20); + } else { + mdelay(20); + } + printk(BIOS_ERR, "delay : init_cmd[%d].len = 0x%x\n", i, init_cmd[i].len); break;
case END_OF_TABLE: @@ -434,6 +469,7 @@
case INIT_CMD: default: + printk(BIOS_ERR, "init_cmd : init_cmd[%d].data[0] = 0x%x\n", i, init_cmd[i].data[0]); mtk_dsi_cmdq(init_cmd[i].data, init_cmd[i].len); break; } @@ -443,7 +479,7 @@ int mtk_dsi_init(u32 mode_flags, u32 format, u32 lanes, bool dual, const struct edid *edid, struct lcm_init_table *init_cmd, u32 count) { - int data_rate; + int data_rate, i; struct mtk_phy_timing phy_timing;
mtk_dsi_phy_timing_calc(format, lanes, edid, &phy_timing); @@ -453,18 +489,23 @@ if (data_rate < 0) return -1;
- mtk_dsi_reset(); dsi_write32(&dsi->dsi_force_commit, 3); + mtk_dsi_reset(); mtk_dsi_phy_timconfig(data_rate, &phy_timing); mtk_dsi_rxtx_control(mode_flags, lanes); - mtk_dsi_clk_hs_mode_disable(); mtk_dsi_config_vdo_timing(mode_flags, format, edid); mtk_dsi_clk_hs_mode_enable(); - mtk_dsi_set_mode(0); push_table(init_cmd, count); mtk_dsi_set_mode(mode_flags); mtk_dsi_start();
+ dsi_write32((void *)DSI_BASE + 0x178, 0x00ff0000); + dsi_write32((void *)DSI_BASE + 0x17c, 0x00200040); + + for (i = 0; i < 0x208; i = i + 4) { + printk(BIOS_ERR, "dump_dsi_reg : reg[ox%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); + } + return 0; }
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1:
(52 comments)
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 82: gpio_set_pull(GPIO(MISC_BSI_CK_3), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 83: gpio_set_pull(GPIO(PERIPHERAL_EN9), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 117: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox350] = 0x%x\n", read32((void *)GPIO_BASE + 0x350)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 118: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox10] = 0x%x\n", read32((void *)GPIO_BASE + 0x10)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 119: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox110] = 0x%x\n", read32((void *)GPIO_BASE + 0x110)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 121: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox390] = 0x%x\n", read32((void *)GPIO_BASE + 0x390)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 122: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox20] = 0x%x\n", read32((void *)GPIO_BASE + 0x20)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 123: printk(BIOS_ERR, "aaadump_gpio_reg : reg[ox120] = 0x%x\n", read32((void *)GPIO_BASE + 0x120)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 166: {INIT_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 169: {INIT_CMD, 6, {0x00, 0x08, 0x01, 0xf4, 0x01, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 171: {INIT_CMD, 6, {0x00, 0x0c, 0x00, 0x00, 0x00, 0x03}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 174: {INIT_CMD, 6, {0x00, 0x14, 0x0c, 0x3d, 0x80, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 175: {INIT_CMD, 6, {0x00, 0x20, 0x15, 0x92, 0x56, 0x7d}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 176: {INIT_CMD, 6, {0x00, 0x24, 0x00, 0x00, 0x30, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 181: {INIT_CMD, 6, {0x10, 0x08, 0x01, 0x20, 0x04, 0x45}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 182: {INIT_CMD, 6, {0x10, 0x1c, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 183: {INIT_CMD, 6, {0x20, 0x0c, 0x00, 0x00, 0x00, 0x04}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 185: {INIT_CMD, 6, {0x20, 0x10, 0x00, 0x4b, 0x00, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 186: {INIT_CMD, 6, {0x20, 0xa0, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 188: {INIT_CMD, 6, {0x60, 0x08, 0x00, 0xd9, 0x00, 0x08}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 189: {INIT_CMD, 6, {0x60, 0x14, 0x01, 0x00, 0x01, 0x06}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 191: {INIT_CMD, 6, {0x60, 0x80, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 193: {INIT_CMD, 6, {0x60, 0xa0, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 196: {INIT_CMD, 6, {0x60, 0x0c, 0x0c, 0x50, 0x02, 0x18}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 198: {INIT_CMD, 6, {0x60, 0x10, 0x08, 0x00, 0x14, 0x50}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 200: {INIT_CMD, 6, {0x60, 0x84, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 201: {INIT_CMD, 6, {0x60, 0xa4, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 204: {INIT_CMD, 2, {0xff, 0x01}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 205: {INIT_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 206: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 207: {INIT_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 208: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 209: {INIT_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 213: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 214: {INIT_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 215: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 216: {INIT_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 217: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 243: false, &edid, lcm_init_cmd, sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 246: false, &edid, lcm_p097pfg_ssd2858_init_cmd, sizeof(lcm_p097pfg_ssd2858_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@371 PS1, Line 371: while(read32(&dsi->dsi_intsta) & (1 << 31)) { space required before the open parenthesis '('
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@372 PS1, Line 372: printk(BIOS_ERR, "mtk_dsi_cmdq wait dsi no busy\n"); Prefer using '"%s...", __func__' to using 'mtk_dsi_cmdq', this function's name, in a string
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@376 PS1, Line 376: printk(BIOS_ERR, "mtk_dsi_cmdq dsi no busy\n"); Prefer using '"%s...", __func__' to using 'mtk_dsi_cmdq', this function's name, in a string
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@417 PS1, Line 417: dsi_clrsetbits_le32((void *)DSI_BASE + 0x200 + ((cmdq_off + i) & (0xfffffffc)), line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@438 PS1, Line 438: printk(BIOS_ERR, "dump_dsi_reg : reg[0x%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@440 PS1, Line 440: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x60] = 0x%x\n", read32((void *)DSI_BASE + 0x60)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@441 PS1, Line 441: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x00] = 0x%x\n", read32((void *)DSI_BASE)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@442 PS1, Line 442: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x14] = 0x%x\n", read32((void *)DSI_BASE + 0x14)); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@464 PS1, Line 464: printk(BIOS_ERR, "delay : init_cmd[%d].len = 0x%x\n", i, init_cmd[i].len); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@472 PS1, Line 472: printk(BIOS_ERR, "init_cmd : init_cmd[%d].data[0] = 0x%x\n", i, init_cmd[i].data[0]); line over 80 characters
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@505 PS1, Line 505: for (i = 0; i < 0x208; i = i + 4) { braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@506 PS1, Line 506: printk(BIOS_ERR, "dump_dsi_reg : reg[ox%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); line over 80 characters
Jitao Shi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1: Code-Review-1
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 89: mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); : mdelay(20); what does this mean and how does it different from mdelay(20 * 9)?
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@100 PS1, Line 100: : if (board_id() == 2) : data_rate = 1420000000; should not do board_id identification inside mt8183 (SOC) code. this should be passed from somewhere else.
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@191 PS1, Line 191: mtk_dsi_reset no need to identify between p1 and p2?
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1:
(4 comments)
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 60: printk(BIOS_ERR, "board_id() = %d\n", board_id()); This is already printed by common code (lib/coreboot_table.c), doesn't need to be printed again here. Especially not as BIOS_ERR.
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 80: gpio_set_pull(GPIO(LCM_RST), GPIO_PULL_ENABLE, GPIO_PULL_UP); What are you trying to do here? You can't configure a pin to be an output pin but also have a pull resistor, that makes no sense. That's also why gpio_output() will disable the pull again automatically, so this ends up changing nothing.
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 226: if (board_id() < 2) { You shouldn't need two if (board_id()...) branches here... either put all of it in variables first so that the code below can be common, or get rid of this and just put these values directly in the code below.
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 243: sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table) Please use ARRAY_SIZE() for this sort of stuff.
Nicolas Boichat has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 1:
(2 comments)
No great idea why this does not appear to work ,-(
Note that even the kernel driver is sometimes flaky, and at times, takes multiple attempts to switch on.
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/1/src/mainboard/google/kukui/mainboard... PS1, Line 79: gpio_output(GPIO(SIM2_SCLK), 0); Notes for self (https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1...) LCM_RST: 45 (panel reset) BPI_BUS3: 73 (bridge reset) MISC_BSI_CK_3: 66 (ppvarp-en) PERIPHERAL_EN9: 166 (ppvarn-en) SIM2_SRST: 36 (pp1800-lcd-en) SIM2_SIO: 35 (pp3300-lcd-en) BPI_OLAT1: 54 (pp1200-mipibrdg-en) SIM2_SCLK: 37 (vddio_mipibrdg_en)
Kernel code does:
hold both reset to 0 enable all supplies
mdelay(20) release panel reset mdelay(20) release bridge reset mdelay(20)
write MIPI commands
(so what I see below looks correct)
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/1/src/soc/mediatek/mt8183/dsi.c@473 PS1, Line 473: mtk_dsi_cmdq(init_cmd[i].data, init_cmd[i].len); Not sure if it matters, but the kernel code sends a nop after each command (https://chromium.googlesource.com/chromiumos/third_party/kernel/+/41efd0883b...). A short delay might do the same say, 10ms.
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#2).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 272 insertions(+), 53 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/2
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 2:
(69 comments)
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 82: gpio_set_pull(GPIO(MISC_BSI_CK_3), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 83: gpio_set_pull(GPIO(PERIPHERAL_EN9), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 158: {INIT_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 159: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 162: {INIT_CMD, 6, {0x00, 0x08, 0x01, 0xf4, 0x01, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 163: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 165: {INIT_CMD, 6, {0x00, 0x0c, 0x00, 0x00, 0x00, 0x03}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 166: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 169: {INIT_CMD, 6, {0x00, 0x14, 0x0c, 0x3d, 0x80, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 170: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 171: {INIT_CMD, 6, {0x00, 0x20, 0x15, 0x92, 0x56, 0x7d}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 172: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 173: {INIT_CMD, 6, {0x00, 0x24, 0x00, 0x00, 0x30, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 174: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 179: {INIT_CMD, 6, {0x10, 0x08, 0x01, 0x20, 0x04, 0x45}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 180: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 181: {INIT_CMD, 6, {0x10, 0x1c, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 182: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 183: {INIT_CMD, 6, {0x20, 0x0c, 0x00, 0x00, 0x00, 0x04}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 184: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 186: {INIT_CMD, 6, {0x20, 0x10, 0x00, 0x4b, 0x00, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 187: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 188: {INIT_CMD, 6, {0x20, 0xa0, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 189: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 191: {INIT_CMD, 6, {0x60, 0x08, 0x00, 0xd9, 0x00, 0x08}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 192: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 193: {INIT_CMD, 6, {0x60, 0x14, 0x01, 0x00, 0x01, 0x06}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 194: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 196: {INIT_CMD, 6, {0x60, 0x80, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 197: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 199: {INIT_CMD, 6, {0x60, 0xa0, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 200: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 203: {INIT_CMD, 6, {0x60, 0x0c, 0x0c, 0x50, 0x02, 0x18}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 204: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 206: {INIT_CMD, 6, {0x60, 0x10, 0x08, 0x00, 0x14, 0x50}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 207: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 209: {INIT_CMD, 6, {0x60, 0x84, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 210: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 211: {INIT_CMD, 6, {0x60, 0xa4, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 212: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 215: {INIT_CMD, 2, {0xff, 0x01}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 216: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 217: {INIT_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 218: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 219: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 220: {INIT_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 221: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 222: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 223: {INIT_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 224: {INIT_DCS_CMD, 1, {00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 228: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 229: {INIT_DCS_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 230: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 231: {INIT_DCS_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 232: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 258: false, &edid, lcm_init_cmd, sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/mainboard/google/kukui/mainboard... PS2, Line 261: false, &edid, lcm_p097pfg_ssd2858_init_cmd, sizeof(lcm_p097pfg_ssd2858_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@371 PS2, Line 371: while(read32(&dsi->dsi_intsta) & (1 << 31)) { space required before the open parenthesis '('
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@372 PS2, Line 372: printk(BIOS_ERR, "mtk_dsi_cmdq wait dsi no busy\n"); Prefer using '"%s...", __func__' to using 'mtk_dsi_cmdq', this function's name, in a string
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@376 PS2, Line 376: printk(BIOS_ERR, "mtk_dsi_cmdq dsi no busy\n"); Prefer using '"%s...", __func__' to using 'mtk_dsi_cmdq', this function's name, in a string
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@400 PS2, Line 400: dsi_clrsetbits_le32((void *)DSI_BASE + 0x200 + ((cmdq_off + i) & (0xfffffffc)), line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@421 PS2, Line 421: printk(BIOS_ERR, "dump_dsi_reg : reg[0x%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@423 PS2, Line 423: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x60] = 0x%x\n", read32((void *)DSI_BASE + 0x60)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@424 PS2, Line 424: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x00] = 0x%x\n", read32((void *)DSI_BASE)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@425 PS2, Line 425: printk(BIOS_ERR, "xxxdump_dsi_reg : reg[0x14] = 0x%x\n", read32((void *)DSI_BASE + 0x14)); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@448 PS2, Line 448: printk(BIOS_ERR, "delay : init_cmd[%d].len = 0x%x\n", i, init_cmd[i].len); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@457 PS2, Line 457: printk(BIOS_ERR, "INIT_DCS_CMD : init_cmd[i].len = 0, init_cmd[%d].data[0] = 0x%x\n", i, init_cmd[i].data[0]); line over 80 characters
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@521 PS2, Line 521: for (i = 0; i < 0x208; i = i + 4) { braces {} are not necessary for single statement blocks
https://review.coreboot.org/#/c/32097/2/src/soc/mediatek/mt8183/dsi.c@522 PS2, Line 522: printk(BIOS_ERR, "dump_dsi_reg : reg[ox%x] = 0x%x\n", i, read32((void *)DSI_BASE + i)); line over 80 characters
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#3).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 187 insertions(+), 57 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/3
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 3:
(40 comments)
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 77: gpio_set_pull(GPIO(MISC_BSI_CK_3), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 78: gpio_set_pull(GPIO(PERIPHERAL_EN9), GPIO_PULL_ENABLE, GPIO_PULL_UP); line over 80 characters
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 113: {INIT_DCS_CMD, 1, {MIPI_DCS_EXIT_SLEEP_MODE}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 115: {INIT_DCS_CMD, 1, {MIPI_DCS_SET_DISPLAY_ON}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 136: {INIT_GENENIC_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 139: {INIT_GENENIC_CMD, 6, {0x00, 0x08, 0x01, 0xf4, 0x01, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 141: {INIT_GENENIC_CMD, 6, {0x00, 0x0c, 0x00, 0x00, 0x00, 0x03}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 144: {INIT_GENENIC_CMD, 6, {0x00, 0x14, 0x0c, 0x3d, 0x80, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 145: {INIT_GENENIC_CMD, 6, {0x00, 0x20, 0x15, 0x92, 0x56, 0x7d}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 146: {INIT_GENENIC_CMD, 6, {0x00, 0x24, 0x00, 0x00, 0x30, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 148: {INIT_GENENIC_CMD, 6, {0x10, 0x08, 0x01, 0x20, 0x04, 0x45}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 149: {INIT_GENENIC_CMD, 6, {0x10, 0x1c, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 150: {INIT_GENENIC_CMD, 6, {0x20, 0x0c, 0x00, 0x00, 0x00, 0x04}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 152: {INIT_GENENIC_CMD, 6, {0x20, 0x10, 0x00, 0x4b, 0x00, 0x49}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 153: {INIT_GENENIC_CMD, 6, {0x20, 0xa0, 0x00, 0x00, 0x00, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 155: {INIT_GENENIC_CMD, 6, {0x60, 0x08, 0x00, 0xd9, 0x00, 0x08}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 156: {INIT_GENENIC_CMD, 6, {0x60, 0x14, 0x01, 0x00, 0x01, 0x06}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 158: {INIT_GENENIC_CMD, 6, {0x60, 0x80, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 160: {INIT_GENENIC_CMD, 6, {0x60, 0xa0, 0x00, 0x00, 0x00, 0x0f}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 163: {INIT_GENENIC_CMD, 6, {0x60, 0x0c, 0x0c, 0x50, 0x02, 0x18}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 165: {INIT_GENENIC_CMD, 6, {0x60, 0x10, 0x08, 0x00, 0x14, 0x50}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 167: {INIT_GENENIC_CMD, 6, {0x60, 0x84, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 168: {INIT_GENENIC_CMD, 6, {0x60, 0xa4, 0x00, 0x00, 0x03, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 171: {INIT_GENENIC_CMD, 2, {0xff, 0x01}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 172: {INIT_DCS_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 173: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 174: {INIT_DCS_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 175: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 176: {INIT_GENENIC_CMD, 2, {0xff, 0x00}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 178: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 179: {INIT_DCS_CMD, 1, {0x11}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 180: {DELAY_CMD, 120, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 181: {INIT_DCS_CMD, 1, {0x29}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 182: {DELAY_CMD, 20, {}}, space required after that close brace '}'
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 208: false, &edid, lcm_init_cmd, sizeof(lcm_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/3/src/mainboard/google/kukui/mainboard... PS3, Line 211: false, &edid, lcm_p097pfg_ssd2858_init_cmd, sizeof(lcm_p097pfg_ssd2858_init_cmd) / sizeof(struct lcm_init_table)); line over 80 characters
https://review.coreboot.org/#/c/32097/3/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/3/src/soc/mediatek/mt8183/dsi.c@357 PS3, Line 357: while(read32(&dsi->dsi_intsta) & (1 << 31)) { space required before the open parenthesis '('
https://review.coreboot.org/#/c/32097/3/src/soc/mediatek/mt8183/dsi.c@358 PS3, Line 358: printk(BIOS_ERR, "mtk_dsi_cmdq wait dsi no busy\n"); Prefer using '"%s...", __func__' to using 'mtk_dsi_cmdq', this function's name, in a string
https://review.coreboot.org/#/c/32097/3/src/soc/mediatek/mt8183/dsi.c@385 PS3, Line 385: dsi_clrsetbits_le32((void *)DSI_BASE + 0x200 + ((cmdq_off + i) & (0xfffffffc)), line over 80 characters
https://review.coreboot.org/#/c/32097/3/src/soc/mediatek/mt8183/dsi.c@425 PS3, Line 425: printk(BIOS_ERR, "INIT_DCS_CMD Len should not be 0. INIT_DCS_CMD : init_cmd[%d].data[0] = 0x%x\n", init_cmd[i].data[0]); line over 80 characters
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#4).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 191 insertions(+), 64 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/4
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#5).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 185 insertions(+), 65 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/5
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#7).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 195 insertions(+), 73 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/7
Nicolas Boichat has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/32097/7//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32097/7//COMMIT_MSG@11 PS7, Line 11: TEST=build pass Jitao: Can you give us a heads-up when you have tested this to work? We see updates but we're not sure if this is still WIP. Thanks.
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 7:
(2 comments)
https://review.coreboot.org/#/c/32097/7/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/7/src/mainboard/google/kukui/mainboard... PS7, Line 66: /* board from p2 */ can you clarify which are needed due to ssd2858?
I think we should refactor this function as
static void configure_display(int has_ssd2858) { ... }
instead of judging by board id.
https://review.coreboot.org/#/c/32097/7/src/mainboard/google/kukui/mainboard... PS7, Line 182: else we probably won't use ssd2858 in future, so the logic here should be
int has_ssd2858 = board_id() == 2;
if (has_ssd2858) { } else { }
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/32097/7//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32097/7//COMMIT_MSG@7 PS7, Line 7: mediaek mediatek
You-Cheng Syu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/32097/7/src/mainboard/google/kukui/mainboard... File src/mainboard/google/kukui/mainboard.c:
https://review.coreboot.org/#/c/32097/7/src/mainboard/google/kukui/mainboard... PS7, Line 16: #include <boardid.h> It would be better to have changes in soc/mediatek/mt8183/ and changes in mainboard/google/kukui/ in separate CLs.
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#8).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 195 insertions(+), 73 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/8
Hello Jitao Shi, Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32097
to look at the new patch set (#9).
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
WIP: mediaek/mt8183: add panel driver for kukui p2
BUG=b:80501386,b:117254947 BRANCH=none TEST=build pass
Change-Id: I878c9e0454acdbc0cd2cd310b8519efb845bb6ee Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/mainboard.c M src/soc/mediatek/mt8183/dsi.c M src/soc/mediatek/mt8183/include/soc/dsi.h 3 files changed, 202 insertions(+), 73 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/32097/9
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/#/c/32097/9/src/soc/mediatek/mt8183/dsi.c File src/soc/mediatek/mt8183/dsi.c:
https://review.coreboot.org/#/c/32097/9/src/soc/mediatek/mt8183/dsi.c@422 PS9, Line 422: if(init_cmd[i].len < 20) space required before the open parenthesis '('
jitao shi has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/32097 )
Change subject: WIP: mediaek/mt8183: add panel driver for kukui p2 ......................................................................
Abandoned