summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenson Leung <bleung@chromium.org>2016-03-22 13:37:51 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-04-05 13:34:29 +0200
commit473e0c35fe2ecd70ed791936e65d8924f16e528c (patch)
treee52293f71ebd8edbbf101e5953808f5dcfe0649f /src
parentc445b4fc773296be525123eb472ea27ac807339f (diff)
downloadcoreboot-473e0c35fe2ecd70ed791936e65d8924f16e528c.tar.xz
google/chell: Adjust nuvoton 8825 button thresholds again.
Changing these thresholds again for new tuning in March of 2016. Something's changed in the latest firmware to cause all values previously read on Chell to float down. Set "nuvoton,sar-threshold" property to thresholds based on tuning with the Android Wired Headphone Compatibility Kit and Chell DVT. Signed-off-by: Benson Leung <bleung@chromium.org> BUG=chrome-os-partner:49333 BRANCH=none TEST=Run evtest, selecting the input event for sklnau8825adi Using the Nominal headphones from the kit, check that the buttons for "KEY_VOLUMEDOWN", "KEY_VOLUMEUP", "KEY_MEDIA", and code 582 (?) (should be voice search, but evtest doesn't understand) All of these buttons should work properly. Change-Id: Ie5ff1d35599d2cca5ce76467ecd7ec3ecab42d8b Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1d13e967addb5cd31e6196e32541cda97ae00257 Original-Change-Id: I11de7a0853a3598f3834e8bae3140b9942cbd0b0 Original-Reviewed-on: https://chromium-review.googlesource.com/334402 Original-Commit-Ready: Benson Leung <bleung@chromium.org> Original-Tested-by: Benson Leung <bleung@chromium.org> Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/14233 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/chell/acpi/mainboard.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/chell/acpi/mainboard.asl b/src/mainboard/google/chell/acpi/mainboard.asl
index a7c7bfe55f..67de19da96 100644
--- a/src/mainboard/google/chell/acpi/mainboard.asl
+++ b/src/mainboard/google/chell/acpi/mainboard.asl
@@ -172,7 +172,7 @@ Scope (\_SB.PCI0.I2C4)
* Compatibility Kit and a Chell EVT
*/
Package () {"nuvoton,sar-threshold",
- Package () {0x20, 0x32, 0x50, 0x70}},
+ Package () {0x0c, 0x1c, 0x38, 0x60}},
Package () {"nuvoton,sar-hysteresis", 1},
/* VDDA for button impedance measurement */
Package () {"nuvoton,sar-voltage", 0},