r3947 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Jan 24 19:31:24 CET 2008


Author: werner
Date: 2008-01-24 19:31:21 +0100 (Thu, 24 Jan 2008)
New Revision: 3947

Modified:
   branches/src/target/kernel/2.6.24.x/patches/gta02-acc.patch
Log:
adjust-our-gpio-spi-speed.patch by Andy Green.

[ Try to bring speed up to 10 MHz. ]




Modified: branches/src/target/kernel/2.6.24.x/patches/gta02-acc.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/gta02-acc.patch	2008-01-24 18:29:08 UTC (rev 3946)
+++ branches/src/target/kernel/2.6.24.x/patches/gta02-acc.patch	2008-01-24 18:31:21 UTC (rev 3947)
@@ -45,18 +45,23 @@
  	},
  };
  
-@@ -524,7 +521,7 @@
+@@ -522,26 +519,74 @@
+ 		.modalias	= "lis302dl",
+ 		.platform_data	= &lis302_pdata[0],
  		.irq		= GTA02_IRQ_GSENSOR_1,
- 		.max_speed_hz	= 400 * 1000,
+-		.max_speed_hz	= 400 * 1000,
++		.max_speed_hz	= 10 * 1000 * 1000,
  		.bus_num	= 1,
 -		.chip_select	= S3C2410_GPD12,
 +		.chip_select	= 0,
  		.mode		= SPI_MODE_3,
  	},
  	{
-@@ -533,15 +530,63 @@
+ 		.modalias	= "lis302dl",
+ 		.platform_data	= &lis302_pdata[1],
  		.irq		= GTA02_IRQ_GSENSOR_2,
- 		.max_speed_hz	= 400 * 1000,
+-		.max_speed_hz	= 400 * 1000,
++		.max_speed_hz	= 10 * 1000 * 1000,
  		.bus_num	= 1,
 -		.chip_select	= S3C2410_GPD13,
 +		.chip_select	= 1,





More information about the commitlog mailing list