[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-281-geb8293b
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2013-06-11 19:22:39
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via eb8293bbc332014a7d19bb95112350662b5eb32a (commit)
from 69d9a4e0096a27b85d24321e024348676b0a014f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit eb8293bbc332014a7d19bb95112350662b5eb32a
Author: Julien Boibessot <jul...@ar...>
Date: Tue Jun 11 21:21:39 2013 +0200
[LINUX] 3.4: add spidev on SPI2 of APF28Dev
-----------------------------------------------------------------------
Summary of changes:
...1-armadeus-add_apf28dev_baseboard_support.patch | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/patches/linux/3.4/451-armadeus-add_apf28dev_baseboard_support.patch b/patches/linux/3.4/451-armadeus-add_apf28dev_baseboard_support.patch
index cf141f1..5b88133 100644
--- a/patches/linux/3.4/451-armadeus-add_apf28dev_baseboard_support.patch
+++ b/patches/linux/3.4/451-armadeus-add_apf28dev_baseboard_support.patch
@@ -44,8 +44,8 @@ Index: linux-3.4.48/arch/arm/mach-mxs/Makefile
Index: linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c 2013-06-11 06:54:21.086222359 +0200
-@@ -0,0 +1,209 @@
++++ linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c 2013-06-11 21:18:24.095298046 +0200
+@@ -0,0 +1,222 @@
+/*
+ * Copyright 2011-2013 Armadeus systems.
+ *
@@ -69,6 +69,7 @@ Index: linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c
+#include <linux/leds.h>
+#include <linux/irq.h>
+#include <linux/clk.h>
++#include <linux/spi/spi.h>
+
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
@@ -231,6 +232,15 @@ Index: linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c
+ .flags = SLOTF_4_BIT_CAPABLE,
+};
+
++static struct spi_board_info spi_board_info[] __initdata = {
++ {
++ .modalias = "spidev",
++ .max_speed_hz = 8000000,
++ .bus_num = 2, /* SSPI2 */
++ .chip_select = 0,
++ }
++};
++
+void __init apf28dev_init(void)
+{
+ printk("--- %s\n", __func__);
@@ -253,6 +263,9 @@ Index: linux-3.4.48/arch/arm/mach-mxs/apf28dev-baseboard.c
+ mx28_add_mxs_mmc(0, &apf28dev_mmc0_pdata);
+
+ mx28_add_mxs_i2c(0);
++
++ spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info));
++ mx28_add_mxs_spi(2);
+}
+EXPORT_SYMBOL_GPL(apf28dev_init);
Index: linux-3.4.48/arch/arm/mach-mxs/mach-apf28.c
hooks/post-receive
--
armadeus
|