r4675 - developers/werner/wlan-spi/patches

werner at docs.openmoko.org werner at docs.openmoko.org
Sun Sep 28 02:37:33 CEST 2008


Author: werner
Date: 2008-09-28 02:37:32 +0200 (Sun, 28 Sep 2008)
New Revision: 4675

Modified:
   developers/werner/wlan-spi/patches/gta02-mmc-spi.patch
Log:
Disable pull-downs, just to keep things clean.



Modified: developers/werner/wlan-spi/patches/gta02-mmc-spi.patch
===================================================================
--- developers/werner/wlan-spi/patches/gta02-mmc-spi.patch	2008-09-27 14:37:38 UTC (rev 4674)
+++ developers/werner/wlan-spi/patches/gta02-mmc-spi.patch	2008-09-28 00:37:32 UTC (rev 4675)
@@ -12,8 +12,8 @@
 
 Index: korig/arch/arm/mach-s3c2440/Kconfig
 ===================================================================
---- korig.orig/arch/arm/mach-s3c2440/Kconfig	2008-09-04 11:31:41.000000000 -0300
-+++ korig/arch/arm/mach-s3c2440/Kconfig	2008-09-04 11:31:44.000000000 -0300
+--- korig.orig/arch/arm/mach-s3c2440/Kconfig	2008-09-27 11:04:05.000000000 -0300
++++ korig/arch/arm/mach-s3c2440/Kconfig	2008-09-27 11:04:05.000000000 -0300
 @@ -110,6 +110,15 @@
                  bool "GPIO bit-banging SPI"
                  select MMC_SPI
@@ -32,8 +32,8 @@
  endmenu
 Index: korig/arch/arm/mach-s3c2440/mach-gta02.c
 ===================================================================
---- korig.orig/arch/arm/mach-s3c2440/mach-gta02.c	2008-09-04 11:31:41.000000000 -0300
-+++ korig/arch/arm/mach-s3c2440/mach-gta02.c	2008-09-04 11:58:15.000000000 -0300
+--- korig.orig/arch/arm/mach-s3c2440/mach-gta02.c	2008-09-27 11:04:05.000000000 -0300
++++ korig/arch/arm/mach-s3c2440/mach-gta02.c	2008-09-27 21:31:57.000000000 -0300
 @@ -1234,9 +1234,7 @@
  /* ----- AR6000 WLAN interface --------------------------------------------- */
  
@@ -65,7 +65,7 @@
  
  
  #ifdef CONFIG_AR6K_SPI_S3C24XX_GPIO
-@@ -1689,6 +1698,30 @@
+@@ -1689,6 +1698,45 @@
  	platform_device_register(&gta02_spi_wlan);
  #endif /* CONFIG_AR6K_SPI_S3C24XX_GPIO */
  
@@ -93,6 +93,21 @@
 +
 +#endif /* !CONFIG_AR6K_SPI_S3C24XX */
 +
++	/* disable all pull-downs on SD/MMC and SPI  */
++
++	s3c2410_gpio_pullup(S3C2410_GPE5, 1);	/* SD/MMC block */
++	s3c2410_gpio_pullup(S3C2410_GPE6, 1);
++	s3c2410_gpio_pullup(S3C2410_GPE7, 1);
++	s3c2410_gpio_pullup(S3C2410_GPE8, 1);
++	s3c2410_gpio_pullup(S3C2410_GPE9, 1);
++	s3c2410_gpio_pullup(S3C2410_GPE10, 1);
++
++	s3c2410_gpio_pullup(S3C2410_GPE11, 1);	/* SPI block */
++	s3c2410_gpio_pullup(S3C2410_GPE12, 1);
++	s3c2410_gpio_pullup(S3C2410_GPE13, 1);
++	s3c2410_gpio_pullup(S3C2410_GPF3, 1);
++	s3c2410_gpio_pullup(S3C2410_GPG2, 1);
++
  //	platform_device_register(&s3c_device_spi_acc);
  	platform_device_register(&gta02_button_dev);
  	platform_device_register(&gta02_pm_gsm_dev);




More information about the commitlog mailing list