Skip to contentSkip to conversation

Arctic-2 touchscreen driver

PATCH David Gibson 1 participant 1 message Dec 18, 2002 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

Below is a patch against linuxppc_2_4_devel which adds support for the touchscreen controller on the Arctic-2: this is a Semtech device attached to the 405LP's second serial port.

This driver is *not* ready to be committed to the tree - if nothing else, it arbitrarily allocates a new constant in include/linux/serio.h. Still, I'm sending this patch out so people can look at it, and so the (very few, so far) people outside IBM with Arctic-2s can start to play with it.

drivers/char/Config.in renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/char/Config.in +5 -0
diff -urN /home/dgibson/kernel/linuxppc_2_4_devel/drivers/char/Config.in linux-bartholomew/drivers/char/Config.in
@@ -361,4 +361,9 @@
    tristate 'Xilinx on-chip GPIO' CONFIG_XILINX_GPIO
 fi
 
+# FIXME: depend on SERIO/SERPORT too?
+if [ "$CONFIG_ARCTIC2" = "y" ]; then
+   tristate 'Arctic II Semtech Touchscreen controller' CONFIG_IBMTS_SEMTECH
+fi
+
 endmenu
drivers/char/Makefile renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/char/Makefile +1 -0
diff -urN /home/dgibson/kernel/linuxppc_2_4_devel/drivers/char/Makefile linux-bartholomew/drivers/char/Makefile
@@ -290,6 +290,7 @@
 obj-$(CONFIG_AMD7XX_TCO) += amd7xx_tco.o
 obj-$(CONFIG_PPC405_WDT)  += ppc405_wdt.o
 obj-$(CONFIG_IBM_OCP_GPIO) += ibm_ocp_gpio.o
+obj-$(CONFIG_IBMTS_SEMTECH) += ibmts_semtech.o
 
 mod-subdirs     +=	xilinx_gpio
 subdir-$(CONFIG_XILINX_GPIO) += xilinx_gpio
drivers/char/ibmts_semtech.c renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/char/ibmts_semtech.c +380 -0

380 lines not on this page · raw message

--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/