{"push_id":618935935,"size":4,"distinct_size":4,"ref":"refs/heads/chromium-googlesource-kernel-next/chromeos-cyapa-3.18","head":"2a54a64ff8dc45afc6094fe6769c8da101948745","before":"89e28d90c27158c17f985e5aec280c612716d4c1","commits":[{"sha":"4cfdcdeaa883a5d00b7600eb2bbebb119c8420e2","author":{"email":"1973872f13cd7b449143e26fc40babfc9f68e162@chromium.org","name":"Chung-yih Wang"},"message":"CHROMIUM: input: cyapa - Clean up lid filter corner cases\n\nThe lid filter and suspend/resume interactions were not clean\nprior to this patch. It is incorrect if we do a lid closed resume.\nWe end up with the touchpad active while lid closed, causing stray touches.\nInstead, we check the lid state when system resumes.\n\nThat way, if the lid was closed, and touch device disabled before suspend,\nthe resume should leave the device in the same disabled state.\n\nThis patch also covers the behavior of the lid open event firing shortly after\nsystem resume, but before cyapa_resume can be called.\n\nBUG=chromium:372082\nTEST=Do the following on device with Cypress touchpad.\n  Test normal lid-closed suspend :\n  1. log in as guest\n  2. close the lid, wait for suspend\n  3. open the lid to resume\n  4. Check that touchpad is responsive.\n\n  Test normal lid-open, suspend, then lid-closed:\n  1. login in as guest with external DISPLAY+keyboard connected with lid-open\n  2. wait for the suspend\n  3. close the lid\n  4. wake up the device with external keyboard\n  5. ensure no stray touches from touchpad*\n\n  Test Docked mode, lid close-open, no suspend :\n  1. log in as guest\n  2. connect external display via mini-dp to extend monitor\n  3. close the lid to enter docked mode\n  4. ensure no stray touches from touchpad here*\n  5. open the lid\n  6. Check that touchpad is responsive.\n\n  Test Docked mode, lid closed, idle suspend :\n  1. log in as guest\n  2. connect external display and connect USB keyboard.\n  3. close the lid to enter docked mode\n  4. ensure no stray touches from touchpad here*\n  5. from a remote shell (ssh) : powerd_dbus_suspend\n  6. strike a key from usb keyboard to resume.\n  7. ensure no stray touches from touchpad here*\n  8. open the lid\n  9. Check that touchpad is responsive.\n\n  Test normal lid-closed suspend with external mouse, docked mode, lid open:\n  1. log in as guest\n  2. connect USB keyboard.\n  3. close the lid to enter suspend mode\n  4. connect external display\n  5. strike a key from usb keyboard to resume.\n  6. ensure no stray touches from touchpad here*\n  7. open the lid\n  8. Check that touchpad is responsive.\n\n  *: To check that no stray touches occur:\n  a) ssh to dut.\n  b) run \"evtest\" command.\n  c) open the lid a little bit(good enough for your finger to touch the pad, but\n     make sure it won't trigger lid open event.\n  d) a finger touches the pad to verify that touchpad should not be responsive.\n\nChange-Id: Ia33f8f9ce15f601ea9b5a32637c6e1562816819a\nSigned-off-by: Chung-yih Wang <cywang@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/204302\nReviewed-by: Benson Leung <bleung@chromium.org>\nTested-by: Benson Leung <bleung@chromium.org>\n(cherry picked from commit b7eb41e86abd366024892fc10cc036b5cfb691be)\nReviewed-on: https://chromium-review.googlesource.com/206814","distinct":true,"url":"https://api.github.com/repos/mifl/android_kernel_qcom_msm/commits/4cfdcdeaa883a5d00b7600eb2bbebb119c8420e2"},{"sha":"210add78679e77e77bbdfb54aa8211f76df1be3b","author":{"email":"10a8c465cefc9bdd6c925e26964d23c90f1141cc@chromium.org","name":"Dmitry Torokhov"},"message":"CHROMIUM: Input: cyapa - fix compilation for !CONFIG_PM_SLEEP\n\ncyapa_resume() is used in lid handler code and therefore should not be\nunder CONFIG_PM_SLEEP guard, otherwise it causes compile warnings\nturning into errors on platforms that are not using CONFIG_PM_SLEEP\n[yet].\n\nBUG=chromium:401776\nTEST=Compile only.\n\nChange-Id: I48a09cf6c20ab29ea1dcf2398d5dd00a2c19d76c\nSigned-off-by: Dmitry Torokhov <dtor@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/211764\nReviewed-by: Chung-yih Wang <cywang@chromium.org>\nReviewed-by: Benson Leung <bleung@chromium.org>\nTested-by: David Riley <davidriley@chromium.org>","distinct":true,"url":"https://api.github.com/repos/mifl/android_kernel_qcom_msm/commits/210add78679e77e77bbdfb54aa8211f76df1be3b"},{"sha":"08299f7861706d5cf7cc7efc5a364b539c2ed193","author":{"email":"36396291c211820ee1a6945573ca474fafe26292@intel.com","name":"Wenkai Du"},"message":"CHROMIUM: cyapa: Add support for probing device from ACPI\n\nWith firmware support it is possible to discover and probe devices on I2C buses without needing the glue layer in chromeos_laptop that we use today.\n\nThis requires that the drivers implement the new acpi_match_table with compatible ACPI IDs.\n\nI chose to use CYAP0000 for the cyapa touchpad as a generic HID that can be used in ACPI tables to probe a CYAPA touchpad.\n\nThis is based on dlaurie's patch from:\nhttps://chromium-review.googlesource.com/#/c/182340/\n\nBUG=chrome-os-partner:31494\nTEST=Cypress touchpad is working on Auron\n\nChange-Id: I943f24c9a4450b552cd020b109afb720081f84a7\nReviewed-on: https://chromium-review.googlesource.com/216362\nReviewed-by: Bernie Thompson <bhthompson@chromium.org>\nReviewed-by: Sameer Nanda <snanda@chromium.org>\nTested-by: Wenkai Du <wenkai.du@intel.com>\nCommit-Queue: Bernie Thompson <bhthompson@chromium.org>","distinct":true,"url":"https://api.github.com/repos/mifl/android_kernel_qcom_msm/commits/08299f7861706d5cf7cc7efc5a364b539c2ed193"},{"sha":"2a54a64ff8dc45afc6094fe6769c8da101948745","author":{"email":"c12cb8f9e0150c105d2f8053aae686acb8e7d4b2@chromium.org","name":"Patrik Fimml"},"message":"CHROMIUM: input: Migrate cyapa to inhibit\n\nRemove the lid filtering code from the cyapa driver and use the new\ninhibit infrastructure instead. We also clean up suspend/resume a bit.\n\nBUG=chromium:391046\nTEST=Tested on peppy.\n 1. evtest /dev/input/event7 &\n 2. check that touchpad works\n 3. echo 1 > /sys/class/input/input7/inhibited\n 4. check that touchpad doesn't work\n 5. echo 0 > /sys/class/input/input7/inhibited\n 6. check that touchpad works\n 7. echo mem > /sys/power/state\n 8. touch touchpad; should wake the system\n 9. echo 1 > /sys/class/input/input7/inhibited\n10. echo mem > /sys/power/state\n11. touch touchpad; should not wake the system\n12. wake up system (press key on keyboard)\n13. check that touchpad doesn't work\n14. echo 0 > /sys/class/input/input7/inhibited\n15. check that touchpad works\n\nChange-Id: Iae1f7863ed47f2ee05cfbae5b18280f071d11bf5\nSigned-off-by: Patrik Fimml <patrikf@chromium.org>\nReviewed-on: https://chromium-review.googlesource.com/216351\nReviewed-by: Dmitry Torokhov <dtor@chromium.org>\nReviewed-by: Dudley Du <dudl@cypress.com>","distinct":true,"url":"https://api.github.com/repos/mifl/android_kernel_qcom_msm/commits/2a54a64ff8dc45afc6094fe6769c8da101948745"}]}