Skip to content

Instantly share code, notes, and snippets.

@ungeskriptet
Created March 15, 2024 15:58
Show Gist options
  • Save ungeskriptet/ddb7c26d53a04298a1d6d8d88f55f96d to your computer and use it in GitHub Desktop.
Save ungeskriptet/ddb7c26d53a04298a1d6d8d88f55f96d to your computer and use it in GitHub Desktop.
S24U AMB681AZ01 panel XML file extracted from DisplayDxe
<?xml version="1.0" encoding="utf-8"?>
<PanelName>AMB681AZ01</PanelName>
<PanelDescription>LSI Single DSI Command Mode DSC Panel (1440x3120 24bpp)</PanelDescription>
<Group id="Active Timing">
<HorizontalActive units="Dot Clocks">1440</HorizontalActive>
<HorizontalFrontPorch units="Dot Clocks">28</HorizontalFrontPorch>
<HorizontalBackPorch units="Dot Clocks">28</HorizontalBackPorch>
<HorizontalSyncPulse units="Dot Clocks">28</HorizontalSyncPulse>
<HorizontalSyncSkew units="Dot Clocks">0</HorizontalSyncSkew>
<HorizontalLeftBorder units="Dot Clocks">0</HorizontalLeftBorder>
<HorizontalRightBorder units="Dot Clocks">0</HorizontalRightBorder>
<VerticalActive units="Dot Clocks">3120</VerticalActive>
<VerticalFrontPorch units="Lines">28</VerticalFrontPorch>
<VerticalBackPorch units="Lines">28</VerticalBackPorch>
<VerticalSyncPulse units="Lines">12</VerticalSyncPulse>
<VerticalSyncSkew units="Lines">0</VerticalSyncSkew>
<VerticalTopBorder units="Lines">0</VerticalTopBorder>
<VerticalBottomBorder units="Lines">0</VerticalBottomBorder>
<InvertDataPolarity>False</InvertDataPolarity>
<InvertVsyncPolairty>False</InvertVsyncPolairty>
<InvertHsyncPolarity>False</InvertHsyncPolarity>
<BorderColor>0x0</BorderColor>
<UnderflowColor>0xff00ff</UnderflowColor>
</Group>
<Group id="Display Interface">
<InterfaceType units="QDI_DisplayConnectType">9</InterfaceType>
<InterfaceColorFormat units="QDI_PixelFormatType">3</InterfaceColorFormat>
</Group>
<Group id="DSI Interface">
<DSIChannelId units="DSI_Channel_IDType">2</DSIChannelId>
<DSIVirtualId units="DSI_Display_VCType">0</DSIVirtualId>
<DSIColorFormat units="DSI_ColorFormatType">36</DSIColorFormat>
<DSITrafficMode units="DSI_TrafficModeType">2</DSITrafficMode>
<DSILanes units="integer">4</DSILanes>
<DSIRefreshRate>0x780000</DSIRefreshRate>
<DSIBitClockFrequency units="integer">1362000000</DSIBitClockFrequency>
<DSICmdSwapInterface units="Bool">False</DSICmdSwapInterface>
<DSICmdUsingTrigger units="Bool">False</DSICmdUsingTrigger>
<DSIEnableAutoRefresh units="Bool">True</DSIEnableAutoRefresh>
<DSIAutoRefreshFrameNumDiv units="integer">2</DSIAutoRefreshFrameNumDiv>
<DSITECheckEnable>True</DSITECheckEnable>
<DSITEUsingDedicatedTEPin>True</DSITEUsingDedicatedTEPin>
<DSITEvSyncStartPos>3120</DSITEvSyncStartPos>
<DSITEvSyncInitVal>3120</DSITEvSyncInitVal>
<DSIDSCEnable units="Bool">True</DSIDSCEnable>
<DSIDSCMajor>1</DSIDSCMajor>
<DSIDSCMinor>1</DSIDSCMinor>
<DSIDSCProfileID units="integer">7</DSIDSCProfileID>
<DSIDSCSliceWidth units="integer">720</DSIDSCSliceWidth>
<DSIDSCSliceHeight units="integer">24</DSIDSCSliceHeight>
<DSILP11AtInit units="Bool">True</DSILP11AtInit>
<DSIControllerMapping>00</DSIControllerMapping>
<DSITimingCLKZeroOverride units="Bool">True</DSITimingCLKZeroOverride>
<DSITimingCLKPrepareOverride units="Bool">True</DSITimingCLKPrepareOverride>
<DSITimingCLKTrailOverride units="Bool">True</DSITimingCLKTrailOverride>
<DSITimingHSExitOverride units="Bool">True</DSITimingHSExitOverride>
<DSITimingHSZeroOverride units="Bool">True</DSITimingHSZeroOverride>
<DSITimingHSPrepareOverride units="Bool">True</DSITimingHSPrepareOverride>
<DSITimingHSTrailOverride units="Bool">True</DSITimingHSTrailOverride>
<DSITimingHSRequestOverride units="Bool">True</DSITimingHSRequestOverride>
<DSITimingTASureOverride units="Bool">True</DSITimingTASureOverride>
<DSITimingTAGoOverride units="Bool">True</DSITimingTAGoOverride>
<DSITimingTAGetOverride units="Bool">True</DSITimingTAGetOverride>
<DSITimingCLKZeroValue units="integer">0x2C</DSITimingCLKZeroValue>
<DSITimingCLKPrepareValue units="integer">0x0C</DSITimingCLKPrepareValue>
<DSITimingCLKTrailValue units="integer">0x0C</DSITimingCLKTrailValue>
<DSITimingHSExitValue units="integer">0x29</DSITimingHSExitValue>
<DSITimingHSZeroValue units="integer">0x26</DSITimingHSZeroValue>
<DSITimingHSPrepareValue units="integer">0x0C</DSITimingHSPrepareValue>
<DSITimingHSTrailValue units="integer">0x0C</DSITimingHSTrailValue>
<DSITimingHSRequestValue units="integer">0x0B </DSITimingHSRequestValue>
<DSITimingTASureValue units="integer">0x00 </DSITimingTASureValue>
<DSITimingTAGoValue units="integer">0x02</DSITimingTAGoValue>
<DSITimingTAGetValue units="integer">0x04</DSITimingTAGetValue>
<DSITimingCLKPreOverride units="Bool">True</DSITimingCLKPreOverride>
<DSITimingCLKPostOverride units="Bool">True</DSITimingCLKPostOverride>
<DSITimingCLKPreValue units="integer">0x25</DSITimingCLKPreValue>
<DSITimingCLKPostValue units="integer">0x1B</DSITimingCLKPostValue>
</Group>
<DSIInitSequence>
29 9F A5 A5
29 F0 5A 5A
29 FC 5A 5A
05 11
FF 05
29 B0 00 01 F8
29 F8 00
29 B0 00 18 F6
29 F6 10
FF 78
29 35 00
29 E5 95
29 B0 00 39 F2
29 F2 03
29 2A 00 00 05 9F
29 2B 00 00 0C 2F
07 01
0A 11 00 00 89 30 80 0C 30 05 A0 00 18 02 D0 02 D0 02 00 02 68 00 20 02 A1 00 0A 00 0C 04 2D 03 2E 18 00 10 F0 03 0C 20 00 06 0B 0B 33 0E 1C 2A 38 46 54 62 69 70 77 79 7B 7D 7E 01 02 01 00 09 40 09 BE 19 FC 19 FA 19 F8 1A 38 1A 78 1A B6 2A F6 2B 34 2B 74 3B 74 6B F4 00
29 BA 01
29 B0 00 36 C5
29 C5 11 10 50 05 4D 7C
29 B0 00 52 C5
29 C5 4D 7C
29 B0 00 18 F2
29 F2 01 AF
29 B0 00 1E F2
29 F2 01 B0 01 B0
29 B9 51
29 B0 00 02 B9
29 B9 00
29 B0 00 08 B9
29 B9 00 0C 41 00 00 30 00 0C 41 00 00 30
29 B0 00 18 B9
29 B9 00 00 00 00 00 00
29 B0 00 A6 B9
29 B9 26
29 B0 00 05 F2
29 F2 20
29 B0 00 41 B9
29 B9 09 19 09
29 B0 00 45 B9
29 B9 82 B0
29 B0 00 49 B9
29 B9 03
29 B0 00 06 F2
29 F2 20
29 B0 00 47 B9
29 B9 82
29 B0 00 4B B9
29 B9 07
29 F7 0F
29 B0 00 A4 64
29 64 02
29 B0 00 EC F6
29 F6 8F 8F 8F 8F 8F 8F 8F 8F 8F 8F
29 B0 00 59 F2
29 F2 80
29 B0 01 99 67
29 67 07 0F 17 1F 27 2F 37 3F 47 4F 57 5F 67 6F 77 7F 87 8F 97 9F A7 AF B7 BF C7 CF D7 DF E7 EF F7 FF 07 0F 17 1F 27 2F 37 3F 47 4F 57 5F 67 6F 77 7F 87 8F 97 9F A7 AF B7 BF C7 CF D7 DF E7 EF F7 FF 07 0F 17 1F 27 2F 37 3F 47 4F 57 5F 67 6F 77 7F 87 8F 97 9F A7 AF B7 BF C7 CF D7 DF E7 EF F7 FF
29 B0 00 17 69
29 69 01
29 F7 0F
29 B0 00 BE 69
29 69 40 40
29 B0 00 D0 69
29 69 10 1F 10 FF
29 55 01
29 B0 00 16 69
29 69 3C
29 53 28
29 51 07 FF
29 F7 0F
FE 00 00 00
05 29
FF 14
29 B0 00 17 69
29 69 0F
29 F7 0F
29 FC A5 A5
29 F0 A5 A5
29 9F 5A 5A
</DSIInitSequence>
<DSITermSequence>
29 9F A5 A5
05 28 00
05 10 00
FF 78
29 9F 5A 5A
</DSITermSequence>
<Group id='Backlight Configuration'>
<BacklightType units='MDP_Panel_BacklightType'>0</BacklightType>
<BacklightPmicControlType units='MDP_PmicBacklightControlType'>0xFFF0</BacklightPmicControlType>
</Group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment