pub/spi-gpio-pp.git
16 years agospi_parport with proper irq support master
Peter Henn [Mon, 5 Jan 2009 03:13:24 +0000 (04:13 +0100)]
spi_parport with proper irq support

- use irq array parameter to set irq line for each SPI device
  separate either by using an explicit irq number
  or by using 'auto' to reuse the irq or parport pin 10
  or by using 'none' or '-1' or just nothing, if no irq is
  required.
- remove check for open bits parameters, because we can not
  distinguish if all or no parameters are set in the array.
- start changing description format to be more kernel compliant.

16 years agospi-parport bugfixes for multiple device support
Peter Henn [Sun, 4 Jan 2009 20:42:24 +0000 (21:42 +0100)]
spi-parport bugfixes for multiple device support

- Initialize first all chip selects before SPI device probing
  may use a SPI device on the bus.
- Proper support of bit_per_word setting for SPI protocol drivers,
  which do not setup this value, but may use it during the SPI
  device probing.
- Add more warings for unused module parameters.
- correct some typos

16 years agogpio-test updated for interrupt tests v0.2
Peter Henn [Fri, 2 Jan 2009 13:05:17 +0000 (14:05 +0100)]
gpio-test updated for interrupt tests

- Reorganize gpio initialisation
- no longer need to use gpio output
- push global structure onto the heap memory
- use tasklet and trigger it from interrupt service routine
- add test-gpio target to Makefile

16 years agospi_parport and gpio_parport first release
Peter Henn [Thu, 1 Jan 2009 11:02:53 +0000 (12:02 +0100)]
spi_parport and gpio_parport first release

spi_parport:
- fully rework of the spi_parport
- first real test done

gpio_parport:
- add compile feature 'use parport exclusive'
- add compile feature 'claim parport' as a hack to share one parport
  by both drivers gpio_parport and spi_parport.
- correct GPIO signals, which are inverted used
- add module parameter for force setting interrupt line
- add module parameter for force setting GPIO base address

16 years agoAdd gpio_parport and gpio_test
Peter Henn [Thu, 1 Jan 2009 10:59:10 +0000 (11:59 +0100)]
Add gpio_parport and gpio_test

Correct some compile errors in spi_parport.
Note: spi_parport just compiles and is not yet tested functional.

Getting more familiar with GPIO handling using the GPIO lib
of kernel with the GPIO controller driver and gpio_test driver.
Both drivers gpio_parport and spi_parport should work later
close together or should share the same parport device.

16 years agospi_parport
Peter Henn [Thu, 1 Jan 2009 10:49:37 +0000 (11:49 +0100)]
spi_parport

Start using list struct instead of ugly global struct.
Add missing SPI mode functions.
Note: The driver is just compiled and not tested!

16 years agoRename spi_tty into spi_parport
Peter Henn [Thu, 1 Jan 2009 10:46:58 +0000 (11:46 +0100)]
Rename spi_tty into spi_parport

Just rename spi_tty.c into spi_parport.c need for
git to keep track version history.
Update the Makefile accordingly.

16 years agoTest modalias with spi_tty
Peter Henn [Wed, 31 Dec 2008 16:06:21 +0000 (17:06 +0100)]
Test modalias with spi_tty

Also add some comments and marks things, which currently unclear.
Spi_tty is just a test driver to become more comfortable with the
SPI master controller and the parport.

16 years agoSPI Parport controller forked from spi_butterfly
Peter Henn [Wed, 31 Dec 2008 15:55:17 +0000 (16:55 +0100)]
SPI Parport controller forked from spi_butterfly

It is just the first try to get a feeling, how the SPI
Parport controller can work on the parport.