0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2025-05-22 22:37:57 +00:00
Files
edk2-msm/Platform/Xiaomi/sdm845/AcpiTables/dipper/dsdt_common.asl
2023-01-10 20:01:57 +08:00

150 lines
3.7 KiB
C
Executable File

// To enable SOC revision based run time differentiation, uncomment following line
// and uncomment SSID method in ABD device. The original string is artificailly set as
// 16 characters, so there is enough room to hold SOC revision string.
// To adjust the number, the MAX_SOCID_LEN macro as defined in ABD device.h should be
// adjusted at the same time.
Name (SOID, 0xffffffff) // Holds the Chip Id
Name (SIDS, "SDM845") // Holds the Chip ID translated to a string
Name (SIDV, 0xffffffff) // Holds the Chip Version as (major<<16)|(minor&0xffff)
Name (SVMJ, 0xffff) // Holds the major Chip Version
Name (SVMI, 0xffff) // Holds the minor Chip Version
Name (SDFE, 0xffff) // Holds the Chip Family enum
Name (SFES, "899800000000000") // Holds the Chip Family translated to a string
Name (SIDM, 0xfffffffff) // Holds the Modem Support bit field
Name (SOSN, 0xaaaaaaaabbbbbbbb) // Holds the Chip Serial Number
Name (PLST, 0xffffffff) // Holds the Device platform subtype
Name (RMTB, 0xaaaaaaaa)
Name (RMTX, 0xbbbbbbbb)
Name (RFMB, 0xcccccccc)
Name (RFMS, 0xdddddddd)
Name (RFAB, 0xeeeeeeee)
Name (RFAS, 0x77777777)
Name (TPMA, 0x11111111) // Holds whether TPM is seperate app or combined with Winsecapp
Name (TDTV, 0x6654504D) // Holds TPM type, by default it set to fTPM type
Name (TCMA, 0xDEADBEEF) // Holds TrEE Carveout Memory Address
Name (TCML, 0xBEEFDEAD) // Holds TrEE Carveout Memory Length
// Name (SOSI, 0xdeadbeefffffffff) // Holds the base address of the SoCInfo shared memory region used by ChipInfoLib
//Audio Drivers
Include("audio.asl")
//
// Storage - UFS/SD
//
Include("ufs.asl")
// Include("sdc.asl") // No SD support on polaris
//
// ASL Bridge Device
//
Include("abd.asl")
Name (ESNL, 20) // Exsoc name limit 20 characters
Name (DBFL, 23) // buffer Length, should be ESNL+3
//
// PMIC driver
//
Include("pmic_core.asl")
//
// PMICTCC driver
//
Include("pmic_batt.asl")
Include("pep.asl")
Include("bam.asl")
Include("buses.asl")
// MPROC Drivers (PIL Driver and Subsystem Drivers)
Include("win_mproc.asl")
Include("syscache.asl")
Include("HoyaSmmu.asl")
Include("graphics.asl")
Include("SCM.asl");
//
// SPMI driver
//
Include("spmi.asl")
//
// TLMM controller.
//
Include("qcgpio.asl")
Include("pcie.asl")
Include("cbsp_mproc.asl")
Include("adsprpc.asl")
//
// RemoteFS
//
Include("rfs.asl")
// Test Drivers
Include("testdev.asl")
//
//
// Qualcomm IPA
Include("ipa.asl")
Include("gsi.asl")
//
//Qualcomm DIAG Service
//
Device (QDIG)
{
Name (_DEP, Package(0x1)
{
\_SB_.GLNK
})
Name (_HID, "QCOM0225")
Alias(\_SB.PSUB, _SUB)
}
Include("qcdb.asl")
Include("pep_lpi.asl")
//
// QcRNG Driver (qcsecuremsm)
//
Device (QRNG)
{
Name (_DEP, Package(0x1) {
\_SB_.PEP0,
})
Name (_HID, "QCOM02FE")
Name (_UID, 0)
Method (_CRS, 0x0, NotSerialized)
{
Name (RBUF, ResourceTemplate ()
{
// PRNG_CFG_EE2_EE2_PRNG_SUB register address space
Memory32Fixed (ReadWrite, 0x00793000, 0x00001000)
})
Return (RBUF)
}
}
//
// QCOM GPS
//
Include("gps.asl")
// QDSS driver
Include("Qdss.asl")
// QUPV3 GPI device node and resources
//
Include("qgpi.asl")
Include("nfc.asl")
Include("sar_manager.asl")