forked from plbossart/acpi-scripts
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add rt5682 acpi for ICL RVP Signed-off-by: Bard liao <[email protected]>
- Loading branch information
Showing
1 changed file
with
55 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,55 @@ | ||
/** @file | ||
The definition block in ACPI table for rt5682 device under I2C0 Controller | ||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> | ||
This program and the accompanying materials | ||
are licensed and made available under the terms and conditions of the BSD License | ||
which accompanies this distribution. The full text of the license may be found at | ||
http://opensource.org/licenses/bsd-license.php | ||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | ||
**/ | ||
|
||
DefinitionBlock ( | ||
"RT5682.aml", | ||
"SSDT", | ||
2, | ||
"INTEL ", | ||
"5682Tabl", | ||
0x1000 | ||
) | ||
{ | ||
External(\_SB.PCI0.I2C0, DeviceObj) | ||
|
||
Scope (\_SB.PCI0.I2C0) { | ||
Device (RTKX) | ||
{ | ||
Name (_ADR, Zero) // _ADR: Address | ||
Name (_HID, "10EC5682" /* Realtek I2S Audio Codec */) // _HID: Hardware ID | ||
Name (_CID, "10EC5682" /* Realtek I2S Audio Codec */) // _CID: Compatible ID | ||
Name (_DDN, "Realtek Codec Controller ") // _DDN: DOS Device Name | ||
Name (_UID, One) // _UID: Unique ID | ||
Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings | ||
{ | ||
Name (SBUF, ResourceTemplate () | ||
{ | ||
I2cSerialBus (0x001A, ControllerInitiated, 0x00061A80, | ||
AddressingMode7Bit, "\\_SB.PCI0.I2C0", | ||
0x00, ResourceConsumer, , | ||
) | ||
}) | ||
Return (SBUF) /* \_SB_PCI0.I2C0.RTKX._CRS.SBUF */ | ||
} | ||
|
||
Method (_STA, 0, NotSerialized) // _STA: Status | ||
{ | ||
Return (0x0F) | ||
} | ||
|
||
Method (_DIS, 0, NotSerialized) // _DIS: Disable Device | ||
{ | ||
} | ||
} | ||
} | ||
} |