-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cac788
commit 622db29
Showing
50 changed files
with
4,526 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
APRIORI DXE { | ||
|
||
# | ||
# PI DXE Drivers producing Architectural Protocols (EFI Services) | ||
# | ||
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf | ||
INF MdeModulePkg/Core/Dxe/DxeMain.inf | ||
INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf | ||
INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf | ||
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | ||
INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf | ||
INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf | ||
INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf | ||
INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf | ||
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/SmemDxe/SmemDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/DALSYSDxe/DALSYSDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/HWIODxe/HWIODxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ChipInfoDxe/ChipInfoDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/PlatformInfoDxe/PlatformInfoDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/HALIOMMUDxe/HALIOMMUDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/GLinkDxe/GLinkDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ULogDxe/ULogDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/NpaDxe/NpaDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/VcsDxe/VcsDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ClockDxe/ClockDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ShmBridgeDxe/ShmBridgeDxeLA.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TzDxe/ScmDxeLA.inf | ||
|
||
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | ||
INF MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/SdccDxe/SdccDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UFSDxe/UFSDxe.inf | ||
|
||
INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | ||
INF FatPkg/EnhancedFatDxe/Fat.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/TzDxe/TzDxeLA.inf | ||
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/QcomWDogDxe/QcomWDogDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TLMMDxe/TLMMDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/SPMIDxe/SPMIDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ResetRuntimeDxe/ResetRuntimeDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/PmicDxe/PmicDxeLa.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/PILDxe/PILDxe.inf | ||
|
||
!if $(SECURE_BOOT_ENABLE) == TRUE | ||
INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf | ||
INF SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf | ||
!endif | ||
|
||
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf | ||
INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf | ||
INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf | ||
INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | ||
INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf | ||
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | ||
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | ||
INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/FontDxe/FontDxe.inf | ||
|
||
INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/I2CDxe/I2CDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/AdcDxe/AdcDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/QcomChargerDxe/QcomChargerDxeLA.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ChargerExDxe/ChargerExDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbConfigDxe/UsbConfigDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TsensDxe/TsensDxe.inf | ||
|
||
INF Silicon/Qualcomm/QcomPkg/Drivers/SimpleFbDxe/SimpleFbDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/GpiDxe/GpiDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/DDRInfoDxe/DDRInfoDxe.inf | ||
|
||
INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf | ||
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | ||
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | ||
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TzDxe/ScmDxeLA.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TzDxe/TzDxeLA.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/FontDxe/FontDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/QcomWDogDxe/QcomWDogDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/ChipInfoDxe/ChipInfoDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/GLinkDxe/GLinkDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/SmemDxe/SmemDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ULogDxe/ULogDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/NpaDxe/NpaDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/DALSYSDxe/DALSYSDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/VcsDxe/VcsDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ClockDxe/ClockDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/HALIOMMUDxe/HALIOMMUDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/HWIODxe/HWIODxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/GpiDxe/GpiDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/I2CDxe/I2CDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/SPMIDxe/SPMIDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/SdccDxe/SdccDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UFSDxe/UFSDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TLMMDxe/TLMMDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/PlatformInfoDxe/PlatformInfoDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/PmicDxe/PmicDxeLa.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ChargerExDxe/ChargerExDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/QcomChargerDxe/QcomChargerDxeLA.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbPwrCtrlDxe/UsbPwrCtrlDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/AdcDxe/AdcDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/TsensDxe/TsensDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/DDRInfoDxe/DDRInfoDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbMsdDxe/UsbMsdDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbDeviceDxe/UsbDeviceDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/UsbConfigDxe/UsbConfigDxe.inf | ||
|
||
INF Platform/EFI_Binaries/Drivers/sm6375/PILDxe/PILDxe.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ShmBridgeDxe/ShmBridgeDxeLA.inf | ||
INF Platform/EFI_Binaries/Drivers/sm6375/ResetRuntimeDxe/ResetRuntimeDxe.inf |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
DefinitionBlock ("", "DSDT", 2, "QCOMM ", "SM6225 ", 0x00000003) | ||
{ | ||
Scope (_SB) | ||
{ | ||
Name (PSUB, "MTP06225") | ||
Name (SOID, 0xFFFFFFFF) | ||
Name (STOR, 0xABCABCAB) | ||
Name (SIDS, "899800000000000") | ||
Name (SIDV, 0xFFFFFFFF) | ||
Name (SVMJ, 0xFFFF) | ||
Name (SVMI, 0xFFFF) | ||
Name (SDFE, 0xFFFF) | ||
Name (SFES, "899800000000000") | ||
Name (SIDM, 0x0000000FFFFFFFFF) | ||
Name (SUFS, 0xFFFFFFFF) | ||
Name (PUS3, 0xFFFFFFFF) | ||
Name (SUS3, 0xFFFFFFFF) | ||
Name (SIDT, 0xFFFFFFFF) | ||
Name (SOSN, 0xAAAAAAAABBBBBBBB) | ||
Name (PLST, 0xFFFFFFFF) | ||
Name (EMUL, 0xFFFFFFFF) | ||
Name (SJTG, 0xFFFFFFFF) | ||
Name (RMTB, 0xAAAAAAAA) | ||
Name (RMTX, 0xBBBBBBBB) | ||
Name (RFMB, 0xCCCCCCCC) | ||
Name (RFMS, 0xDDDDDDDD) | ||
Name (RFAB, 0xEEEEEEEE) | ||
Name (RFAS, 0x77777777) | ||
Name (TCMA, 0xDEADBEEF) | ||
Name (TCML, 0xBEEFDEAD) | ||
Name (SOSI, 0xDEADBEEFFFFFFFFF) | ||
Name (PRP0, 0xFFFFFFFF) | ||
Name (PRP1, 0xFFFFFFFF) | ||
Name (PRP2, 0xFFFFFFFF) | ||
Name (PRP3, 0xFFFFFFFF) | ||
Name (PRP4, 0xFFFFFFFF) | ||
Name (PRP5, 0xFFFFFFFF) | ||
Name (PRP6, 0xFFFFFFFF) | ||
|
||
Device (UFS0) | ||
{ | ||
Method (_STA, 0, NotSerialized) // _STA: Status | ||
{ | ||
Return (0x0F) | ||
} | ||
|
||
Name (_HID, "QCOM24A5") // _HID: Hardware ID | ||
Alias (^EMUL, EMUL) | ||
Name (_UID, Zero) // _UID: Unique ID | ||
Name (_CCA, Zero) // _CCA: Cache Coherency Attribute | ||
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | ||
{ | ||
Name (RBUF, ResourceTemplate () | ||
{ | ||
Memory32Fixed (ReadWrite, | ||
0x04804000, // Address Base | ||
0x00014000, // Address Length | ||
) | ||
Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) | ||
{ | ||
0x00000184, | ||
} | ||
}) | ||
Return (RBUF) /* \_SB_.UFS0._CRS.RBUF */ | ||
} | ||
|
||
Device (DEV0) | ||
{ | ||
Method (_ADR, 0, NotSerialized) // _ADR: Address | ||
{ | ||
Return (0x08) | ||
} | ||
|
||
Method (_RMV, 0, NotSerialized) // _RMV: Removal Status | ||
{ | ||
Return (Zero) | ||
} | ||
} | ||
} | ||
|
||
Include("abd.dsl") | ||
|
||
Include("pmic_core.dsl") | ||
|
||
Include("scm.dsl"); | ||
|
||
Include("spmi.dsl"); | ||
|
||
Include("qcgpio.dsl"); | ||
|
||
Include("btns.dsl"); | ||
|
||
Include("pep_lpi.dsl"); | ||
|
||
Include("usb.dsl"); | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Device (ABD) | ||
{ | ||
Name (_HID, "QCOM0527") // _HID: Hardware ID | ||
Name (_UID, Zero) // _UID: Unique ID | ||
OperationRegion (ROP1, GenericSerialBus, Zero, 0x0100) | ||
Name (AVBL, Zero) | ||
Alias (PSUB, _SUB) | ||
Method (_REG, 2, NotSerialized) // _REG: Region Availability | ||
{ | ||
If ((Arg0 == 0x09)) | ||
{ | ||
AVBL = Arg1 | ||
} | ||
} | ||
|
||
Method (_STA, 0, NotSerialized) // _STA: Status | ||
{ | ||
Return (0xF) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
Device (BTNS) | ||
{ | ||
Name (_HID, "ACPI0011" /* Generic Buttons Device */) // _HID: Hardware ID | ||
Alias (PSUB, _SUB) | ||
Name (_UID, Zero) // _UID: Unique ID | ||
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings | ||
{ | ||
Name (RBUF, ResourceTemplate () | ||
{ | ||
GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullDown, 0x0000, | ||
"\\_SB.PM01", 0x00, ResourceConsumer, , | ||
) | ||
{ // Pin list | ||
0x0000 | ||
} | ||
GpioInt (Edge, ActiveBoth, Exclusive, PullUp, 0x0000, | ||
"\\_SB.PM01", 0x00, ResourceConsumer, , | ||
) | ||
{ // Pin list | ||
0x0085 | ||
} | ||
GpioInt (Edge, ActiveBoth, Exclusive, PullDown, 0x0000, | ||
"\\_SB.PM01", 0x00, ResourceConsumer, , | ||
) | ||
{ // Pin list | ||
0x0001 | ||
} | ||
}) | ||
Return (RBUF) /* \_SB_.BTNS._CRS.RBUF */ | ||
} | ||
|
||
Name (_DSD, Package (0x02) // _DSD: Device-Specific Data | ||
{ | ||
ToUUID ("fa6bd625-9ce8-470d-a2c7-b3ca36c4282e") /* Generic Buttons Device */, | ||
Package (0x04) | ||
{ | ||
Package (0x05) // Portable Device Control | ||
{ | ||
Zero, | ||
One, | ||
Zero, | ||
One, | ||
0x0D | ||
}, | ||
|
||
Package (0x05) // Power | ||
{ | ||
One, | ||
Zero, | ||
One, | ||
One, | ||
0x81 | ||
}, | ||
|
||
Package (0x05) // Vol Up | ||
{ | ||
One, | ||
One, | ||
One, | ||
0x0C, | ||
0xE9 | ||
}, | ||
|
||
Package (0x05) // Vol Down | ||
{ | ||
One, | ||
0x02, | ||
One, | ||
0x0C, | ||
0xEA | ||
} | ||
} | ||
}) | ||
} |
Oops, something went wrong.