summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-08-31 14:16:08 -0500
committerJesse Gilles <jgilles@multitech.com>2011-08-31 14:16:08 -0500
commit7616950e57809df84d3868c681b26dcb80e77fb1 (patch)
tree3d6e5dcf32472b66cd14e118d828207f6d378d7a
parent3f9ddcc8acaab2cb01b8600c92aa6b6a3ee598c6 (diff)
linux-2.6.35.14-mach-at91-mt100ecdp.patch: updated SPI CS comments
-rw-r--r--multitech/recipes/linux/linux-2.6.35/mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/multitech/recipes/linux/linux-2.6.35/mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch b/multitech/recipes/linux/linux-2.6.35/mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch
index 1a9030c..f46c6f7 100644
--- a/multitech/recipes/linux/linux-2.6.35/mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch
+++ b/multitech/recipes/linux/linux-2.6.35/mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch
@@ -21,13 +21,13 @@ Index: linux-2.6.35/arch/arm/mach-at91/at91sam9260_devices.c
-static const unsigned spi1_standard_cs[4] = { AT91_PIN_PB3, AT91_PIN_PC5, AT91_PIN_PC4, AT91_PIN_PC3 };
+static const unsigned spi1_standard_cs[7] = {
-+ AT91_PIN_PB21, // MT100ECDP mapped to this one instead of AT91_PIN_PB3,
-+ AT91_PIN_PC5,
-+ AT91_PIN_PC4,
-+ AT91_PIN_PC6, // unused/floating for MT100ECDP
-+ AT91_PIN_PB12,
-+ AT91_PIN_PB13,
-+ AT91_PIN_PB16
++ AT91_PIN_PB21, // CS0 - external pin SPI_CS7
++ AT91_PIN_PC5, // CS1 - GP output
++ AT91_PIN_PC4, // CS2 - temp sensor
++ AT91_PIN_PC6, // CS3 - unused/floating
++ AT91_PIN_PB12, // CS4 - GP input
++ AT91_PIN_PB13, // CS5 - external pin SPI_CS5
++ AT91_PIN_PB16 // CS6 - external pin SPI_CS6
+};
void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)