touch: fts: support firmware grip size command

Bug: 182538797
Test: enable/disable twoshay and check with the following commands:
  $ adb shell "echo 01 A4 06 C3 > /proc/fts/driver_test"
  $ adb shell "echo 02 A7 00 00 00 1B 00 > /proc/fts/driver_test ; cat /proc/fts/driver_test"
  The meaning of the last 4 hex:
  Pure fw setting:
  - 0003 left and right edge grip rejection and edge palm rejection: off.
  After sent the grip switch and size commands:
  - 0000 left and right edge grip rejection and edge palm rejection: off.
  - FF03 left and right edge grip rejection and edge palm rejection: on.
Signed-off-by: Tai Kuo <[email protected]>
Change-Id: I81e5ae6440d2aa56f94a33e55377a04fd8e2a7d1
2 files changed
tree: cd7726e6b6a99981e2f6a4d906d7e4bbfd6386b5
  1. fts_lib/
  2. fts.c
  3. fts.h
  4. fts_limits.h
  5. fts_proc.c
  6. Kbuild
  7. Kconfig
  8. Makefile