ps2: Add proper touchscreen command handling
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 9 Apr 2018 22:24:31 +0000 (22:24 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 17 Apr 2018 11:19:44 +0000 (11:19 +0000)
commit68f99c93808ac4d8e12e39c87acec89d422fd8b4
tree9222c9d26c87d1ec419a7398f65250abe56f343f
parent7789e9aa75ba82a0bc52dc8b2b44fa9b16234173
ps2: Add proper touchscreen command handling

The touchscreen model used ad-hoc mechanisms to enable/disable the
device. Use standard PS/2 commands to activate/deactivate the
device. Add proper TouchKit command handling.

Change-Id: I0c5a2e2b47639f36ab3ee07e3e559f11afa54b9d
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9768
Reviewed-by: Gabe Black <gabeblack@google.com>
src/dev/ps2/touchkit.cc
src/dev/ps2/touchkit.hh