forked from edk2-porting/edk2-msm
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
12 changed files
with
13,032 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,96 @@ | ||
|
||
// | ||
// NOTE: The 3rd parameter (i.e. ComplianceRevision) must be >=2 for 64-bit integer support. | ||
// | ||
DefinitionBlock("DSDT.AML", "DSDT", 0x02, "QCOMM ", "SDM850 ", 3) | ||
{ | ||
Scope(\_SB_) { | ||
|
||
Include("addSub.asl") | ||
Include("dsdt_common.asl") | ||
Include("cust_dsdt.asl") | ||
|
||
Include("usb.asl") | ||
|
||
// Thermal Zone devices depend on PEP (included in dsdt_common). Please be CAREFUL on location | ||
Include("cust_thermal_zones.asl") | ||
|
||
|
||
// | ||
// Hardware Notifications | ||
// | ||
Include("cust_hwn.asl") | ||
|
||
// | ||
// Touch | ||
// | ||
Include("cust_touch.asl") | ||
|
||
// | ||
// Buttons | ||
// | ||
Include("cust_arraybutton.asl") | ||
|
||
// | ||
// Data components | ||
// | ||
Include("data.asl") | ||
|
||
// | ||
//Qualcomm Diagnostic Consumer Interface | ||
// | ||
Device (QDCI) | ||
{ | ||
Name (_DEP, Package(0x1) | ||
{ | ||
\_SB_.GLNK | ||
}) | ||
Name (_HID, "QCOM0224") | ||
Alias(\_SB.PSUB, _SUB) | ||
} | ||
|
||
// | ||
// Sillab FM chip | ||
// | ||
//Include("wcnss_fm.asl") | ||
|
||
// | ||
// Bluetooth | ||
// | ||
Include("wcnss_bt.asl") | ||
|
||
// | ||
// QCOM App Profiler: Used by performance team | ||
// | ||
// Device (PER0) | ||
// { | ||
// Name (_HID, "QCOM02ED") | ||
|
||
// } | ||
|
||
// XOMC: 48MHz XO Mode configuration | ||
// 0: NO 48MHz XO on HW, otherwise 1 | ||
// Method WXOM = 'MOXW': WCNSS XO Mode configuration | ||
// Returns XOMC value. Invoked by WCN driver. | ||
// WCN driver turns ON or OFF 48MHz according to XOMC value. | ||
// | ||
// NOTE: this method explicitly sets the XO mode and when present bypasses auto-ID checking in the WCN driver. | ||
// If this is not in ACPI, WCN driver will do auto-ID checking and decide the 48MHz XO mode according to the chip ID | ||
//Scope(\_SB_.RIVA) | ||
//{ | ||
// Name(XOMC, 0x0) | ||
// | ||
// Method(WXOM) | ||
// { | ||
// return(XOMC) | ||
// } | ||
//} | ||
|
||
// | ||
// ADC driver | ||
// | ||
Include("adc.asl") | ||
//Include("Bringup_Disable.asl") | ||
} | ||
|
||
} |
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,31 @@ | ||
// | ||
// This file contains ASL Bridge Device definitions | ||
// | ||
|
||
// | ||
// ASL BRIDGE Device | ||
// | ||
Device (ABD) | ||
{ | ||
Name (_DEP, Package(0x1) | ||
{ | ||
\_SB_.PEP0 | ||
}) | ||
Name (_HID, "QCOM0242") | ||
Alias(\_SB.PSUB, _SUB) | ||
Name (_UID, 0) | ||
|
||
Method (_STA) { | ||
Return (0xB) // Device is installable, functional & should not be visible in OSPM/Device Manager | ||
} | ||
|
||
OperationRegion(ROP1, GenericSerialBus, 0x00000000, 0x100) | ||
Name(AVBL, Zero) | ||
Method(_REG, 0x2, NotSerialized) | ||
{ | ||
If(Lequal(Arg0, 0x9)) | ||
{ | ||
Store(Arg1, AVBL) | ||
} | ||
} | ||
} |
Oops, something went wrong.