GPIO HD44780 patch against 0.5.5

Spenser Gilliland <[email protected]> Sun, 4 Nov 2012 22:28:05 -0600
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <CAEBucnBUKP=aKa6Lx4GoCFyg0HraTHrCqXRFb5SdKM2UOMNb2w@mail.gmail.com>
Hi,

I created a patch for LCDProc to work on the Xilinx ML507 board with a
gpio attached HD44780 compatible LCD.

The patch is generic in that a user must specify which GPIO is
attached to which pin of the HD44780.  It may be useful on other gpio
attached versions of the HD44780.

The patch is against the released version of lcdproc version 0.5.5.
Is there anyway I can add this to mainline?  I'd be happy to put in
the work required.

Thanks,
Spenser
-- 
Spenser Gilliland
Computer Engineer
Doctoral Candidate

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc
lcdproc-0.5.5-add4bitgpio.patch (application/octet-stream, 1.9 KB)
diff -u lcdproc-0.5.5-orig/acinclude.m4 lcdproc-0.5.5/acinclude.m4
--- lcdproc-0.5.5-orig/acinclude.m4	2011-08-14 07:29:14.000000000 -0500
+++ lcdproc-0.5.5/acinclude.m4	2012-11-04 16:14:11.674956051 -0600
@@ -196,7 +196,7 @@
 			actdrivers=["$actdrivers glk"]
 			;;
 		hd44780)
-			HD44780_DRIVERS="hd44780-hd44780-serial.o hd44780-hd44780-lis2.o hd44780-hd44780-usblcd.o"
+			HD44780_DRIVERS="hd44780-hd44780-4bitgpio.o hd44780-hd44780-serial.o hd44780-hd44780-lis2.o hd44780-hd44780-usblcd.o"
 			if test "$ac_cv_port_have_lpt" = yes ; then
 				HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-4bit.o hd44780-hd44780-ext8bit.o hd44780-lcd_sem.o hd44780-hd44780-winamp.o hd44780-hd44780-serialLpt.o"
 			fi
Common subdirectories: lcdproc-0.5.5-orig/autom4te.cache and lcdproc-0.5.5/autom4te.cache
Common subdirectories: lcdproc-0.5.5-orig/clients and lcdproc-0.5.5/clients
Common subdirectories: lcdproc-0.5.5-orig/contrib and lcdproc-0.5.5/contrib
Common subdirectories: lcdproc-0.5.5-orig/docs and lcdproc-0.5.5/docs
diff -u lcdproc-0.5.5-orig/LCDd.conf lcdproc-0.5.5/LCDd.conf
--- lcdproc-0.5.5-orig/LCDd.conf	2011-11-09 13:50:01.000000000 -0600
+++ lcdproc-0.5.5/LCDd.conf	2012-11-04 16:07:08.226948322 -0600
@@ -455,6 +455,27 @@
 # Bitrate of the serial port (0 for interface default)
 Speed=0
 
+# Use the 4bitgpio connection
+#ConnectionType=4bitgpio
+
+#D4 = 241
+#D5 = 242
+#D6 = 243
+#D7 = 244
+#RW = 245
+#RS = 246
+# More bits can be added for multiple screen in (1 to x) fashion. (upto 7 screens)
+#EN = 247
+
+#backlight = 237
+
+#X1 = 227
+#X2 = 228
+#X3 = 229
+#X4 = 230
+#X5 = 231
+#Size=16x2
+
 # If you have a keypad connected.
 # You may also need to configure the keypad layout further on in this file.
 Keypad=no
Common subdirectories: lcdproc-0.5.5-orig/scripts and lcdproc-0.5.5/scripts
Common subdirectories: lcdproc-0.5.5-orig/server and lcdproc-0.5.5/server
Common subdirectories: lcdproc-0.5.5-orig/shared and lcdproc-0.5.5/shared