Gwendal Grignou | 87d5fb8 | 2017-01-19 18:30:21 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2017 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | Device (TBMC) |
| 17 | { |
| 18 | Name (_HID, "GOOG0006") |
| 19 | Name (_UID, 1) |
| 20 | Name (_DDN, "Tablet Motion Control") |
| 21 | Method (TBMC) |
| 22 | { |
| 23 | If (LEqual (^^RCTM, One)) { |
| 24 | Return (0x1) |
| 25 | } Else { |
| 26 | Return (0x0) |
| 27 | } |
| 28 | } |
| 29 | } |