Changeset 3696
- Timestamp:
- 12/19/07 19:21:26 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/src/target/kernel/2.6.24.x/patches/lis302dl.patch
r3649 r3696 723 723 --- linux-2.6.orig/drivers/spi/Kconfig 724 724 +++ linux-2.6/drivers/spi/Kconfig 725 @@ -24 3,5 +243,9@@726 help727 Driver for the tpo JP6K74-AS LCM SPI control interface.725 @@ -242,6 +242,15 @@ 726 The control interface is required for display operation, as it 727 controls power management, display timing and gamma calibration. 728 728 729 +config SPI_ SLAVE_LIS302DL729 +config SPI_LIS302DL 730 730 + tristate "STmicro LIS302DL 3-axis accelerometer" 731 731 + depends on SPI_MASTER && MACH_NEO1973_GTA02 732 + 733 endmenu # "SPI support" 734 732 + help 733 + SPI driver for the STmicro LIS302DL 3-axis accelerometer. 734 + 735 + The userspece interface is a 3-axis (X/Y/Z) relative movement 736 + Linux input device, reporting REL_[XYZ] events. 737 + 738 # 739 # Add new SPI protocol masters in alphabetical order above this line 740 # 735 741 Index: linux-2.6/drivers/spi/Makefile 736 742 =================================================================== 737 743 --- linux-2.6.orig/drivers/spi/Makefile 738 744 +++ linux-2.6/drivers/spi/Makefile 739 @@ -40,4 +40,5 @@ 745 @@ -34,6 +34,7 @@ 746 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 747 obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o 748 obj-$(CONFIG_SPI_JBT6K74) += jbt6k74.o 749 +obj-$(CONFIG_SPI_LIS302DL) += lis302dl.o 750 # ... add above this line ... 740 751 741 # SPI slave drivers (protocol for that link) 742 obj-$(CONFIG_SPI_SLAVE_JBT6K74) += jbt6k74.o 743 +obj-$(CONFIG_SPI_SLAVE_LIS302DL) += lis302dl.o 744 # ... add above this line ... 752 # SPI slave controller drivers (upstream link) 745 753 Index: linux-2.6/include/linux/lis302dl.h 746 754 ===================================================================
Note: See TracChangeset
for help on using the changeset viewer.
