Add Goodix touchscreen FW updater script

This CL adds touchscreen firmware updater script for Goodix touch
controller. This script read active firmware information form
/dev/hidrawX and compares it will the firmware on disk, if the product
id is equal and firmware version not equal than it will do firmware
update or roll back otherwise print the firmware info and exit.

CQ-DEPEND=CL:948582
BUG=chromium:815399
TEST=Tested on retrofitted device including a Goodix touchscreen with
i2c-hid driver.

Change-Id: I02af2208df36e51b93e207111e23814a1656f8f9
Reviewed-on: https://chromium-review.googlesource.com/948663
Commit-Ready: Charles Wang <charles.goodix@gmail.com>
Tested-by: Charles Wang <charles.goodix@gmail.com>
Reviewed-by: Jingkui Wang <jkwang@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
4 files changed
tree: 81e75bcb1edd4de748ad9132a2b3b9faf269ce1a
  1. host_scripts/
  2. policies/
  3. scripts/
  4. LICENSE
  5. OWNERS
  6. README