From: Martin H. <ma...@he...> - 2006-07-25 18:15:11
|
ant...@ti... wrote: > Hi all, > I have developed board based on XScale IXP425 processor running > Linux kernel 2.4.20 (from Montavista). > My board have a HD44780 > compatible 2x16 backlight display, that is connected to the board on > peripheral bus (chip select 3). This provides interface to a HD44780 > compatible device by means of single 10-bit register, and I write a > simple driver for a memory-mapped display. > All work fine. > > Now I want > to use lcd4linux in my system. > I see that HD44780 is supported by > lcd4linux, but the device must be connected to parport > or i2c bus. > > Any > suggestion about how can I port lcd4linux on my system ? Just as a followup on Luis' email (he provided all the right pointers) - have a look at common.c in the driver he mentioned, especially the net4xxx_gpio_ioctl function, and there the stuff that follows the comment "This is _not_ "generic" at all, but very much hard-wired towards being able to use an HD44780 LCD on the GPIO pins (in 4-bit mode) and being able to do so using generic ppdev instructions" and adjust accordingly. I hope that helps. Martin -- You think that's tough? Try herding cats! |