ec/google/wilco: coalesce tent mode to tablet mode

Both tent mode (0x01) and tablet mode (0x02) should be considered tablet
mode by ChromeOS.

BRANCH=none
BUG=b:122052438
TEST=ChromeOS enters tablet mode when lid angle exceeds 180

Change-Id: I89ba8141350fc628c8cff89d5f33aa47c6ae6afe
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31907
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Jett Rink 2019-03-14 16:01:09 -06:00 committed by Patrick Georgi
parent ff7e5ea401
commit a29d866f1c
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Name (DRHY, Package () { 0x37, 0xff, RD }) /* DPTF: Read Hysteresis */
Name (DRTQ, Package () { 0x38, 0xff, RD }) /* DPTF: Read Trip Query */ Name (DRTQ, Package () { 0x38, 0xff, RD }) /* DPTF: Read Trip Query */
Name (ORST, Package () { 0x39, 0xff, RD }) /* Orientation State */ Name (ORST, Package () { 0x39, 0xff, RD }) /* Orientation State */
Name (OTBL, Package () { 0x39, 0x02, RD }) /* Orientation: Tablet mode */ Name (OTBL, Package () { 0x39, 0x03, RD }) /* Orient: Tablet/Tent mode */
Name (OREV, Package () { 0x3a, 0xff, RD }) /* Orientation Events */ Name (OREV, Package () { 0x3a, 0xff, RD }) /* Orientation Events */
Name (OECH, Package () { 0x3a, 0x01, RD }) /* Event: Orientation */ Name (OECH, Package () { 0x3a, 0x01, RD }) /* Event: Orientation */
Name (OERL, Package () { 0x3a, 0x02, RD }) /* Event: Rotation Lock */ Name (OERL, Package () { 0x3a, 0x02, RD }) /* Event: Rotation Lock */