board a22: add ak8975, remove mmc3280, update defconfig

This commit is contained in:
lyx
2011-05-20 20:08:37 -07:00
parent 7cbdae9c3f
commit 79b3361a41
2 changed files with 4 additions and 3 deletions

5
arch/arm/configs/rk29_a22_defconfig Normal file → Executable file
View File

@@ -884,9 +884,10 @@ CONFIG_INPUT_MISC=y
# CONFIG_INPUT_GPIO is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
CONFIG_INPUT_WM831X_ON=y
# CONFIG_MAG_SENSORS is not set
CONFIG_MAG_SENSORS=y
CONFIG_COMPASS_AK8975=y
# CONFIG_COMPASS_AK8973 is not set
CONFIG_COMPASS_MMC328X=y
# CONFIG_COMPASS_MMC328X is not set
CONFIG_G_SENSOR_DEVICE=y
# CONFIG_GS_MMA7660 is not set
CONFIG_GS_MMA8452=y

View File

@@ -1628,7 +1628,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
.type = "ak8975",
.addr = 0x0d,
.flags = 0,
.irq = RK29_PIN0_PA4,
.irq = RK29_PIN6_PC5,
},
#endif
#if defined (CONFIG_COMPASS_MMC328X)