Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928

This commit is contained in:
kfx
2012-07-10 14:57:28 +08:00
3 changed files with 13 additions and 12 deletions

View File

@@ -12,18 +12,6 @@
#include <mach/sram.h>
#include <linux/i2c-gpio.h>
struct rk30_i2c_platform_data {
char *name;
int bus_num;
#define I2C_RK29_ADAP 0
#define I2C_RK30_ADAP 1
int adap_type;
int is_div_from_arm;
u32 flags;
int (*io_init)(void);
int (*io_deinit)(void);
};
/* adc battery */
struct rk30_adc_battery_platform_data {
int (*io_init)(void);

View File

@@ -6,6 +6,18 @@
#include <linux/device.h>
#include <linux/rk_screen.h>
struct rk30_i2c_platform_data {
char *name;
int bus_num;
#define I2C_RK29_ADAP 0
#define I2C_RK30_ADAP 1
int adap_type;
int is_div_from_arm;
u32 flags;
int (*io_init)(void);
int (*io_deinit)(void);
};
struct spi_cs_gpio {
const char *name;
unsigned int cs_gpio;

View File

@@ -907,6 +907,7 @@ if I2C_RK30
endif
config I2C4_RK30
bool "I2C4 Channel Support"
depends on !ARCH_RK2928
default y
help
This supports the use of the I2C4 channel on RK Soc.