tegra2: make mxt_touch an InputClass in its own .conf snippet

Move mxt_touch touchscreen X input configuration to its own touchscreen.conf snippet.
This file is installed when the touchui USE flag is in use.

The touchscreen has an evdev-compatible kernel driver, and has a /dev/input/event* node.
Thus, an InputClass can be used, to find the correct device, and load the evdev X input driver.

A side affect of this, and the use of AutoAddDevices is the special xorg.conf.touchui becomes redundant and is therefore removed.

BUG=chromium-os:11929
TEST=Atmel maXTouch touchscreen still works for touchui builds.

Reviewed-on: http://gerrit.chromium.org/gerrit/1110
Reviewed-by: Jon Kliegman <kliegs@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
(cherry picked from commit 0f1a863590e4006adabbb13cbb541c1ed59ecdcc)

Change-Id: I3f677cf232d76c0a7b6a54332c87a73e3571731a
Reviewed-on: http://gerrit.chromium.org/gerrit/2084
Tested-by: Micah Catlin <micahc@chromium.org>
Reviewed-by: Micah Catlin <micahc@chromium.org>
5 files changed