perseus: Fix brightness by Pagnchanak

This commit is contained in:
Marijan Limov 2021-08-26 16:04:47 +02:00
parent f294265070
commit 7f3d7859be
4 changed files with 284 additions and 492 deletions

Binary file not shown.

View File

@ -41652,165 +41652,7 @@ DefinitionBlock ("", "DSDT", 2, "QCOMM ", "SDM850 ", 0x00000003)
})
}
Scope (PEP0)
{
Method (LPMX, 0, NotSerialized)
{
Return (LPXC) /* \_SB_.PEP0.LPXC */
}
Name (LPXC, Package (0x01)
{
Package (0x04)
{
"DEVICE",
"\\_SB.TSC1",
Package (0x0B)
{
"DSTATE",
Zero,
Package (0x02)
{
"PMICVREGVOTE",
Package (0x06)
{
"PPP_RESOURCE_ID_LDO28_A",
One,
0x002B9440,
One,
0x07,
Zero
}
},
Package (0x02)
{
"DELAY",
Package (0x01)
{
0x2710
}
},
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x58,
One,
Zero,
One,
Zero,
Zero
}
},
Package (0x02)
{
"DELAY",
Package (0x01)
{
0x2710
}
},
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x63,
One,
Zero,
One,
Zero,
Zero
}
},
Package (0x02)
{
"DELAY",
Package (0x01)
{
0x2710
}
},
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x63,
Zero,
Zero,
One,
Zero,
Zero
}
},
Package (0x02)
{
"DELAY",
Package (0x01)
{
0x2710
}
},
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x63,
One,
Zero,
One,
Zero,
Zero
}
}
},
Package (0x04)
{
"DSTATE",
0x03,
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x63,
Zero,
Zero,
One,
Zero,
Zero
}
},
Package (0x02)
{
"TLMMGPIO",
Package (0x06)
{
0x58,
Zero,
Zero,
One,
Zero,
Zero
}
}
}
}
})
}
Include ("cust_touch_resources.asl")
Device (BAM1)
{
@ -54322,339 +54164,8 @@ DefinitionBlock ("", "DSDT", 2, "QCOMM ", "SDM850 ", 0x00000003)
Method (_ROM, 3, NotSerialized) // _ROM: Read-Only Memory
{
Name (PCFG, Buffer (0x0A50)
{
/* 0000 */ 0x3C, 0x3F, 0x78, 0x6D, 0x6C, 0x20, 0x76, 0x65, // <?xml ve
/* 0008 */ 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3D, 0x27, 0x31, // rsion='1
/* 0010 */ 0x2E, 0x30, 0x27, 0x20, 0x65, 0x6E, 0x63, 0x6F, // .0' enco
/* 0018 */ 0x64, 0x69, 0x6E, 0x67, 0x3D, 0x27, 0x75, 0x74, // ding='ut
/* 0020 */ 0x66, 0x2D, 0x38, 0x27, 0x3F, 0x3E, 0x0A, 0x3C, // f-8'?>.<
/* 0028 */ 0x50, 0x61, 0x6E, 0x65, 0x6C, 0x4E, 0x61, 0x6D, // PanelNam
/* 0030 */ 0x65, 0x3E, 0x53, 0x41, 0x4D, 0x53, 0x55, 0x4E, // e>SAMSUN
/* 0038 */ 0x47, 0x5F, 0x45, 0x41, 0x38, 0x30, 0x37, 0x36, // G_EA8076
/* 0040 */ 0x5F, 0x46, 0x48, 0x44, 0x3C, 0x2F, 0x50, 0x61, // _FHD</Pa
/* 0048 */ 0x6E, 0x65, 0x6C, 0x4E, 0x61, 0x6D, 0x65, 0x3E, // nelName>
/* 0050 */ 0x0A, 0x3C, 0x50, 0x61, 0x6E, 0x65, 0x6C, 0x44, // .<PanelD
/* 0058 */ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, // escripti
/* 0060 */ 0x6F, 0x6E, 0x3E, 0x53, 0x61, 0x6D, 0x73, 0x75, // on>Samsu
/* 0068 */ 0x6E, 0x67, 0x20, 0x65, 0x61, 0x38, 0x30, 0x37, // ng ea807
/* 0070 */ 0x36, 0x20, 0x53, 0x69, 0x6E, 0x67, 0x6C, 0x65, // 6 Single
/* 0078 */ 0x20, 0x44, 0x53, 0x49, 0x20, 0x43, 0x6F, 0x6D, // DSI Com
/* 0080 */ 0x6D, 0x61, 0x6E, 0x64, 0x20, 0x4D, 0x6F, 0x64, // mand Mod
/* 0088 */ 0x65, 0x20, 0x50, 0x61, 0x6E, 0x65, 0x6C, 0x20, // e Panel
/* 0090 */ 0x28, 0x31, 0x30, 0x38, 0x30, 0x78, 0x32, 0x33, // (1080x23
/* 0098 */ 0x34, 0x30, 0x20, 0x32, 0x34, 0x62, 0x70, 0x70, // 40 24bpp
/* 00A0 */ 0x29, 0x3C, 0x2F, 0x50, 0x61, 0x6E, 0x65, 0x6C, // )</Panel
/* 00A8 */ 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, // Descript
/* 00B0 */ 0x69, 0x6F, 0x6E, 0x3E, 0x0A, 0x3C, 0x47, 0x72, // ion>.<Gr
/* 00B8 */ 0x6F, 0x75, 0x70, 0x20, 0x69, 0x64, 0x3D, 0x27, // oup id='
/* 00C0 */ 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, 0x54, // Active T
/* 00C8 */ 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x27, 0x3E, 0x0A, // iming'>.
/* 00D0 */ 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, // <Horizon
/* 00D8 */ 0x74, 0x61, 0x6C, 0x41, 0x63, 0x74, 0x69, 0x76, // talActiv
/* 00E0 */ 0x65, 0x3E, 0x31, 0x30, 0x38, 0x30, 0x3C, 0x2F, // e>1080</
/* 00E8 */ 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, 0x74, // Horizont
/* 00F0 */ 0x61, 0x6C, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, // alActive
/* 00F8 */ 0x3E, 0x0A, 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, // >.<Horiz
/* 0100 */ 0x6F, 0x6E, 0x74, 0x61, 0x6C, 0x46, 0x72, 0x6F, // ontalFro
/* 0108 */ 0x6E, 0x74, 0x50, 0x6F, 0x72, 0x63, 0x68, 0x3E, // ntPorch>
/* 0110 */ 0x36, 0x34, 0x3C, 0x2F, 0x48, 0x6F, 0x72, 0x69, // 64</Hori
/* 0118 */ 0x7A, 0x6F, 0x6E, 0x74, 0x61, 0x6C, 0x46, 0x72, // zontalFr
/* 0120 */ 0x6F, 0x6E, 0x74, 0x50, 0x6F, 0x72, 0x63, 0x68, // ontPorch
/* 0128 */ 0x3E, 0x0A, 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, // >.<Horiz
/* 0130 */ 0x6F, 0x6E, 0x74, 0x61, 0x6C, 0x42, 0x61, 0x63, // ontalBac
/* 0138 */ 0x6B, 0x50, 0x6F, 0x72, 0x63, 0x68, 0x3E, 0x36, // kPorch>6
/* 0140 */ 0x34, 0x3C, 0x2F, 0x48, 0x6F, 0x72, 0x69, 0x7A, // 4</Horiz
/* 0148 */ 0x6F, 0x6E, 0x74, 0x61, 0x6C, 0x42, 0x61, 0x63, // ontalBac
/* 0150 */ 0x6B, 0x50, 0x6F, 0x72, 0x63, 0x68, 0x3E, 0x0A, // kPorch>.
/* 0158 */ 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, // <Horizon
/* 0160 */ 0x74, 0x61, 0x6C, 0x53, 0x79, 0x6E, 0x63, 0x50, // talSyncP
/* 0168 */ 0x75, 0x6C, 0x73, 0x65, 0x3E, 0x32, 0x30, 0x3C, // ulse>20<
/* 0170 */ 0x2F, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, // /Horizon
/* 0178 */ 0x74, 0x61, 0x6C, 0x53, 0x79, 0x6E, 0x63, 0x50, // talSyncP
/* 0180 */ 0x75, 0x6C, 0x73, 0x65, 0x3E, 0x0A, 0x3C, 0x48, // ulse>.<H
/* 0188 */ 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, 0x74, 0x61, // orizonta
/* 0190 */ 0x6C, 0x53, 0x79, 0x6E, 0x63, 0x53, 0x6B, 0x65, // lSyncSke
/* 0198 */ 0x77, 0x3E, 0x30, 0x3C, 0x2F, 0x48, 0x6F, 0x72, // w>0</Hor
/* 01A0 */ 0x69, 0x7A, 0x6F, 0x6E, 0x74, 0x61, 0x6C, 0x53, // izontalS
/* 01A8 */ 0x79, 0x6E, 0x63, 0x53, 0x6B, 0x65, 0x77, 0x3E, // yncSkew>
/* 01B0 */ 0x0A, 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, // .<Horizo
/* 01B8 */ 0x6E, 0x74, 0x61, 0x6C, 0x4C, 0x65, 0x66, 0x74, // ntalLeft
/* 01C0 */ 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3E, 0x30, // Border>0
/* 01C8 */ 0x3C, 0x2F, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, // </Horizo
/* 01D0 */ 0x6E, 0x74, 0x61, 0x6C, 0x4C, 0x65, 0x66, 0x74, // ntalLeft
/* 01D8 */ 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3E, 0x0A, // Border>.
/* 01E0 */ 0x3C, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, 0x6E, // <Horizon
/* 01E8 */ 0x74, 0x61, 0x6C, 0x52, 0x69, 0x67, 0x68, 0x74, // talRight
/* 01F0 */ 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3E, 0x30, // Border>0
/* 01F8 */ 0x3C, 0x2F, 0x48, 0x6F, 0x72, 0x69, 0x7A, 0x6F, // </Horizo
/* 0200 */ 0x6E, 0x74, 0x61, 0x6C, 0x52, 0x69, 0x67, 0x68, // ntalRigh
/* 0208 */ 0x74, 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3E, // tBorder>
/* 0210 */ 0x0A, 0x3C, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, // .<Vertic
/* 0218 */ 0x61, 0x6C, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, // alActive
/* 0220 */ 0x3E, 0x32, 0x33, 0x34, 0x30, 0x3C, 0x2F, 0x56, // >2340</V
/* 0228 */ 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x41, // erticalA
/* 0230 */ 0x63, 0x74, 0x69, 0x76, 0x65, 0x3E, 0x0A, 0x3C, // ctive>.<
/* 0238 */ 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, // Vertical
/* 0240 */ 0x46, 0x72, 0x6F, 0x6E, 0x74, 0x50, 0x6F, 0x72, // FrontPor
/* 0248 */ 0x63, 0x68, 0x3E, 0x36, 0x34, 0x3C, 0x2F, 0x56, // ch>64</V
/* 0250 */ 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x46, // erticalF
/* 0258 */ 0x72, 0x6F, 0x6E, 0x74, 0x50, 0x6F, 0x72, 0x63, // rontPorc
/* 0260 */ 0x68, 0x3E, 0x0A, 0x3C, 0x56, 0x65, 0x72, 0x74, // h>.<Vert
/* 0268 */ 0x69, 0x63, 0x61, 0x6C, 0x42, 0x61, 0x63, 0x6B, // icalBack
/* 0270 */ 0x50, 0x6F, 0x72, 0x63, 0x68, 0x3E, 0x36, 0x34, // Porch>64
/* 0278 */ 0x3C, 0x2F, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, // </Vertic
/* 0280 */ 0x61, 0x6C, 0x42, 0x61, 0x63, 0x6B, 0x50, 0x6F, // alBackPo
/* 0288 */ 0x72, 0x63, 0x68, 0x3E, 0x0A, 0x3C, 0x56, 0x65, // rch>.<Ve
/* 0290 */ 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x53, 0x79, // rticalSy
/* 0298 */ 0x6E, 0x63, 0x50, 0x75, 0x6C, 0x73, 0x65, 0x3E, // ncPulse>
/* 02A0 */ 0x32, 0x30, 0x3C, 0x2F, 0x56, 0x65, 0x72, 0x74, // 20</Vert
/* 02A8 */ 0x69, 0x63, 0x61, 0x6C, 0x53, 0x79, 0x6E, 0x63, // icalSync
/* 02B0 */ 0x50, 0x75, 0x6C, 0x73, 0x65, 0x3E, 0x0A, 0x3C, // Pulse>.<
/* 02B8 */ 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, // Vertical
/* 02C0 */ 0x53, 0x79, 0x6E, 0x63, 0x53, 0x6B, 0x65, 0x77, // SyncSkew
/* 02C8 */ 0x3E, 0x30, 0x3C, 0x2F, 0x56, 0x65, 0x72, 0x74, // >0</Vert
/* 02D0 */ 0x69, 0x63, 0x61, 0x6C, 0x53, 0x79, 0x6E, 0x63, // icalSync
/* 02D8 */ 0x53, 0x6B, 0x65, 0x77, 0x3E, 0x0A, 0x3C, 0x56, // Skew>.<V
/* 02E0 */ 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, 0x54, // erticalT
/* 02E8 */ 0x6F, 0x70, 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, // opBorder
/* 02F0 */ 0x3E, 0x30, 0x3C, 0x2F, 0x56, 0x65, 0x72, 0x74, // >0</Vert
/* 02F8 */ 0x69, 0x63, 0x61, 0x6C, 0x54, 0x6F, 0x70, 0x42, // icalTopB
/* 0300 */ 0x6F, 0x72, 0x64, 0x65, 0x72, 0x3E, 0x0A, 0x3C, // order>.<
/* 0308 */ 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, // Vertical
/* 0310 */ 0x42, 0x6F, 0x74, 0x74, 0x6F, 0x6D, 0x42, 0x6F, // BottomBo
/* 0318 */ 0x72, 0x64, 0x65, 0x72, 0x3E, 0x30, 0x3C, 0x2F, // rder>0</
/* 0320 */ 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6C, // Vertical
/* 0328 */ 0x42, 0x6F, 0x74, 0x74, 0x6F, 0x6D, 0x42, 0x6F, // BottomBo
/* 0330 */ 0x72, 0x64, 0x65, 0x72, 0x3E, 0x0A, 0x3C, 0x49, // rder>.<I
/* 0338 */ 0x6E, 0x76, 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, // nvertDat
/* 0340 */ 0x61, 0x50, 0x6F, 0x6C, 0x61, 0x72, 0x69, 0x74, // aPolarit
/* 0348 */ 0x79, 0x3E, 0x46, 0x61, 0x6C, 0x73, 0x65, 0x3C, // y>False<
/* 0350 */ 0x2F, 0x49, 0x6E, 0x76, 0x65, 0x72, 0x74, 0x44, // /InvertD
/* 0358 */ 0x61, 0x74, 0x61, 0x50, 0x6F, 0x6C, 0x61, 0x72, // ataPolar
/* 0360 */ 0x69, 0x74, 0x79, 0x3E, 0x0A, 0x3C, 0x49, 0x6E, // ity>.<In
/* 0368 */ 0x76, 0x65, 0x72, 0x74, 0x56, 0x73, 0x79, 0x6E, // vertVsyn
/* 0370 */ 0x63, 0x50, 0x6F, 0x6C, 0x61, 0x69, 0x72, 0x74, // cPolairt
/* 0378 */ 0x79, 0x3E, 0x46, 0x61, 0x6C, 0x73, 0x65, 0x3C, // y>False<
/* 0380 */ 0x2F, 0x49, 0x6E, 0x76, 0x65, 0x72, 0x74, 0x56, // /InvertV
/* 0388 */ 0x73, 0x79, 0x6E, 0x63, 0x50, 0x6F, 0x6C, 0x61, // syncPola
/* 0390 */ 0x69, 0x72, 0x74, 0x79, 0x3E, 0x0A, 0x3C, 0x49, // irty>.<I
/* 0398 */ 0x6E, 0x76, 0x65, 0x72, 0x74, 0x48, 0x73, 0x79, // nvertHsy
/* 03A0 */ 0x6E, 0x63, 0x50, 0x6F, 0x6C, 0x61, 0x72, 0x69, // ncPolari
/* 03A8 */ 0x74, 0x79, 0x3E, 0x46, 0x61, 0x6C, 0x73, 0x65, // ty>False
/* 03B0 */ 0x3C, 0x2F, 0x49, 0x6E, 0x76, 0x65, 0x72, 0x74, // </Invert
/* 03B8 */ 0x48, 0x73, 0x79, 0x6E, 0x63, 0x50, 0x6F, 0x6C, // HsyncPol
/* 03C0 */ 0x61, 0x72, 0x69, 0x74, 0x79, 0x3E, 0x0A, 0x3C, // arity>.<
/* 03C8 */ 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6F, // BorderCo
/* 03D0 */ 0x6C, 0x6F, 0x72, 0x3E, 0x30, 0x78, 0x30, 0x3C, // lor>0x0<
/* 03D8 */ 0x2F, 0x42, 0x6F, 0x72, 0x64, 0x65, 0x72, 0x43, // /BorderC
/* 03E0 */ 0x6F, 0x6C, 0x6F, 0x72, 0x3E, 0x0A, 0x3C, 0x2F, // olor>.</
/* 03E8 */ 0x47, 0x72, 0x6F, 0x75, 0x70, 0x3E, 0x0A, 0x3C, // Group>.<
/* 03F0 */ 0x47, 0x72, 0x6F, 0x75, 0x70, 0x20, 0x69, 0x64, // Group id
/* 03F8 */ 0x3D, 0x27, 0x44, 0x69, 0x73, 0x70, 0x6C, 0x61, // ='Displa
/* 0400 */ 0x79, 0x20, 0x49, 0x6E, 0x74, 0x65, 0x72, 0x66, // y Interf
/* 0408 */ 0x61, 0x63, 0x65, 0x27, 0x3E, 0x0A, 0x3C, 0x49, // ace'>.<I
/* 0410 */ 0x6E, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, // nterface
/* 0418 */ 0x54, 0x79, 0x70, 0x65, 0x3E, 0x39, 0x3C, 0x2F, // Type>9</
/* 0420 */ 0x49, 0x6E, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, // Interfac
/* 0428 */ 0x65, 0x54, 0x79, 0x70, 0x65, 0x3E, 0x0A, 0x3C, // eType>.<
/* 0430 */ 0x49, 0x6E, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, // Interfac
/* 0438 */ 0x65, 0x43, 0x6F, 0x6C, 0x6F, 0x72, 0x46, 0x6F, // eColorFo
/* 0440 */ 0x72, 0x6D, 0x61, 0x74, 0x3E, 0x33, 0x3C, 0x2F, // rmat>3</
/* 0448 */ 0x49, 0x6E, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, // Interfac
/* 0450 */ 0x65, 0x43, 0x6F, 0x6C, 0x6F, 0x72, 0x46, 0x6F, // eColorFo
/* 0458 */ 0x72, 0x6D, 0x61, 0x74, 0x3E, 0x0A, 0x3C, 0x2F, // rmat>.</
/* 0460 */ 0x47, 0x72, 0x6F, 0x75, 0x70, 0x3E, 0x0A, 0x3C, // Group>.<
/* 0468 */ 0x47, 0x72, 0x6F, 0x75, 0x70, 0x20, 0x69, 0x64, // Group id
/* 0470 */ 0x3D, 0x27, 0x44, 0x53, 0x49, 0x20, 0x49, 0x6E, // ='DSI In
/* 0478 */ 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x27, // terface'
/* 0480 */ 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x42, 0x69, // >.<DSIBi
/* 0488 */ 0x74, 0x43, 0x6C, 0x6F, 0x63, 0x6B, 0x46, 0x72, // tClockFr
/* 0490 */ 0x65, 0x71, 0x75, 0x65, 0x6E, 0x63, 0x79, 0x3E, // equency>
/* 0498 */ 0x31, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, // 11000000
/* 04A0 */ 0x30, 0x30, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x42, // 00</DSIB
/* 04A8 */ 0x69, 0x74, 0x43, 0x6C, 0x6F, 0x63, 0x6B, 0x46, // itClockF
/* 04B0 */ 0x72, 0x65, 0x71, 0x75, 0x65, 0x6E, 0x63, 0x79, // requency
/* 04B8 */ 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x43, 0x68, // >.<DSICh
/* 04C0 */ 0x61, 0x6E, 0x6E, 0x65, 0x6C, 0x49, 0x64, 0x3E, // annelId>
/* 04C8 */ 0x32, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x43, 0x68, // 2</DSICh
/* 04D0 */ 0x61, 0x6E, 0x6E, 0x65, 0x6C, 0x49, 0x64, 0x3E, // annelId>
/* 04D8 */ 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x56, 0x69, 0x72, // .<DSIVir
/* 04E0 */ 0x74, 0x75, 0x61, 0x6C, 0x49, 0x64, 0x3E, 0x30, // tualId>0
/* 04E8 */ 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x56, 0x69, 0x72, // </DSIVir
/* 04F0 */ 0x74, 0x75, 0x61, 0x6C, 0x49, 0x64, 0x3E, 0x0A, // tualId>.
/* 04F8 */ 0x3C, 0x44, 0x53, 0x49, 0x43, 0x6F, 0x6C, 0x6F, // <DSIColo
/* 0500 */ 0x72, 0x46, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x3E, // rFormat>
/* 0508 */ 0x33, 0x36, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x43, // 36</DSIC
/* 0510 */ 0x6F, 0x6C, 0x6F, 0x72, 0x46, 0x6F, 0x72, 0x6D, // olorForm
/* 0518 */ 0x61, 0x74, 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, // at>.<DSI
/* 0520 */ 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x4D, // TrafficM
/* 0528 */ 0x6F, 0x64, 0x65, 0x3E, 0x31, 0x3C, 0x2F, 0x44, // ode>1</D
/* 0530 */ 0x53, 0x49, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, // SITraffi
/* 0538 */ 0x63, 0x4D, 0x6F, 0x64, 0x65, 0x3E, 0x0A, 0x3C, // cMode>.<
/* 0540 */ 0x44, 0x53, 0x49, 0x4C, 0x61, 0x6E, 0x65, 0x73, // DSILanes
/* 0548 */ 0x3E, 0x34, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x4C, // >4</DSIL
/* 0550 */ 0x61, 0x6E, 0x65, 0x73, 0x3E, 0x0A, 0x3C, 0x44, // anes>.<D
/* 0558 */ 0x53, 0x49, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, // SIRefres
/* 0560 */ 0x68, 0x52, 0x61, 0x74, 0x65, 0x3E, 0x30, 0x78, // hRate>0x
/* 0568 */ 0x33, 0x43, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x2F, // 3C0000</
/* 0570 */ 0x44, 0x53, 0x49, 0x52, 0x65, 0x66, 0x72, 0x65, // DSIRefre
/* 0578 */ 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x3E, 0x0A, // shRate>.
/* 0580 */ 0x3C, 0x44, 0x53, 0x49, 0x43, 0x6D, 0x64, 0x53, // <DSICmdS
/* 0588 */ 0x77, 0x61, 0x70, 0x49, 0x6E, 0x74, 0x65, 0x72, // wapInter
/* 0590 */ 0x66, 0x61, 0x63, 0x65, 0x3E, 0x46, 0x61, 0x6C, // face>Fal
/* 0598 */ 0x73, 0x65, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x43, // se</DSIC
/* 05A0 */ 0x6D, 0x64, 0x53, 0x77, 0x61, 0x70, 0x49, 0x6E, // mdSwapIn
/* 05A8 */ 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x3E, // terface>
/* 05B0 */ 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x43, 0x6D, 0x64, // .<DSICmd
/* 05B8 */ 0x55, 0x73, 0x69, 0x6E, 0x67, 0x54, 0x72, 0x69, // UsingTri
/* 05C0 */ 0x67, 0x67, 0x65, 0x72, 0x3E, 0x46, 0x61, 0x6C, // gger>Fal
/* 05C8 */ 0x73, 0x65, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x43, // se</DSIC
/* 05D0 */ 0x6D, 0x64, 0x55, 0x73, 0x69, 0x6E, 0x67, 0x54, // mdUsingT
/* 05D8 */ 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x3E, 0x0A, // rigger>.
/* 05E0 */ 0x3C, 0x44, 0x53, 0x49, 0x45, 0x6E, 0x61, 0x62, // <DSIEnab
/* 05E8 */ 0x6C, 0x65, 0x41, 0x75, 0x74, 0x6F, 0x52, 0x65, // leAutoRe
/* 05F0 */ 0x66, 0x72, 0x65, 0x73, 0x68, 0x3E, 0x54, 0x72, // fresh>Tr
/* 05F8 */ 0x75, 0x65, 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x45, // ue</DSIE
/* 0600 */ 0x6E, 0x61, 0x62, 0x6C, 0x65, 0x41, 0x75, 0x74, // nableAut
/* 0608 */ 0x6F, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, // oRefresh
/* 0610 */ 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x41, 0x75, // >.<DSIAu
/* 0618 */ 0x74, 0x6F, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, // toRefres
/* 0620 */ 0x68, 0x46, 0x72, 0x61, 0x6D, 0x65, 0x4E, 0x75, // hFrameNu
/* 0628 */ 0x6D, 0x44, 0x69, 0x76, 0x3E, 0x31, 0x3C, 0x2F, // mDiv>1</
/* 0630 */ 0x44, 0x53, 0x49, 0x41, 0x75, 0x74, 0x6F, 0x52, // DSIAutoR
/* 0638 */ 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x46, 0x72, // efreshFr
/* 0640 */ 0x61, 0x6D, 0x65, 0x4E, 0x75, 0x6D, 0x44, 0x69, // ameNumDi
/* 0648 */ 0x76, 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x43, // v>.<DSIC
/* 0650 */ 0x6F, 0x6E, 0x74, 0x72, 0x6F, 0x6C, 0x6C, 0x65, // ontrolle
/* 0658 */ 0x72, 0x4D, 0x61, 0x70, 0x70, 0x69, 0x6E, 0x67, // rMapping
/* 0660 */ 0x3E, 0x0A, 0x20, 0x20, 0x30, 0x30, 0x0A, 0x3C, // >. 00.<
/* 0668 */ 0x2F, 0x44, 0x53, 0x49, 0x43, 0x6F, 0x6E, 0x74, // /DSICont
/* 0670 */ 0x72, 0x6F, 0x6C, 0x6C, 0x65, 0x72, 0x4D, 0x61, // rollerMa
/* 0678 */ 0x70, 0x70, 0x69, 0x6E, 0x67, 0x3E, 0x0A, 0x3C, // pping>.<
/* 0680 */ 0x44, 0x53, 0x49, 0x54, 0x45, 0x43, 0x68, 0x65, // DSITEChe
/* 0688 */ 0x63, 0x6B, 0x45, 0x6E, 0x61, 0x62, 0x6C, 0x65, // ckEnable
/* 0690 */ 0x3E, 0x54, 0x72, 0x75, 0x65, 0x3C, 0x2F, 0x44, // >True</D
/* 0698 */ 0x53, 0x49, 0x54, 0x45, 0x43, 0x68, 0x65, 0x63, // SITEChec
/* 06A0 */ 0x6B, 0x45, 0x6E, 0x61, 0x62, 0x6C, 0x65, 0x3E, // kEnable>
/* 06A8 */ 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x54, 0x45, 0x55, // .<DSITEU
/* 06B0 */ 0x73, 0x69, 0x6E, 0x67, 0x44, 0x65, 0x64, 0x69, // singDedi
/* 06B8 */ 0x63, 0x61, 0x74, 0x65, 0x64, 0x54, 0x45, 0x50, // catedTEP
/* 06C0 */ 0x69, 0x6E, 0x3E, 0x54, 0x72, 0x75, 0x65, 0x3C, // in>True<
/* 06C8 */ 0x2F, 0x44, 0x53, 0x49, 0x54, 0x45, 0x55, 0x73, // /DSITEUs
/* 06D0 */ 0x69, 0x6E, 0x67, 0x44, 0x65, 0x64, 0x69, 0x63, // ingDedic
/* 06D8 */ 0x61, 0x74, 0x65, 0x64, 0x54, 0x45, 0x50, 0x69, // atedTEPi
/* 06E0 */ 0x6E, 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x54, // n>.<DSIT
/* 06E8 */ 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x43, 0x4C, 0x4B, // imingCLK
/* 06F0 */ 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x4F, // PrepareO
/* 06F8 */ 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x3E, // verride>
/* 0700 */ 0x54, 0x72, 0x75, 0x65, 0x3C, 0x2F, 0x44, 0x53, // True</DS
/* 0708 */ 0x49, 0x54, 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x43, // ITimingC
/* 0710 */ 0x4C, 0x4B, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, // LKPrepar
/* 0718 */ 0x65, 0x4F, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, // eOverrid
/* 0720 */ 0x65, 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x54, // e>.<DSIT
/* 0728 */ 0x45, 0x76, 0x53, 0x79, 0x6E, 0x63, 0x53, 0x74, // EvSyncSt
/* 0730 */ 0x61, 0x72, 0x74, 0x50, 0x6F, 0x73, 0x3E, 0x32, // artPos>2
/* 0738 */ 0x33, 0x34, 0x30, 0x3C, 0x2F, 0x44, 0x53, 0x49, // 340</DSI
/* 0740 */ 0x54, 0x45, 0x76, 0x53, 0x79, 0x6E, 0x63, 0x53, // TEvSyncS
/* 0748 */ 0x74, 0x61, 0x72, 0x74, 0x50, 0x6F, 0x73, 0x3E, // tartPos>
/* 0750 */ 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x54, 0x45, 0x76, // .<DSITEv
/* 0758 */ 0x53, 0x79, 0x6E, 0x63, 0x49, 0x6E, 0x69, 0x74, // SyncInit
/* 0760 */ 0x56, 0x61, 0x6C, 0x3E, 0x32, 0x33, 0x34, 0x30, // Val>2340
/* 0768 */ 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x54, 0x45, 0x76, // </DSITEv
/* 0770 */ 0x53, 0x79, 0x6E, 0x63, 0x49, 0x6E, 0x69, 0x74, // SyncInit
/* 0778 */ 0x56, 0x61, 0x6C, 0x3E, 0x0A, 0x3C, 0x44, 0x53, // Val>.<DS
/* 0780 */ 0x49, 0x54, 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x43, // ITimingC
/* 0788 */ 0x4C, 0x4B, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, // LKPrepar
/* 0790 */ 0x65, 0x56, 0x61, 0x6C, 0x75, 0x65, 0x3E, 0x37, // eValue>7
/* 0798 */ 0x3C, 0x2F, 0x44, 0x53, 0x49, 0x54, 0x69, 0x6D, // </DSITim
/* 07A0 */ 0x69, 0x6E, 0x67, 0x43, 0x4C, 0x4B, 0x50, 0x72, // ingCLKPr
/* 07A8 */ 0x65, 0x70, 0x61, 0x72, 0x65, 0x56, 0x61, 0x6C, // epareVal
/* 07B0 */ 0x75, 0x65, 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, // ue>.<DSI
/* 07B8 */ 0x54, 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x48, 0x53, // TimingHS
/* 07C0 */ 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x4F, // PrepareO
/* 07C8 */ 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x3E, // verride>
/* 07D0 */ 0x54, 0x72, 0x75, 0x65, 0x3C, 0x2F, 0x44, 0x53, // True</DS
/* 07D8 */ 0x49, 0x54, 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x48, // ITimingH
/* 07E0 */ 0x53, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, // SPrepare
/* 07E8 */ 0x4F, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, // Override
/* 07F0 */ 0x3E, 0x0A, 0x3C, 0x44, 0x53, 0x49, 0x54, 0x69, // >.<DSITi
/* 07F8 */ 0x6D, 0x69, 0x6E, 0x67, 0x48, 0x53, 0x50, 0x72, // mingHSPr
/* 0800 */ 0x65, 0x70, 0x61, 0x72, 0x65, 0x56, 0x61, 0x6C, // epareVal
/* 0808 */ 0x75, 0x65, 0x3E, 0x37, 0x3C, 0x2F, 0x44, 0x53, // ue>7</DS
/* 0810 */ 0x49, 0x54, 0x69, 0x6D, 0x69, 0x6E, 0x67, 0x48, // ITimingH
/* 0818 */ 0x53, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, // SPrepare
/* 0820 */ 0x56, 0x61, 0x6C, 0x75, 0x65, 0x3E, 0x0A, 0x3C, // Value>.<
/* 0828 */ 0x2F, 0x47, 0x72, 0x6F, 0x75, 0x70, 0x3E, 0x0A, // /Group>.
/* 0830 */ 0x3C, 0x44, 0x53, 0x49, 0x49, 0x6E, 0x69, 0x74, // <DSIInit
/* 0838 */ 0x53, 0x65, 0x71, 0x75, 0x65, 0x6E, 0x63, 0x65, // Sequence
/* 0840 */ 0x3E, 0x20, 0x30, 0x35, 0x20, 0x31, 0x31, 0x0A, // > 05 11.
/* 0848 */ 0x20, 0x46, 0x46, 0x20, 0x30, 0x41, 0x0A, 0x20, // FF 0A.
/* 0850 */ 0x33, 0x39, 0x20, 0x46, 0x30, 0x20, 0x35, 0x41, // 39 F0 5A
/* 0858 */ 0x20, 0x35, 0x41, 0x0A, 0x20, 0x31, 0x35, 0x20, // 5A. 15
/* 0860 */ 0x33, 0x35, 0x20, 0x30, 0x30, 0x0A, 0x20, 0x33, // 35 00. 3
/* 0868 */ 0x39, 0x20, 0x42, 0x37, 0x20, 0x30, 0x31, 0x20, // 9 B7 01
/* 0870 */ 0x35, 0x42, 0x0A, 0x20, 0x33, 0x39, 0x20, 0x46, // 5B. 39 F
/* 0878 */ 0x30, 0x20, 0x41, 0x35, 0x20, 0x41, 0x35, 0x0A, // 0 A5 A5.
/* 0880 */ 0x20, 0x33, 0x39, 0x20, 0x32, 0x42, 0x20, 0x30, // 39 2B 0
/* 0888 */ 0x30, 0x20, 0x30, 0x30, 0x20, 0x30, 0x39, 0x20, // 0 00 09
/* 0890 */ 0x32, 0x33, 0x0A, 0x20, 0x33, 0x39, 0x20, 0x46, // 23. 39 F
/* 0898 */ 0x30, 0x20, 0x35, 0x41, 0x20, 0x35, 0x41, 0x0A, // 0 5A 5A.
/* 08A0 */ 0x20, 0x33, 0x39, 0x20, 0x42, 0x30, 0x20, 0x30, // 39 B0 0
/* 08A8 */ 0x37, 0x0A, 0x20, 0x33, 0x39, 0x20, 0x44, 0x39, // 7. 39 D9
/* 08B0 */ 0x20, 0x38, 0x38, 0x20, 0x32, 0x45, 0x0A, 0x20, // 88 2E.
/* 08B8 */ 0x33, 0x39, 0x20, 0x46, 0x30, 0x20, 0x41, 0x35, // 39 F0 A5
/* 08C0 */ 0x20, 0x41, 0x35, 0x0A, 0x20, 0x33, 0x39, 0x20, // A5. 39
/* 08C8 */ 0x46, 0x30, 0x20, 0x35, 0x41, 0x20, 0x35, 0x41, // F0 5A 5A
/* 08D0 */ 0x0A, 0x20, 0x33, 0x39, 0x20, 0x46, 0x43, 0x20, // . 39 FC
/* 08D8 */ 0x35, 0x41, 0x20, 0x35, 0x41, 0x0A, 0x20, 0x33, // 5A 5A. 3
/* 08E0 */ 0x39, 0x20, 0x45, 0x39, 0x20, 0x31, 0x31, 0x20, // 9 E9 11
/* 08E8 */ 0x35, 0x35, 0x20, 0x41, 0x36, 0x20, 0x37, 0x35, // 55 A6 75
/* 08F0 */ 0x20, 0x41, 0x33, 0x20, 0x42, 0x38, 0x20, 0x42, // A3 B8 B
/* 08F8 */ 0x42, 0x20, 0x32, 0x41, 0x20, 0x30, 0x30, 0x20, // B 2A 00
/* 0900 */ 0x31, 0x41, 0x20, 0x42, 0x38, 0x0A, 0x20, 0x33, // 1A B8. 3
/* 0908 */ 0x39, 0x20, 0x46, 0x30, 0x20, 0x41, 0x35, 0x20, // 9 F0 A5
/* 0910 */ 0x41, 0x35, 0x0A, 0x20, 0x33, 0x39, 0x20, 0x46, // A5. 39 F
/* 0918 */ 0x43, 0x20, 0x41, 0x35, 0x20, 0x41, 0x35, 0x0A, // C A5 A5.
/* 0920 */ 0x20, 0x33, 0x39, 0x20, 0x46, 0x30, 0x20, 0x35, // 39 F0 5
/* 0928 */ 0x41, 0x20, 0x35, 0x41, 0x0A, 0x20, 0x33, 0x39, // A 5A. 39
/* 0930 */ 0x20, 0x42, 0x30, 0x20, 0x30, 0x39, 0x0A, 0x20, // B0 09.
/* 0938 */ 0x33, 0x39, 0x20, 0x44, 0x38, 0x20, 0x30, 0x30, // 39 D8 00
/* 0940 */ 0x0A, 0x20, 0x33, 0x39, 0x20, 0x46, 0x30, 0x20, // . 39 F0
/* 0948 */ 0x41, 0x35, 0x20, 0x41, 0x35, 0x0A, 0x20, 0x33, // A5 A5. 3
/* 0950 */ 0x39, 0x20, 0x35, 0x31, 0x20, 0x30, 0x30, 0x20, // 9 51 00
/* 0958 */ 0x30, 0x30, 0x0A, 0x20, 0x31, 0x35, 0x20, 0x35, // 00. 15 5
/* 0960 */ 0x33, 0x20, 0x32, 0x38, 0x0A, 0x20, 0x31, 0x35, // 3 28. 15
/* 0968 */ 0x20, 0x35, 0x35, 0x20, 0x30, 0x30, 0x0A, 0x20, // 55 00.
/* 0970 */ 0x46, 0x46, 0x20, 0x37, 0x38, 0x0A, 0x20, 0x30, // FF 78. 0
/* 0978 */ 0x35, 0x20, 0x32, 0x39, 0x0A, 0x3C, 0x2F, 0x44, // 5 29.</D
/* 0980 */ 0x53, 0x49, 0x49, 0x6E, 0x69, 0x74, 0x53, 0x65, // SIInitSe
/* 0988 */ 0x71, 0x75, 0x65, 0x6E, 0x63, 0x65, 0x3E, 0x0A, // quence>.
/* 0990 */ 0x3C, 0x47, 0x72, 0x6F, 0x75, 0x70, 0x20, 0x69, // <Group i
/* 0998 */ 0x64, 0x3D, 0x27, 0x42, 0x61, 0x63, 0x6B, 0x6C, // d='Backl
/* 09A0 */ 0x69, 0x67, 0x68, 0x74, 0x20, 0x43, 0x6F, 0x6E, // ight Con
/* 09A8 */ 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, // figurati
/* 09B0 */ 0x6F, 0x6E, 0x27, 0x3E, 0x0A, 0x3C, 0x42, 0x61, // on'>.<Ba
/* 09B8 */ 0x63, 0x6B, 0x6C, 0x69, 0x67, 0x68, 0x74, 0x54, // cklightT
/* 09C0 */ 0x79, 0x70, 0x65, 0x3E, 0x33, 0x3C, 0x2F, 0x42, // ype>3</B
/* 09C8 */ 0x61, 0x63, 0x6B, 0x6C, 0x69, 0x67, 0x68, 0x74, // acklight
/* 09D0 */ 0x54, 0x79, 0x70, 0x65, 0x3E, 0x0A, 0x3C, 0x42, // Type>.<B
/* 09D8 */ 0x61, 0x63, 0x6B, 0x6C, 0x69, 0x67, 0x68, 0x74, // acklight
/* 09E0 */ 0x50, 0x6D, 0x69, 0x63, 0x43, 0x6F, 0x6E, 0x74, // PmicCont
/* 09E8 */ 0x72, 0x6F, 0x6C, 0x54, 0x79, 0x70, 0x65, 0x3E, // rolType>
/* 09F0 */ 0x32, 0x3C, 0x2F, 0x42, 0x61, 0x63, 0x6B, 0x6C, // 2</Backl
/* 09F8 */ 0x69, 0x67, 0x68, 0x74, 0x50, 0x6D, 0x69, 0x63, // ightPmic
/* 0A00 */ 0x43, 0x6F, 0x6E, 0x74, 0x72, 0x6F, 0x6C, 0x54, // ControlT
/* 0A08 */ 0x79, 0x70, 0x65, 0x3E, 0x0A, 0x3C, 0x44, 0x69, // ype>.<Di
/* 0A10 */ 0x73, 0x70, 0x6C, 0x61, 0x79, 0x52, 0x65, 0x73, // splayRes
/* 0A18 */ 0x65, 0x74, 0x49, 0x6E, 0x66, 0x6F, 0x3E, 0x30, // etInfo>0
/* 0A20 */ 0x20, 0x31, 0x30, 0x30, 0x30, 0x20, 0x31, 0x30, // 1000 10
/* 0A28 */ 0x30, 0x30, 0x20, 0x31, 0x30, 0x30, 0x30, 0x30, // 00 10000
/* 0A30 */ 0x20, 0x30, 0x3C, 0x2F, 0x44, 0x69, 0x73, 0x70, // 0</Disp
/* 0A38 */ 0x6C, 0x61, 0x79, 0x52, 0x65, 0x73, 0x65, 0x74, // layReset
/* 0A40 */ 0x49, 0x6E, 0x66, 0x6F, 0x3E, 0x0A, 0x3C, 0x2F, // Info>.</
/* 0A48 */ 0x47, 0x72, 0x6F, 0x75, 0x70, 0x3E, 0x0A, 0x00 // Group>..
})
Include("displayXML.asl")
Local2 = PCFG /* \_SB_.GPU0._ROM.PCFG */
If ((Arg0 >= SizeOf (Local2)))
{

View File

@ -0,0 +1,187 @@
//===========================================================================
// <cust_touch_resources.asl>
// DESCRIPTION
// This file contains the resources needed by touch driver.
//
//
//===========================================================================
Scope(\_SB_.PEP0)
{
Method(LPMX)
{
Return(LPXC)
}
Name(LPXC,
Package(){
// Touch LVS1
Package()
{
"DEVICE",
"\\_SB.TSC1",
Package()
{
"DSTATE",
0x0, // D0 state
// TS_INT configuration
Package()
{
"TLMMGPIO", // TLMMGPIO resource TS_INT
Package()
{
31, // PIN number = 31
0, // State: NOT active = 0x0
0, // Function select = 0
0, // direction = Input.
3, // Pull Up
0, // Drive Strength: 0x0 = 2mA
},
},
Package()
{
"TLMMGPIO", // TLMMGPIO resource RESET
Package()
{
32, // PIN number = 32
0, // State: NOT active = 0x0
0, // Function select = 0
1, // direction = Output.
0, // NO Pull
0, // Drive Strength: 0x0 = 2mA
},
},
// Synaptics Power source - VDD
Package()
{
"PMICVREGVOTE", // PMICVREGVOTE resource
Package()
{
"PPP_RESOURCE_ID_LDO14_A", // VREG ID
1, // Voltage Regulator type = LDO
1800000, // 3.3V
1, // force enable from software
7, // power mode - Normal Power Mode
0, // head room voltage
},
},
// I2C Pull Up source
// Package()
// {
// "TLMMGPIO",
// Package()
// {
// 23, // PIN number = 23
// 1, // State: active = 0x1
// 0, // Function select = 0
// 1, // direction = Output.
// 3, // Pull Up
// 0, // Drive Strength: 0x0 = 2mA
// },
// },
Package()
{
"DELAY", // Hold the RESET line LOW after power up for 2ms
Package()
{
1000, // 2 Milsec delay
}
},
// Drive RESET Line High
Package()
{
"TLMMGPIO", // TLMMGPIO resource TS_RESET
Package()
{
32, // PIN number = 32
1, // State: active = 0x1
0, // Function select = 0
1, // direction = O/P
0, // Pull Up
0, // Drive Strength: 0x0 = 2mA
},
},
// Synaptics may need needs ~200 ms to be ready for comm
Package()
{
"DELAY",
Package()
{
20000, // 200 Milsec delay
}
},
},
Package()
{
"DSTATE",
0x3, // D3 state
// Synaptics Power source - VDD
Package()
{
"PMICVREGVOTE", // PMICVREGVOTE resource
Package()
{
"PPP_RESOURCE_ID_LDO14_A", // VREG ID
1, // Voltage Regulator type = LDO
0, // Voltage is in micro volts
0, // Force disable from s/w
5, // power mode - Low Power Mode
0, // head room voltage
},
},
// I2C Pull Up source
// Package()
// {
// "TLMMGPIO",
// Package()
// {
// 23, // PIN number = 23
// 0, // State: IN active = 0x0
// 0, // Function select = 0
// 1, // direction = Output.
// 1, // Pull Down
// 0, // Drive Strength: 0x0 = 2mA
// },
// },
// RESET pin - power save mode
Package()
{
"TLMMGPIO", // TLMMGPIO resource RESET
Package()
{
32, // PIN number = 32
0, // State: IN active = 0x0
0, // Function select = 0
0, // direction = Output.
1, // Pull Down
0, // Drive Strength: 0x0 = 2mA
},
},
// TS_INT configuration - power save mode
Package()
{
"TLMMGPIO", // TLMMGPIO resource TS_INT
Package()
{
31, // PIN number = 31
0, // State: IN active = 0x0
0, // Function select = 0
0, // direction = Input.
1, // Pull Down
0, // Drive Strength: 0x0 = 2mA
},
},
},
},
})
}

94
perseus/displayXML.asl Normal file
View File

@ -0,0 +1,94 @@
Name (PCFG, Buffer(){"
<?xml version='1.0' encoding='utf-8'?>
<PanelName>SAMSUNG_EA8076_FHD</PanelName>
<PanelDescription>Samsung ea8076 Single DSI Command Mode Panel (1080x2340 24bpp)</PanelDescription>
<Group id='Active Timing'>
<HorizontalActive>1080</HorizontalActive>
<HorizontalFrontPorch>64</HorizontalFrontPorch>
<HorizontalBackPorch>64</HorizontalBackPorch>
<HorizontalSyncPulse>20</HorizontalSyncPulse>
<HorizontalSyncSkew>0</HorizontalSyncSkew>
<HorizontalLeftBorder>0</HorizontalLeftBorder>
<HorizontalRightBorder>0</HorizontalRightBorder>
<VerticalActive>2340</VerticalActive>
<VerticalFrontPorch>64</VerticalFrontPorch>
<VerticalBackPorch>64</VerticalBackPorch>
<VerticalSyncPulse>20</VerticalSyncPulse>
<VerticalSyncSkew>0</VerticalSyncSkew>
<VerticalTopBorder>0</VerticalTopBorder>
<VerticalBottomBorder>0</VerticalBottomBorder>
<InvertDataPolarity>False</InvertDataPolarity>
<InvertVsyncPolairty>False</InvertVsyncPolairty>
<InvertHsyncPolarity>False</InvertHsyncPolarity>
<BorderColor>0x0</BorderColor>
</Group>
<Group id='Display Interface'>
<InterfaceType>9</InterfaceType>
<InterfaceColorFormat>3</InterfaceColorFormat>
</Group>
<Group id='DSI Interface'>
<DSIBitClockFrequency>1100000000</DSIBitClockFrequency>
<DSIChannelId>2</DSIChannelId>
<DSIVirtualId>0</DSIVirtualId>
<DSIColorFormat>36</DSIColorFormat>
<DSITrafficMode>1</DSITrafficMode>
<DSILanes>4</DSILanes>
<DSIRefreshRate>0x3C0000</DSIRefreshRate>
<DSICmdSwapInterface>False</DSICmdSwapInterface>
<DSICmdUsingTrigger>False</DSICmdUsingTrigger>
<DSIEnableAutoRefresh>True</DSIEnableAutoRefresh>
<DSIAutoRefreshFrameNumDiv>1</DSIAutoRefreshFrameNumDiv>
<DSIControllerMapping>
00
</DSIControllerMapping>
<DSITECheckEnable>True</DSITECheckEnable>
<DSITEUsingDedicatedTEPin>True</DSITEUsingDedicatedTEPin>
<DSITimingCLKPrepareOverride>True</DSITimingCLKPrepareOverride>
<DSITEvSyncStartPos>2340</DSITEvSyncStartPos>
<DSITEvSyncInitVal>2340</DSITEvSyncInitVal>
<DSITimingCLKPrepareValue>7</DSITimingCLKPrepareValue>
<DSITimingHSPrepareOverride>True</DSITimingHSPrepareOverride>
<DSITimingHSPrepareValue>7</DSITimingHSPrepareValue>
</Group>
<DSIInitSequence> 05 11
FF 0A
39 F0 5A 5A
15 35 00
39 B7 01 4B
39 F0 A5 A5
39 2B 00 00 09 23
39 F0 5A 5A
39 B0 07
39 D9 88 2E
39 F0 A5 A5
39 F0 5A 5A
39 FC 5A 5A
39 E9 11 55 A6 75 A3 B8 BB 2A 00 1A B8
39 F0 A5 A5
39 FC A5 A5
39 F0 5A 5A
39 B0 09
39 D8 00
39 F0 A5 A5
39 51 00 00
15 53 28
15 55 00
FF 78
05 29
</DSIInitSequence>
<Group id='Backlight Configuration'>
<BacklightType>3</BacklightType>
<BacklightPmicControlType>2</BacklightPmicControlType>
<DisplayResetInfo>0 1000 1000 10000 0</DisplayResetInfo>
<BacklightSteps>100</BacklightSteps>
<BacklightPMICBankSelect>15</BacklightPMICBankSelect>
<BacklightPMICPWMFrequency>600000</BacklightPMICPWMFrequency>
<BacklightDefault>80</BacklightDefault>
<BacklightLowPower>40</BacklightLowPower>
<PMIPowerPmicNumber>1</PMIPowerPmicNumber>
<PMIPowerPmicModel>21</PMIPowerPmicModel>
<PMIPowerconfig>1</PMIPowerConfig>
<BrightnessMinLuminance>3230</BrightnessMinLuminance>
<BrightnessMaxLuminance>4300000</BrightnessMaxLuminance>
</Group>
"})