summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/tbmc.asl
blob: 3ecf78ef5b5f4390be86ef29ec9a94be71e0fa53 (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
/* SPDX-License-Identifier: GPL-2.0-only */

Device (TBMC)
{
	Name (_HID, "GOOG0006")
	Name (_UID, 1)
	Name (_DDN, "Tablet Motion Control")
	Method (TBMC)
	{
		If (^^RCTM == 1) {
			Return (0x1)
		} Else {
			Return (0x0)
		}
	}
	Method(_STA, 0)
	{
		If (^^MTNS == 1) {
			Return (0xF)
		} Else {
			Return (0x0)
		}
	}
}