Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368098
b: refs/heads/master
c: cbaf7f8
h: refs/heads/master
v: v3
  • Loading branch information
Bastian Hecht authored and Dmitry Torokhov committed Apr 15, 2013
1 parent b252a78 commit c4cf5be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6a90810559cc3755a5b1629d1fd0b914462f98c
refs/heads/master: cbaf7f808081e10bd2a1d57cc9ef0c5138ca23ce
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-shmobile/board-armadillo800eva.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/platform_data/st1232_pdata.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
Expand Down Expand Up @@ -878,10 +879,15 @@ static struct platform_device i2c_gpio_device = {
};

/* I2C */
static struct st1232_pdata st1232_i2c0_pdata = {
.reset_gpio = 166,
};

static struct i2c_board_info i2c0_devices[] = {
{
I2C_BOARD_INFO("st1232-ts", 0x55),
.irq = evt2irq(0x0340),
.platform_data = &st1232_i2c0_pdata,
},
{
I2C_BOARD_INFO("wm8978", 0x1a),
Expand Down Expand Up @@ -1005,7 +1011,6 @@ static void __init eva_init(void)

/* Touchscreen */
gpio_request(GPIO_FN_IRQ10, NULL); /* TP_INT */
gpio_request_one(GPIO_PORT166, GPIOF_OUT_INIT_HIGH, NULL); /* TP_RST_B */

/* GETHER */
gpio_request(GPIO_FN_ET_CRS, NULL);
Expand Down

0 comments on commit c4cf5be

Please sign in to comment.