Permalink
Browse files

Bug Labs base Slot SPI-UART Chip select fixes...

Signed-off-by: Matt Isaacs <izzy@buglabs.net>
  • Loading branch information...
Matt Isaacs
Matt Isaacs committed Feb 8, 2011
1 parent 6fbb904 commit 830910a73739b572735960eefe14a716432be5a5
Showing with 20 additions and 0 deletions.
  1. +20 −0 arch/arm/mach-omap2/board-omap3bug.c
@@ -960,6 +960,26 @@ void gen_gpio_settings(void)
}
gpio_direction_output(42, 1);
+ r = gpio_request(41, "spi_cs_1");
+ if (r) {
+ printk(KERN_ERR "gen_gpio: failed to get spi_cs_1...\n");
+ return;
+ }
+ gpio_direction_output(41, 1);
+
+ r = gpio_request(40, "spi_cs_3");
+ if (r) {
+ printk(KERN_ERR "gen_gpio: failed to get spi_cs_3...\n");
+ return;
+ }
+ gpio_direction_output(40, 1);
+
+ r = gpio_request(39, "spi_cs_4");
+ if (r) {
+ printk(KERN_ERR "gen_gpio: failed to get spi_cs_4...\n");
+ return;
+ }
+ gpio_direction_output(39, 1);
r = gpio_request(109, "twl_msecure");
if (r) {

0 comments on commit 830910a

Please sign in to comment.