Skip to content

Commit

Permalink
TGL: add defaults for HP Spectre x360
Browse files Browse the repository at this point in the history
The DSDT on the HP Spectre x360 is just wrong, the RT711 and RT1308
are not exposed to the OS.

This initrd override table is needed if the kernel doesn't provide the
DMI quirks (before 5.13)

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed May 10, 2021
1 parent ba53329 commit 24a0eb3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions TGL/HP-spectre-360.asl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/** @file
The definition block in ACPI table four SoundWire devices on HP Spectre x360
Copyright (c) 2021, 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 (
"",
"SSDT",
2,
"INTEL",
"RTKSDWTa",
0x1000
)
{
External(\_SB.PC00.HDAS.SNDW, DeviceObj)

Scope (_SB.PC00.HDAS.SNDW) {
Device (RTK0) // RT711 on link0
{
Name (_ADR, 0x000020025D071100) // _ADR: Address
}
Device (RTK1) // RT1308 on link1
{
Name (_ADR, 0x000120025D130800) // _ADR: Address
}
}
}

0 comments on commit 24a0eb3

Please sign in to comment.