touch/novatek: support per-model(VID/PID) parameters

The TIC supports upto 5 per-model(VID/PID) tuning parameters but
the TIC loses which set of parameters are being used after power cycle.
This change is to restore the index of the set to TIC during the resume.

Bug: 268144549
Test: via the kernel log, the index of the tuning table changes between
differnt stylus models

Change-Id: I1572659fb04634c0e9b88bcb14c453f0b132c6aa
Signed-off-by: Hyungwoo Yang <hyungwooyang@google.com>
3 files changed
tree: 4cc2eded5a240c43f774d033d27d7b5d4ede0710
  1. nt36xxx/