From ebb9932686c605cf3dc409716da6e2ca7b7c50b4 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Fri, 1 May 2020 18:16:12 -0500 Subject: [PATCH] UpExtreme: rt5682 support on link2 Add ACPI override info for link2. Signed-off-by: Pierre-Louis Bossart --- UpExtreme/rt5682_sdw_link2.asl | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 UpExtreme/rt5682_sdw_link2.asl diff --git a/UpExtreme/rt5682_sdw_link2.asl b/UpExtreme/rt5682_sdw_link2.asl new file mode 100644 index 0000000..ff771b1 --- /dev/null +++ b/UpExtreme/rt5682_sdw_link2.asl @@ -0,0 +1,32 @@ + /** @file + The definition block in ACPI table for RT5682 under SoundWire Controller + (link2) + + Copyright (c) 2019, Intel Corporation. All rights reserved.
+ 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 ( + "", + "SSDT", + 2, + "INTEL", + "RTK0Tabl", + 0x1000 + ) +{ + External(\_SB.PCI0.HDAS.SNDW, DeviceObj) + + Scope (_SB.PCI0.HDAS.SNDW) { + Device (RTK0) // RT5682 on link2 + { + Name (_ADR, 0x000220025D568200) // _ADR: Address + } + } +}