summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/acpi
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-07-02 20:05:43 -0700
committerMartin Roth <martinroth@google.com>2016-07-08 17:22:27 +0200
commit5edbb0427c912a8a3ac90eb03aa378398342d358 (patch)
tree9af52522ba99ae13fd527a938bb3090dbae4709d /src/mainboard/google/reef/acpi
parentdba7e76da1e32d1761a0aaaca2e50d19298becce (diff)
mainboard/google/reef: Use device driver for DA7219 configuration
Use the device driver for DA7219 device configuration in the SSDT and remove the static copy in the DSDT. Tested on reef to ensure that the generated SSDT contents are equivalent to the current DSDT contents. Change-Id: I288eb05d0cb3f5310c4dca4aa1eab5a029f216af Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/15539 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/acpi')
-rw-r--r--src/mainboard/google/reef/acpi/mainboard.asl60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/mainboard/google/reef/acpi/mainboard.asl b/src/mainboard/google/reef/acpi/mainboard.asl
index 6e6d61faeb..5b6e976093 100644
--- a/src/mainboard/google/reef/acpi/mainboard.asl
+++ b/src/mainboard/google/reef/acpi/mainboard.asl
@@ -38,63 +38,3 @@ Scope (\_SB.PCI0.LPCB)
/* Chrome OS Embedded Controller */
#include "ec.asl"
}
-
-Scope (\_SB.PCI0.I2C0)
-{
- /* Headphone Codec */
- Device (HPDA)
- {
- Name (_HID, "DLGS7219")
- Name (_DDN, "Dialog DA7219 Codec")
- Name (_UID, 1)
- Name (_S0W, 4)
- Name (_DSD, Package () {
- ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
- Package () {
- Package () { "dlg,micbias-lvl", 2600 },
- Package () { "dlg,mic-amp-in-sel", "diff" },
- },
- ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
- Package () {
- Package () {"da7219_aad", "DAAD"},
- }
- })
-
- Name (DAAD, Package () {
- ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
- Package () {
- Package () { "dlg,btn-cfg", 50 },
- Package () { "dlg,mic-det-thr", 500 },
- Package () { "dlg,jack-ins-deb", 20 },
- Package () { "dlg,jack-det-rate", "32ms_64ms" },
- Package () { "dlg,jack-rem-deb", 1 },
- Package () { "dlg,a-d-btn-thr", 0xa },
- Package () { "dlg,d-b-btn-thr", 0x16 },
- Package () { "dlg,b-c-btn-thr", 0x21 },
- Package () { "dlg,c-mic-btn-thr", 0x3E },
- Package () { "dlg,btn-avg", 4 },
- Package () { "dlg,adc-1bit-rpt", 1 },
- }
- })
-
- Name (_CRS, ResourceTemplate()
- {
- I2cSerialBus (
- BOARD_HP_MIC_CODEC_I2C_ADDR,
- ControllerInitiated,
- 400000,
- AddressingMode7Bit,
- "\\_SB.PCI0.I2C0",
- )
- Interrupt (ResourceConsumer, Level, ActiveLow)
- {
- BOARD_HP_MIC_CODEC_IRQ
- }
- })
-
- Method (_STA)
- {
- Return (0xF)
- }
- }
-}