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>
This commit is contained in:
parent
c445b4fc77
commit
473e0c35fe
|
@ -172,7 +172,7 @@ Scope (\_SB.PCI0.I2C4)
|
||||||
* Compatibility Kit and a Chell EVT
|
* Compatibility Kit and a Chell EVT
|
||||||
*/
|
*/
|
||||||
Package () {"nuvoton,sar-threshold",
|
Package () {"nuvoton,sar-threshold",
|
||||||
Package () {0x20, 0x32, 0x50, 0x70}},
|
Package () {0x0c, 0x1c, 0x38, 0x60}},
|
||||||
Package () {"nuvoton,sar-hysteresis", 1},
|
Package () {"nuvoton,sar-hysteresis", 1},
|
||||||
/* VDDA for button impedance measurement */
|
/* VDDA for button impedance measurement */
|
||||||
Package () {"nuvoton,sar-voltage", 0},
|
Package () {"nuvoton,sar-voltage", 0},
|
||||||
|
|
Loading…
Reference in New Issue