Add driver for collie touchscreen, partly based on ucb1x00-ts.c, but
this one actually works.
+config MCP_COLLIE_TS
+ tristate "Touchscreen collie support"
+ depends on MCP_UCB1200 && INPUT && !MCP_UCB1200_TS
+ ---help---
+ Driver for touchscreen on collie - sharp sl-5500.
+
+ input_report_abs(idev, ABS_X, x);
+ input_report_abs(idev, ABS_Y, y);
+ input_report_abs(idev, ABS_PRESSURE, pressure);
+ input_report_key(idev, BTN_TOUCH, 1);
+ input_sync(idev);
+}
+
+static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts)
+{
+ struct input_dev *idev = ts->idev;
+
+ input_report_abs(idev, ABS_PRESSURE, 0);
+ input_report_key(idev, BTN_TOUCH, 0);
+
+static int ucb1x00_ts_open(struct input_dev *idev)
+{
+ struct ucb1x00_ts *ts = idev->private;
+/*
+ * Release touchscreen resources. Disable IRQs.
+ */
+static void ucb1x00_ts_close(struct input_dev *idev)
+{
+ struct ucb1x00_ts *ts = idev->private;
+
+ idev->private = ts;