summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/acpi/mainboard.asl
blob: 5bdde36bb701c29f3b94e3a2217d2ad40dfe3c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: GPL-2.0-only */

Scope (\_SB) {
	#include "sleep.asl"
}

/*
 * This platform doesn't support SoundWire but there
 * is a kernel bug in some 5.10.x releases.
 *
 * Debian testing live CD (at 4th Feb 2021) uses 5.10.9-1. More
 * details can be found at https://bit.ly/3ttdffG but it appears to
 * be triggered by missing SoundWire ACPI entries.
 *
 * Add the minimal set to make it work again.
 */
Scope (_SB.PCI0.HDAS)
{
	Device (SNDW)
	{
		Name (_ADR, 0x40000000)

		Name (_CID, Package (0x02)
		{
			"PRP0001",
			"PNP0A05"
		})

		Method (_STA, 0, NotSerialized)
		{
			Return (0x0B)
		}
	}
}