update phonesdk defconfig
authorlyx <lyx@rock-chips.com>
Sat, 26 Mar 2011 02:59:27 +0000 (19:59 -0700)
committerlyx <lyx@rock-chips.com>
Sat, 26 Mar 2011 03:00:47 +0000 (20:00 -0700)
arch/arm/configs/rk29_phonesdk_defconfig
arch/arm/mach-rk29/board-malata.c
arch/arm/mach-rk29/board-rk29-aigo.c
arch/arm/mach-rk29/board-rk29-phonesdk.c
arch/arm/mach-rk29/board-rk29-winaccord.c
arch/arm/mach-rk29/board-rk29sdk.c

index 309a1c84544f103bc988ebca140d2d849e8131bf..a0aac47bc2749e170c9b36615dd201f30048de08 100644 (file)
@@ -836,10 +836,15 @@ CONFIG_INPUT_LPSENSOR_ISL29028=y
 # CONFIG_INPUT_GPIO is not set
 # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
 CONFIG_INPUT_WM831X_ON=y
+
+#
+# Magnetometer sensors
+#
+CONFIG_COMPASS_AK8975=y
+# CONFIG_COMPASS_AK8973 is not set
 CONFIG_G_SENSOR_DEVICE=y
 # CONFIG_GS_MMA7660 is not set
 CONFIG_GS_MMA8452=y
-CONFIG_GS_FIH=y
 # CONFIG_INPUT_JOGBALL is not set
 
 #
index 305db83e83fee3b48530c94a893505f77a1137e6..2328aa3c1cc24acf2d1445444227a1453dc0dd75 100755 (executable)
@@ -557,7 +557,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
       .platform_data  = &mma8452_info,
     },
 #endif
-#if defined (CONFIG_SENSORS_AK8973)
+#if defined (CONFIG_COMPASS_AK8973)
        {
                .type                   = "ak8973",
                .addr           = 0x1d,
@@ -565,7 +565,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
                .irq                    = RK29_PIN0_PA4,
        },
 #endif
-#if defined (CONFIG_SENSORS_AK8975)
+#if defined (CONFIG_COMPASS_AK8975)
        {
                .type                   = "ak8975",
                .addr           = 0x1d,
index 774bb154e805cb88b18b0241e15793452d39aae7..049c6c60f4834d4166d3974fcd399dab50cadb2d 100755 (executable)
@@ -514,7 +514,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
       .platform_data  = &mma8452_info,\r
     },\r
 #endif\r
-#if defined (CONFIG_SENSORS_AK8973)\r
+#if defined (CONFIG_COMPASS_AK8973)\r
        {\r
                .type                   = "ak8973",\r
                .addr           = 0x1d,\r
@@ -522,7 +522,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
                .irq                    = RK29_PIN0_PA4,\r
        },\r
 #endif\r
-#if defined (CONFIG_SENSORS_AK8975)\r
+#if defined (CONFIG_COMPASS_AK8975)\r
        {\r
                .type                   = "ak8975",\r
                .addr           = 0x1d,\r
index c2c3206e31804854848872242fee4538a501157e..f107a0c388dcb11eeb4d15dab9c54ffdd592c2ea 100755 (executable)
@@ -1514,7 +1514,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
       .platform_data  = &mma8452_info,
     },
 #endif
-#if defined (CONFIG_SENSORS_AK8973)
+#if defined (CONFIG_COMPASS_AK8973)
        {
                .type                   = "ak8973",
                .addr           = 0x1d,
@@ -1522,7 +1522,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
                .irq                    = RK29_PIN0_PA4,
        },
 #endif
-#if defined (CONFIG_SENSORS_AK8975)
+#if defined (CONFIG_COMPASS_AK8975)
        {
                .type                   = "ak8975",
                .addr           = 0x0d,
index 3eb952058f53a057f12ee3a17721ae9d66e2eef1..558077e93110deb9de57e93a11192f74a447771f 100755 (executable)
@@ -464,7 +464,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
       .platform_data  = &mma8452_info,
     },
 #endif
-#if defined (CONFIG_SENSORS_AK8973)
+#if defined (CONFIG_COMPASS_AK8973)
        {
                .type                   = "ak8973",
                .addr           = 0x1d,
@@ -472,7 +472,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
                .irq                    = RK29_PIN4_PA1,
        },
 #endif
-#if defined (CONFIG_SENSORS_AK8975)
+#if defined (CONFIG_COMPASS_AK8975)
        {
                .type                   = "ak8975",
                .addr           = 0x1d,
index 3ed2784a978e5d860e6fc45f247e594355e9f2ce..4efcf21cae73b3b3a724dd2b9d3091e69636790b 100755 (executable)
@@ -545,7 +545,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
       .platform_data  = &mma8452_info,
     },
 #endif
-#if defined (CONFIG_SENSORS_AK8973)
+#if defined (CONFIG_COMPASS_AK8973)
        {
                .type                   = "ak8973",
                .addr           = 0x1d,
@@ -553,7 +553,7 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
                .irq                    = RK29_PIN0_PA4,
        },
 #endif
-#if defined (CONFIG_SENSORS_AK8975)
+#if defined (CONFIG_COMPASS_AK8975)
        {
                .type                   = "ak8975",
                .addr           = 0x0d,