projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6d261
)
add cmmb spi structure ,modify the speed of fpga spi as 12MHZ
author
zyc
<zyc@rock-chips.com>
Sat, 21 Aug 2010 06:50:56 +0000
(14:50 +0800)
committer
zyc
<zyc@rock-chips.com>
Sat, 21 Aug 2010 06:50:56 +0000
(14:50 +0800)
arch/arm/mach-rk2818/board-raho.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/board-raho.c
b/arch/arm/mach-rk2818/board-raho.c
index 2a2cfa52b851d8b681949525198393214c931f1e..bfda466f196b51ac52afd7a75cc099afc300dace 100755
(executable)
--- a/
arch/arm/mach-rk2818/board-raho.c
+++ b/
arch/arm/mach-rk2818/board-raho.c
@@
-1103,7
+1103,7
@@
static struct spi_board_info board_spi_devices[] = {
{ /* fpga ice65l08xx */
.modalias = "spi_fpga",
.chip_select = 1,
- .max_speed_hz = 1
8
* 1000 * 1000,
+ .max_speed_hz = 1
2
* 1000 * 1000,
.bus_num = 0,
.mode = SPI_MODE_0,
//.platform_data = &rk2818_spi_platdata,
@@
-1129,6
+1129,15
@@
static struct spi_board_info board_spi_devices[] = {
.platform_data = &xpt2046_info,
},
#endif
+#if defined(CONFIG_SMS_SPI_ROCKCHIP)
+ {
+ .modalias = "siano1186",
+ .chip_select = 0,
+ .max_speed_hz = 12*1000*1000,
+ .bus_num = 0,
+ .irq = RK2818_PIN_PA6,
+ },
+#endif
};
/*rk2818_fb gpio information*/