Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LG V50 #21

Merged
merged 2 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added ImageResources/dtbs/Flashlmdd.dtb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
#
# Configure the BDS Menu entries
#
[BDS Menu]

Indent = 1
FirstRow = 1
# DefaultSelect = 2

#
# First Label and App should be for Exit option
# Menu code will just exit on selection of 0 option
# So do NOT change this option
#
Label = "Exit BDS Menu"
App = Exit

#
# Enable Secure Boot
# This option writes the PK UEFI Secure variable with the
# available configured PK key value. This enables UEFI Security
#
Label = "Enable Secure Boot"
App = SecurityToggleApp
Arg = "/SecureBootEnable"

#
# Disable Secure Boot
# This option writes the Clear PK UEFI Secure variable that
# can clear the previously written PK to disable UEFI Security
#
Label = "Disable Secure Boot"
App = SecurityToggleApp
Arg = /SecureBootDisable

#
# Enable Debug Policy
# This option writes the Debug policy variable to enable HLOS debug
#
Label = "Enable Debug Policy"
App = DebugPolicyToggleApp
Arg = "/DebugPolicyEnable"

#
# Disable Debug Policy
# This option clears the Debug policy variable to disble HLOS debug
#
Label = "Disable Debug Policy"
App = DebugPolicyToggleApp
Arg = "/DebugPolicyDisable"

#
# Configure PPI Display
# This option writes the DisplayPpiFlag variable to configure PPI display
#
Label = "Config PPI display"
App = DebugPolicyToggleApp
Arg = "/ConfigPpiDisplay"


#
# Provision RPMB
# This option provisions RPMB with the Key provided by TZ. If the
# device is intended to be used with Fuses blown, this operation
# should be avoided until the fuses are blown. Since the Key Generated
# by TZ would change once the fuses are blown. Once key provisioned
# will NOT be able to change. Making any exception will brick the device
#
Label = "Provision RPMB"
App = RPMBProvision
Arg = "-Prompt"


#
# Enter Shell
# Launch the Shell, no startup script is run
#
Label = "Enter Shell"
App = Shell
Arg = "-nomap -nostartup"


#
# Toggle BootFromUSB First
# Toggle the variable value AttemptUSBFirst variable
#
Label = "Boot USB First"
App = Cmd
Arg = "BootUSBFirst"

#
# MassStorage
# Put the device into Mass Storage mode to access from PC. Only USER partition
# of eMMC is available
#
Label = "MassStorage"
App = UsbfnMsdApp
Arg = "MassStorage"

#
# Reboot the device
#
Label = "Reboot"
App = Cmd
Arg = "Reboot"


# Clock Menu
Label = "CLOCK Menu"
App = Menu
Arg = "Clock_Menu.cfg"

Label = "EDL Mode"
App = Cmd
Arg = "edl"

# USB Menu
Label = "USB Menu"
App = Menu
Arg = "Usb_Menu.cfg"

# Pmic Menu
Label = "PMIC Menu"
App = Menu
Arg = "Pmic_Menu.cfg"

# UEFI Menu
Label = "UEFI Menu"
App = Menu
Arg = "Uefi_Menu.cfg"

