mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
24 lines
310 B
Text
24 lines
310 B
Text
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
/*
|
||
|
* Copyright 2017 Google Inc.
|
||
|
*/
|
||
|
|
||
|
Device (TBMC)
|
||
|
{
|
||
|
Name (_HID, "GOOG0006")
|
||
|
Name (_UID, 1)
|
||
|
Name (_DDN, "Tablet Motion Control")
|
||
|
Method (TBMC)
|
||
|
{
|
||
|
If (LEqual (^^RCTM, One)) {
|
||
|
Return (0x1)
|
||
|
} Else {
|
||
|
Return (0x0)
|
||
|
}
|
||
|
}
|
||
|
Method(_STA, 0)
|
||
|
{
|
||
|
Return (0xB)
|
||
|
}
|
||
|
}
|