From 7616950e57809df84d3868c681b26dcb80e77fb1 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Wed, 31 Aug 2011 14:16:08 -0500 Subject: linux-2.6.35.14-mach-at91-mt100ecdp.patch: updated SPI CS comments --- .../mt100ecdp/linux-2.6.35.14-mach-at91-mt100ecdp.patch | 14 +++++++------- 1 file 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) -- cgit v1.2.3