<div dir="ltr"><span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">Hi,Doug,
  Thank you very much for your suggestion. It seems that this cannot be changed on the hardware(a</span>lready discussed with vendor, TDDI's IC design is  this)<span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">
we really want the touchscreen to power on and off together with the panel, where the panel is in charge and the touchscreen always powers on after the panel and powers off before the panel.=====>As shown in T16 in the datasheet, the current TDDI IC not only depends on the power supply (the 1.8V power supply uses the same power supply for the touch driver and the panel driver), also </span><span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">depends </span><span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">on the RST state of the panel. Only when the RST state is high  touch HID </span><span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">can </span><span style="color:rgb(31,31,31);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;font-variant-ligatures:no-contextual;white-space:pre-wrap;background-color:rgba(68,71,70,0.08)">ready.</span><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 19, 2023 at 4:02 PM Cong Yang <<a href="mailto:yangcong5@huaqin.corp-partner.google.com">yangcong5@huaqin.corp-partner.google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The Starry-ili9882 panel also is a TDDI IC. From the datasheet,panel<br>
need the RST signal is high when touch communicate and also MIPI needs<br>
to keep the LP11 state before the lcm_reset pin is pulled high. So add<br>
enable_gpio_init_value and lp11_before_reset flag.<br>
<br>
Signed-off-by: Cong Yang <<a href="mailto:yangcong5@huaqin.corp-partner.google.com" target="_blank">yangcong5@huaqin.corp-partner.google.com</a>><br>
---<br>
 .../gpu/drm/panel/panel-boe-tv101wum-nl6.c    | 371 ++++++++++++++++++<br>
 1 file changed, 371 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c<br>
index 7aaa85b0de8a..8d564df6e5e3 100644<br>
--- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c<br>
+++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c<br>
@@ -146,6 +146,344 @@ static const struct panel_init_cmd starry_himax83102_j02_init_cmd[] = {<br>
        {},<br>
 };<br>
<br>
+static const struct panel_init_cmd starry_ili9882t_init_cmd[] = {<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x01),<br>
+       _INIT_DCS_CMD(0x00, 0x42),<br>
+       _INIT_DCS_CMD(0x01, 0x11),<br>
+       _INIT_DCS_CMD(0x02, 0x00),<br>
+       _INIT_DCS_CMD(0x03, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0x04, 0x01),<br>
+       _INIT_DCS_CMD(0x05, 0x11),<br>
+       _INIT_DCS_CMD(0x06, 0x00),<br>
+       _INIT_DCS_CMD(0x07, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0x08, 0x80),<br>
+       _INIT_DCS_CMD(0x09, 0x81),<br>
+       _INIT_DCS_CMD(0x0A, 0x71),<br>
+       _INIT_DCS_CMD(0x0B, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0x0C, 0x00),<br>
+       _INIT_DCS_CMD(0x0E, 0x1A),<br>
+<br>
+       _INIT_DCS_CMD(0x24, 0x00),<br>
+       _INIT_DCS_CMD(0x25, 0x00),<br>
+       _INIT_DCS_CMD(0x26, 0x00),<br>
+       _INIT_DCS_CMD(0x27, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0x2C, 0xD4),<br>
+       _INIT_DCS_CMD(0xB9, 0x40),<br>
+<br>
+       _INIT_DCS_CMD(0xB0, 0x11),<br>
+<br>
+       _INIT_DCS_CMD(0xE6, 0x32),<br>
+       _INIT_DCS_CMD(0xD1, 0x30),<br>
+<br>
+       _INIT_DCS_CMD(0xD6, 0x55),<br>
+<br>
+       _INIT_DCS_CMD(0xD0, 0x01),<br>
+       _INIT_DCS_CMD(0xE3, 0x93),<br>
+       _INIT_DCS_CMD(0xE4, 0x00),<br>
+       _INIT_DCS_CMD(0xE5, 0x80),<br>
+<br>
+       _INIT_DCS_CMD(0x31, 0x07),<br>
+       _INIT_DCS_CMD(0x32, 0x07),<br>
+       _INIT_DCS_CMD(0x33, 0x07),<br>
+       _INIT_DCS_CMD(0x34, 0x07),<br>
+       _INIT_DCS_CMD(0x35, 0x07),<br>
+       _INIT_DCS_CMD(0x36, 0x01),<br>
+       _INIT_DCS_CMD(0x37, 0x00),<br>
+       _INIT_DCS_CMD(0x38, 0x28),<br>
+       _INIT_DCS_CMD(0x39, 0x29),<br>
+       _INIT_DCS_CMD(0x3A, 0x11),<br>
+       _INIT_DCS_CMD(0x3B, 0x13),<br>
+       _INIT_DCS_CMD(0x3C, 0x15),<br>
+       _INIT_DCS_CMD(0x3D, 0x17),<br>
+       _INIT_DCS_CMD(0x3E, 0x09),<br>
+       _INIT_DCS_CMD(0x3F, 0x0D),<br>
+       _INIT_DCS_CMD(0x40, 0x02),<br>
+       _INIT_DCS_CMD(0x41, 0x02),<br>
+       _INIT_DCS_CMD(0x42, 0x02),<br>
+       _INIT_DCS_CMD(0x43, 0x02),<br>
+       _INIT_DCS_CMD(0x44, 0x02),<br>
+       _INIT_DCS_CMD(0x45, 0x02),<br>
+       _INIT_DCS_CMD(0x46, 0x02),<br>
+<br>
+       _INIT_DCS_CMD(0x47, 0x07),<br>
+       _INIT_DCS_CMD(0x48, 0x07),<br>
+       _INIT_DCS_CMD(0x49, 0x07),<br>
+       _INIT_DCS_CMD(0x4A, 0x07),<br>
+       _INIT_DCS_CMD(0x4B, 0x07),<br>
+       _INIT_DCS_CMD(0x4C, 0x01),<br>
+       _INIT_DCS_CMD(0x4D, 0x00),<br>
+       _INIT_DCS_CMD(0x4E, 0x28),<br>
+       _INIT_DCS_CMD(0x4F, 0x29),<br>
+       _INIT_DCS_CMD(0x50, 0x10),<br>
+       _INIT_DCS_CMD(0x51, 0x12),<br>
+       _INIT_DCS_CMD(0x52, 0x14),<br>
+       _INIT_DCS_CMD(0x53, 0x16),<br>
+       _INIT_DCS_CMD(0x54, 0x08),<br>
+       _INIT_DCS_CMD(0x55, 0x0C),<br>
+       _INIT_DCS_CMD(0x56, 0x02),<br>
+       _INIT_DCS_CMD(0x57, 0x02),<br>
+       _INIT_DCS_CMD(0x58, 0x02),<br>
+       _INIT_DCS_CMD(0x59, 0x02),<br>
+       _INIT_DCS_CMD(0x5A, 0x02),<br>
+       _INIT_DCS_CMD(0x5B, 0x02),<br>
+       _INIT_DCS_CMD(0x5C, 0x02),<br>
+<br>
+       _INIT_DCS_CMD(0x61, 0x07),<br>
+       _INIT_DCS_CMD(0x62, 0x07),<br>
+       _INIT_DCS_CMD(0x63, 0x07),<br>
+       _INIT_DCS_CMD(0x64, 0x07),<br>
+       _INIT_DCS_CMD(0x65, 0x07),<br>
+       _INIT_DCS_CMD(0x66, 0x01),<br>
+       _INIT_DCS_CMD(0x67, 0x00),<br>
+       _INIT_DCS_CMD(0x68, 0x28),<br>
+       _INIT_DCS_CMD(0x69, 0x29),<br>
+       _INIT_DCS_CMD(0x6A, 0x16),<br>
+       _INIT_DCS_CMD(0x6B, 0x14),<br>
+       _INIT_DCS_CMD(0x6C, 0x12),<br>
+       _INIT_DCS_CMD(0x6D, 0x10),<br>
+       _INIT_DCS_CMD(0x6E, 0x0C),<br>
+       _INIT_DCS_CMD(0x6F, 0x08),<br>
+       _INIT_DCS_CMD(0x70, 0x02),<br>
+       _INIT_DCS_CMD(0x71, 0x02),<br>
+       _INIT_DCS_CMD(0x72, 0x02),<br>
+       _INIT_DCS_CMD(0x73, 0x02),<br>
+       _INIT_DCS_CMD(0x74, 0x02),<br>
+       _INIT_DCS_CMD(0x75, 0x02),<br>
+       _INIT_DCS_CMD(0x76, 0x02),<br>
+<br>
+       _INIT_DCS_CMD(0x77, 0x07),<br>
+       _INIT_DCS_CMD(0x78, 0x07),<br>
+       _INIT_DCS_CMD(0x79, 0x07),<br>
+       _INIT_DCS_CMD(0x7A, 0x07),<br>
+       _INIT_DCS_CMD(0x7B, 0x07),<br>
+       _INIT_DCS_CMD(0x7C, 0x01),<br>
+       _INIT_DCS_CMD(0x7D, 0x00),<br>
+       _INIT_DCS_CMD(0x7E, 0x28),<br>
+       _INIT_DCS_CMD(0x7F, 0x29),<br>
+       _INIT_DCS_CMD(0x80, 0x17),<br>
+       _INIT_DCS_CMD(0x81, 0x15),<br>
+       _INIT_DCS_CMD(0x82, 0x13),<br>
+       _INIT_DCS_CMD(0x83, 0x11),<br>
+       _INIT_DCS_CMD(0x84, 0x0D),<br>
+       _INIT_DCS_CMD(0x85, 0x09),<br>
+       _INIT_DCS_CMD(0x86, 0x02),<br>
+       _INIT_DCS_CMD(0x87, 0x07),<br>
+       _INIT_DCS_CMD(0x88, 0x07),<br>
+       _INIT_DCS_CMD(0x89, 0x07),<br>
+       _INIT_DCS_CMD(0x8A, 0x07),<br>
+       _INIT_DCS_CMD(0x8B, 0x07),<br>
+       _INIT_DCS_CMD(0x8C, 0x07),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x02),<br>
+       _INIT_DCS_CMD(0x29, 0x3A),<br>
+       _INIT_DCS_CMD(0x2A, 0x3B),<br>
+<br>
+       _INIT_DCS_CMD(0x06, 0x01),<br>
+       _INIT_DCS_CMD(0x07, 0x01),<br>
+       _INIT_DCS_CMD(0x08, 0x0C),<br>
+       _INIT_DCS_CMD(0x09, 0x44),<br>
+<br>
+       _INIT_DCS_CMD(0x3C, 0x0A),<br>
+       _INIT_DCS_CMD(0x39, 0x11),<br>
+       _INIT_DCS_CMD(0x3D, 0x00),<br>
+       _INIT_DCS_CMD(0x3A, 0x0C),<br>
+       _INIT_DCS_CMD(0x3B, 0x44),<br>
+<br>
+       _INIT_DCS_CMD(0x53, 0x1F),<br>
+       _INIT_DCS_CMD(0x5E, 0x40),<br>
+       _INIT_DCS_CMD(0x84, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x03),<br>
+       _INIT_DCS_CMD(0x20, 0x01),<br>
+       _INIT_DCS_CMD(0x21, 0x3C),<br>
+       _INIT_DCS_CMD(0x22, 0xFA),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x0A),<br>
+       _INIT_DCS_CMD(0xE0, 0x01),<br>
+       _INIT_DCS_CMD(0xE2, 0x01),<br>
+       _INIT_DCS_CMD(0xE5, 0x91),<br>
+       _INIT_DCS_CMD(0xE6, 0x3C),<br>
+       _INIT_DCS_CMD(0xE7, 0x00),<br>
+       _INIT_DCS_CMD(0xE8, 0xFA),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x12),<br>
+       _INIT_DCS_CMD(0x87, 0x2C),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x05),<br>
+       _INIT_DCS_CMD(0x73, 0xE5),<br>
+       _INIT_DCS_CMD(0x7F, 0x6B),<br>
+       _INIT_DCS_CMD(0x6D, 0xA4),<br>
+       _INIT_DCS_CMD(0x79, 0x54),<br>
+       _INIT_DCS_CMD(0x69, 0x97),<br>
+       _INIT_DCS_CMD(0x6A, 0x97),<br>
+       _INIT_DCS_CMD(0xA5, 0x3F),<br>
+       _INIT_DCS_CMD(0x61, 0xDA),<br>
+       _INIT_DCS_CMD(0xA7, 0xF1),<br>
+       _INIT_DCS_CMD(0x5F, 0x01),<br>
+       _INIT_DCS_CMD(0x62, 0x3F),<br>
+       _INIT_DCS_CMD(0x1D, 0x90),<br>
+       _INIT_DCS_CMD(0x86, 0x87),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x06),<br>
+       _INIT_DCS_CMD(0xC0, 0x80),<br>
+       _INIT_DCS_CMD(0xC1, 0x07),<br>
+       _INIT_DCS_CMD(0xCA, 0x58),<br>
+       _INIT_DCS_CMD(0xCB, 0x02),<br>
+       _INIT_DCS_CMD(0xCE, 0x58),<br>
+       _INIT_DCS_CMD(0xCF, 0x02),<br>
+       _INIT_DCS_CMD(0x67, 0x60),<br>
+       _INIT_DCS_CMD(0x10, 0x00),<br>
+       _INIT_DCS_CMD(0x92, 0x22),<br>
+       _INIT_DCS_CMD(0xD3, 0x08),<br>
+       _INIT_DCS_CMD(0xD6, 0x55),<br>
+       _INIT_DCS_CMD(0xDC, 0x38),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x08),<br>
+       _INIT_DCS_CMD(0xE0, 0x00, 0x10, 0x2A, 0x4D, 0x61, 0x56, 0x6A, 0x6E, 0x79, 0x76, 0x8F, 0x95, 0x98, 0xAE, 0xAA, 0xB2, 0xBB, 0xCE, 0xC6, 0xBD, 0xD5, 0xE2, 0xE8),<br>
+       _INIT_DCS_CMD(0xE1, 0x00, 0x10, 0x2A, 0x4D, 0x61, 0x56, 0x6A, 0x6E, 0x79, 0x76, 0x8F, 0x95, 0x98, 0xAE, 0xAA, 0xB2, 0xBB, 0xCE, 0xC6, 0xBD, 0xD5, 0xE2, 0xE8),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x04),<br>
+       _INIT_DCS_CMD(0xBA, 0x81),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x0C),<br>
+       _INIT_DCS_CMD(0x00, 0x02),<br>
+       _INIT_DCS_CMD(0x01, 0x00),<br>
+       _INIT_DCS_CMD(0x02, 0x03),<br>
+       _INIT_DCS_CMD(0x03, 0x01),<br>
+       _INIT_DCS_CMD(0x04, 0x03),<br>
+       _INIT_DCS_CMD(0x05, 0x02),<br>
+       _INIT_DCS_CMD(0x06, 0x04),<br>
+       _INIT_DCS_CMD(0x07, 0x03),<br>
+       _INIT_DCS_CMD(0x08, 0x03),<br>
+       _INIT_DCS_CMD(0x09, 0x04),<br>
+       _INIT_DCS_CMD(0x0A, 0x04),<br>
+       _INIT_DCS_CMD(0x0B, 0x05),<br>
+       _INIT_DCS_CMD(0x0C, 0x04),<br>
+       _INIT_DCS_CMD(0x0D, 0x06),<br>
+       _INIT_DCS_CMD(0x0E, 0x05),<br>
+       _INIT_DCS_CMD(0x0F, 0x07),<br>
+       _INIT_DCS_CMD(0x10, 0x04),<br>
+       _INIT_DCS_CMD(0x11, 0x08),<br>
+       _INIT_DCS_CMD(0x12, 0x05),<br>
+       _INIT_DCS_CMD(0x13, 0x09),<br>
+       _INIT_DCS_CMD(0x14, 0x05),<br>
+       _INIT_DCS_CMD(0x15, 0x0A),<br>
+       _INIT_DCS_CMD(0x16, 0x06),<br>
+       _INIT_DCS_CMD(0x17, 0x0B),<br>
+       _INIT_DCS_CMD(0x18, 0x05),<br>
+       _INIT_DCS_CMD(0x19, 0x0C),<br>
+       _INIT_DCS_CMD(0x1A, 0x06),<br>
+       _INIT_DCS_CMD(0x1B, 0x0D),<br>
+       _INIT_DCS_CMD(0x1C, 0x06),<br>
+       _INIT_DCS_CMD(0x1D, 0x0E),<br>
+       _INIT_DCS_CMD(0x1E, 0x07),<br>
+       _INIT_DCS_CMD(0x1F, 0x0F),<br>
+       _INIT_DCS_CMD(0x20, 0x06),<br>
+       _INIT_DCS_CMD(0x21, 0x10),<br>
+       _INIT_DCS_CMD(0x22, 0x07),<br>
+       _INIT_DCS_CMD(0x23, 0x11),<br>
+       _INIT_DCS_CMD(0x24, 0x07),<br>
+       _INIT_DCS_CMD(0x25, 0x12),<br>
+       _INIT_DCS_CMD(0x26, 0x08),<br>
+       _INIT_DCS_CMD(0x27, 0x13),<br>
+       _INIT_DCS_CMD(0x28, 0x07),<br>
+       _INIT_DCS_CMD(0x29, 0x14),<br>
+       _INIT_DCS_CMD(0x2A, 0x08),<br>
+       _INIT_DCS_CMD(0x2B, 0x15),<br>
+       _INIT_DCS_CMD(0x2C, 0x08),<br>
+       _INIT_DCS_CMD(0x2D, 0x16),<br>
+       _INIT_DCS_CMD(0x2E, 0x09),<br>
+       _INIT_DCS_CMD(0x2F, 0x17),<br>
+       _INIT_DCS_CMD(0x30, 0x08),<br>
+       _INIT_DCS_CMD(0x31, 0x18),<br>
+       _INIT_DCS_CMD(0x32, 0x09),<br>
+       _INIT_DCS_CMD(0x33, 0x19),<br>
+       _INIT_DCS_CMD(0x34, 0x09),<br>
+       _INIT_DCS_CMD(0x35, 0x1A),<br>
+       _INIT_DCS_CMD(0x36, 0x0A),<br>
+       _INIT_DCS_CMD(0x37, 0x1B),<br>
+       _INIT_DCS_CMD(0x38, 0x0A),<br>
+       _INIT_DCS_CMD(0x39, 0x1C),<br>
+       _INIT_DCS_CMD(0x3A, 0x0A),<br>
+       _INIT_DCS_CMD(0x3B, 0x1D),<br>
+       _INIT_DCS_CMD(0x3C, 0x0A),<br>
+       _INIT_DCS_CMD(0x3D, 0x1E),<br>
+       _INIT_DCS_CMD(0x3E, 0x0A),<br>
+       _INIT_DCS_CMD(0x3F, 0x1F),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x04),<br>
+       _INIT_DCS_CMD(0xBA, 0x01),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x0E),<br>
+       _INIT_DCS_CMD(0x02, 0x0C),<br>
+       _INIT_DCS_CMD(0x20, 0x10),<br>
+       _INIT_DCS_CMD(0x25, 0x16),<br>
+       _INIT_DCS_CMD(0x26, 0xE0),<br>
+       _INIT_DCS_CMD(0x27, 0x00),<br>
+       _INIT_DCS_CMD(0x29, 0x71),<br>
+       _INIT_DCS_CMD(0x2A, 0x46),<br>
+       _INIT_DCS_CMD(0x2B, 0x1F),<br>
+       _INIT_DCS_CMD(0x2D, 0xC7),<br>
+       _INIT_DCS_CMD(0x31, 0x02),<br>
+       _INIT_DCS_CMD(0x32, 0xDF),<br>
+       _INIT_DCS_CMD(0x33, 0x5A),<br>
+       _INIT_DCS_CMD(0x34, 0xC0),<br>
+       _INIT_DCS_CMD(0x35, 0x5A),<br>
+       _INIT_DCS_CMD(0x36, 0xC0),<br>
+       _INIT_DCS_CMD(0x38, 0x65),<br>
+       _INIT_DCS_CMD(0x80, 0x3E),<br>
+       _INIT_DCS_CMD(0x81, 0xA0),<br>
+       _INIT_DCS_CMD(0xB0, 0x01),<br>
+       _INIT_DCS_CMD(0xB1, 0xCC),<br>
+       _INIT_DCS_CMD(0xC0, 0x12),<br>
+       _INIT_DCS_CMD(0xC2, 0xCC),<br>
+       _INIT_DCS_CMD(0xC3, 0xCC),<br>
+       _INIT_DCS_CMD(0xC4, 0xCC),<br>
+       _INIT_DCS_CMD(0xC5, 0xCC),<br>
+       _INIT_DCS_CMD(0xC6, 0xCC),<br>
+       _INIT_DCS_CMD(0xC7, 0xCC),<br>
+       _INIT_DCS_CMD(0xC8, 0xCC),<br>
+       _INIT_DCS_CMD(0xC9, 0xCC),<br>
+       _INIT_DCS_CMD(0x30, 0x00),<br>
+       _INIT_DCS_CMD(0x00, 0x81),<br>
+       _INIT_DCS_CMD(0x08, 0x02),<br>
+       _INIT_DCS_CMD(0x09, 0x00),<br>
+       _INIT_DCS_CMD(0x07, 0x21),<br>
+       _INIT_DCS_CMD(0x04, 0x10),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x1E),<br>
+       _INIT_DCS_CMD(0x60, 0x00),<br>
+       _INIT_DCS_CMD(0x64, 0x00),<br>
+       _INIT_DCS_CMD(0x6D, 0x00),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x0B),<br>
+       _INIT_DCS_CMD(0xA6, 0x44),<br>
+       _INIT_DCS_CMD(0xA7, 0xB6),<br>
+       _INIT_DCS_CMD(0xA8, 0x03),<br>
+       _INIT_DCS_CMD(0xA9, 0x03),<br>
+       _INIT_DCS_CMD(0xAA, 0x51),<br>
+       _INIT_DCS_CMD(0xAB, 0x51),<br>
+       _INIT_DCS_CMD(0xAC, 0x04),<br>
+       _INIT_DCS_CMD(0xBD, 0x92),<br>
+       _INIT_DCS_CMD(0xBE, 0xA1),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x05),<br>
+       _INIT_DCS_CMD(0x86, 0x87),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x06),<br>
+       _INIT_DCS_CMD(0x92, 0x22),<br>
+<br>
+       _INIT_DCS_CMD(0xFF, 0x98, 0x82, 0x00),<br>
+       _INIT_DCS_CMD(0x11),<br>
+       _INIT_DELAY_CMD(120),<br>
+       _INIT_DCS_CMD(0x29),<br>
+       {},<br>
+};<br>
+<br>
 static const struct panel_init_cmd boe_tv110c9m_init_cmd[] = {<br>
        _INIT_DCS_CMD(0xFF, 0x20),<br>
        _INIT_DCS_CMD(0xFB, 0x01),<br>
@@ -1796,6 +2134,36 @@ static const struct panel_desc starry_himax83102_j02_desc = {<br>
        .enable_gpio_init_value = 1,<br>
        .lp11_before_reset = true,<br>
 };<br>
+<br>
+static const struct drm_display_mode starry_ili9882t_default_mode = {<br>
+       .clock = 165280,<br>
+       .hdisplay = 1200,<br>
+       .hsync_start = 1200 + 32,<br>
+       .hsync_end = 1200 + 32 + 30,<br>
+       .htotal = 1200 + 32 + 30 + 32,<br>
+       .vdisplay = 1920,<br>
+       .vsync_start = 1920 + 68,<br>
+       .vsync_end = 1920 + 68 + 2,<br>
+       .vtotal = 1920 + 68 + 2 + 10,<br>
+       .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,<br>
+};<br>
+<br>
+static const struct panel_desc starry_ili9882t_desc = {<br>
+       .modes = &starry_ili9882t_default_mode,<br>
+       .bpc = 8,<br>
+       .size = {<br>
+               .width_mm = 141,<br>
+               .height_mm = 226,<br>
+       },<br>
+       .lanes = 4,<br>
+       .format = MIPI_DSI_FMT_RGB888,<br>
+       .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |<br>
+                     MIPI_DSI_MODE_LPM,<br>
+       .init_cmds = starry_ili9882t_init_cmd,<br>
+       .enable_gpio_init_value = 1,<br>
+       .lp11_before_reset = true,<br>
+};<br>
+<br>
 static int boe_panel_get_modes(struct drm_panel *panel,<br>
                               struct drm_connector *connector)<br>
 {<br>
@@ -1972,6 +2340,9 @@ static const struct of_device_id boe_of_match[] = {<br>
        { .compatible = "starry,himax83102-j02",<br>
          .data = &starry_himax83102_j02_desc<br>
        },<br>
+       { .compatible = "starry,ili9882t",<br>
+         .data = &starry_ili9882t_desc<br>
+       },<br>
        { /* sentinel */ }<br>
 };<br>
 MODULE_DEVICE_TABLE(of, boe_of_match);<br>
-- <br>
2.25.1<br>
<br>
</blockquote></div>