#
# If BDS Menu should show some platform specific help string at the bottom of the
# menu, add it here as value for MenuHelp
# MenuHelp = "Platform has specific help need?"

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>SW43408A</PanelName>
<PanelDescription>LGD Single DSI Command Mode DSC POLED Revision Panel (1440x3120) 24bpp LowPower</PanelDescription>
<Group id="Active Timing">
<HorizontalActive>1440</HorizontalActive>
<HorizontalFrontPorch>168</HorizontalFrontPorch>
<HorizontalBackPorch>88</HorizontalBackPorch>
<HorizontalSyncPulse>4</HorizontalSyncPulse>
<HorizontalSyncSkew>0</HorizontalSyncSkew>
<HorizontalLeftBorder>0</HorizontalLeftBorder>
<HorizontalRightBorder>0</HorizontalRightBorder>
<VerticalActive>3120</VerticalActive>
<VerticalFrontPorch>9</VerticalFrontPorch>
<VerticalBackPorch>10</VerticalBackPorch>
<VerticalSyncPulse>1</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">
<DSIChannelId>2</DSIChannelId>
<DSIVirtualId>0</DSIVirtualId>
<DSIColorFormat>36</DSIColorFormat>
<DSITrafficMode>1</DSITrafficMode>
<DSILanes>4</DSILanes>
<DSIClockHSForceRequest>0</DSIClockHSForceRequest>
<DSIRefreshRate>0x3C0000</DSIRefreshRate>
<DSICmdSwapInterface>False</DSICmdSwapInterface>
<DSICmdUsingTrigger>False</DSICmdUsingTrigger>
<DSIEnableAutoRefresh>True</DSIEnableAutoRefresh>
<DSIAutoRefreshFrameNumDiv>1</DSIAutoRefreshFrameNumDiv>
<DSIDSCEnable>True</DSIDSCEnable>
<DSIDSCMajor>1</DSIDSCMajor>
<DSIDSCMinor>1</DSIDSCMinor>
<DSIDSCScr>1</DSIDSCScr>
<DSIDSCProfileID>7</DSIDSCProfileID>
<DSILP11AtInit>True</DSILP11AtInit>
<DSIDSCSliceWidth>720</DSIDSCSliceWidth>
<DSIDSCSliceHeight>60</DSIDSCSliceHeight>
<DSITECheckEnable>True</DSITECheckEnable>
<DSITEUsingDedicatedTEPin>True</DSITEUsingDedicatedTEPin>
<DSITEvSyncStartPos>3120</DSITEvSyncStartPos>
<DSITEvSyncInitVal>3120</DSITEvSyncInitVal>
<DSIControllerMapping>
00
</DSIControllerMapping>
</Group>
<DSIInitSequence>
07 11 00
15 B0 AC
39 F7 01 49 0C FF 7F 04
15 B0 CA
39 55 00 70 DF 00 70 DF
05 11
FF BE
15 26 02
39 53 0C 30
15 35 00
39 44 00 00
39 2A 00 00 05 9F
39 2B 00 00 0C 2F
15 B0 AC
39 B8 3D 01 1F 01 FF 3C
39 B9 11 00 00 89 30 80 0C 30 05 A0 00 3C 02 D0 02 D0 02 00 02 C2 00 20 05 D9 00 0A 00 0F 02 09 01 46
39 BA 11 00 00 89 30 80 09 24 04 38 00 3C 02 1C 02 1C 02 00 02 52 00 20 05 30 00 07 00 0F 02 09 01 B2
39 BB 11 00 00 89 30 80 06 18 02 D0 00 3C 01 68 01 68 02 00 01 E1 00 20 04 3A 00 05 00 0F 02 09 02 8B
15 B0 55
39 E3 01 93 E8 E8 E8 E8 E8 E8 E8 FF 00 ED
39 EC 3F 03 05 AF 03 01 6B 03 01 6B 00 FF 80 00 80 00 80 00 80 00 ED 7E FB 79 F7 75 F2 70 00 CA 79 F3
39 ED 6C E5 5F D8 52
39 CC 88 0A 4B 6C FF 58 60 60 80 67 70 80 7A 74 6E 60 79 65 60 60 68 74 67 87 7A 74 6A 60 7A 7A 5C 6C
39 CD 6C 80 80 7A 79 75 6A 68 7C 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83 83
39 CE 83 83 83 83 83 83 83 7A 83 83 83 83 83 7F 7F 7F 7F 7F 7F 7F 7E 7E 7E 7F 7F F4 00 06 02 01 0A E4
39 CF EF EF EF F6 06 00 0A 81 D3 FF 4C 50 48 48 4C 50 50 4A 45 4E 4C 52 54 54 54 58 58 68 65 6B 53 5B
39 D0 50 56 66 66 6C 68 7A 6A 80 72 6F 66 68 6A 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
39 D1 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 7F 7F 7F 7F 7F 7E 7F 7D 7E 7F 7F 7E FB 06
39 D2 FB F6 03 0C F4 E9 EF FB 03 01 00 0A 81 D3 FF 48 44 44 4E 53 52 50 50 4C 60 54 50 4C 50 4C 56 5A
39 D3 62 5F 60 5D 64 60 60 60 5D 61 69 68 79 77 6B 80 80 80 7D 80 80 80 80 80 80 80 80 80 80 80 80 80
39 D4 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 7F 7E 7F 7F 7F 7F 7F 7E 7F
39 D5 7D 7F 7F FB 0C 0A 0A 03 03 F8 F2 0A 15 01 F4 00 0A 81 D3 FF 48 46 40 3A 42 42 4C 4C 3C 38 38 44
39 D6 4D 54 46 4A 49 58 59 5D 42 38 3A 4A 5E 68 60 5A 68 58 70 66 56 4A 4A 5F 80 80 80 80 80 80 80 80
39 D7 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 7F 7F 7E 7E
39 D8 7F 7D 7F 7A 7C 7E 7F 7E FB F8 ED F2 06 15 F8 DC E2 F2 03 0C
39 55 16 29 C0 04 78 DB
FF 3C
05 29
</DSIInitSequence>
<DSIUsePostPanelOn>False</DSIUsePostPanelOn>
<DSITermSequence>
05 28
05 10
FF 96
</DSITermSequence>
<DisplayHeight>
3120
</DisplayHeight>
<Group id='Backlight Configuration'>
<BacklightType>3</BacklightType>
<BacklightDefault>50</BacklightDefault>
<BacklightBitWidth>10</BacklightBitWidth>
<BacklightDCSEndian>True</BacklightDCSEndian>
<DisplayResetInfo>0 10000 1000 5000 0</DisplayResetInfo>
</Group>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>BOE AMOLED</PanelName>
<PanelDescription>BOE Single DSI Cmd Mode AMOLED Panel with DSC (1440x2880 24bpp)</PanelDescription>
<Group id="Active Timing">
<HorizontalActive>1440</HorizontalActive>
<HorizontalFrontPorch>60</HorizontalFrontPorch>
<HorizontalBackPorch>30</HorizontalBackPorch>
<HorizontalSyncPulse>12</HorizontalSyncPulse>
<HorizontalSyncSkew>0</HorizontalSyncSkew>
<HorizontalLeftBorder>0</HorizontalLeftBorder>
<HorizontalRightBorder>0</HorizontalRightBorder>
<VerticalActive>2880</VerticalActive>
<VerticalFrontPorch>8</VerticalFrontPorch>
<VerticalBackPorch>8</VerticalBackPorch>
<VerticalSyncPulse>1</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">
<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>2</DSIAutoRefreshFrameNumDiv>
<DSITECheckEnable>True</DSITECheckEnable>
<DSITEUsingDedicatedTEPin>True</DSITEUsingDedicatedTEPin>
<DSITEvSyncStartPos>2880</DSITEvSyncStartPos>
<DSITEvSyncInitVal>2880</DSITEvSyncInitVal>
<DSIDisableEoTAfterHSXfer>True</DSIDisableEoTAfterHSXfer>
<DSIDSCEnable>True</DSIDSCEnable>
<DSIDSCMajor>1</DSIDSCMajor>
<DSIDSCMinor>1</DSIDSCMinor>
<DSIDSCScr>0</DSIDSCScr>
<DSIDSCProfileID>7</DSIDSCProfileID>
<DSIDSCSliceWidth>720</DSIDSCSliceWidth>
<DSIDSCSliceHeight>180</DSIDSCSliceHeight>
<DSIDSCSlicePerPacket>1</DSIDSCSlicePerPacket>
<DSIControllerMapping>
00
</DSIControllerMapping>
</Group>
<DSIInitSequence>
39 B0 A5 00
39 5C 42 00
07 01 00
0A 11 00 00 89 30 80 0B 40 05 A0 05 A0 02 D0 02 D0 02 00 02 68 00 20 9A DB 00 0A 00 0C 00 12 00 0E 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
39 B0 A5 00
39 F8 00 08 10 08 2D 00 00 2D
15 55 08
05 11 00
FF 1E
39 B0 A5 00
15 E0 18
39 C0 00 53 6F 51 50 51 34 4F 5A 33 19
05 35 00
FF 78
05 29 00
FF 3C
</DSIInitSequence>
<DSITermSequence>
05 28
05 10
</DSITermSequence>
<TLMMGPIODefaultHigh>0x82</TLMMGPIODefaultHigh>
<Group id='Backlight Configuration'>
<BacklightType>3</BacklightType>
<BacklightBitWidth>10</BacklightBitWidth>
<DisplayResetInfo>0 10 1000 10000 0</DisplayResetInfo>
</Group>
Loading