CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIBCM4325=y
+CONFIG_MAC80211=y
CONFIG_RFKILL=y
CONFIG_RFKILL_RK=y
CONFIG_DEVTMPFS=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_KEYCHORD=y
CONFIG_INPUT_UINPUT=y
-CONFIG_GS_MMA7660=y
+CONFIG_GS_LIS3DH=y
+CONFIG_GYRO_L3G4200D=y
CONFIG_SENSOR_DEVICE=y
CONFIG_GSENSOR_DEVICE=y
+CONFIG_COMPASS_DEVICE=y
+CONFIG_COMPASS_AK8963=y
+CONFIG_GYROSCOPE_DEVICE=y
# CONFIG_SERIO is not set
# CONFIG_CONSOLE_TRANSLATIONS is not set
# CONFIG_LEGACY_PTYS is not set
CONFIG_BATTERY_RK30_ADC_FAC=y
CONFIG_BATTERY_RK30_AC_CHARGE=y
CONFIG_BATTERY_RK30_VOL3V8=y
-CONFIG_POWER_ON_CHARGER_DISPLAY=y
# CONFIG_HWMON is not set
CONFIG_WATCHDOG=y
CONFIG_RK29_WATCHDOG=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_VIDEO_DEV=y
CONFIG_SOC_CAMERA=y
+CONFIG_SOC_CAMERA_OV2659=y
CONFIG_SOC_CAMERA_GC0308=y
CONFIG_VIDEO_RK29=y
CONFIG_VIDEO_RK29_CAMMEM_ION=y
.irq_enable = 1,
.poll_delay_ms = 30,
.init_platform_hw = lis3dh_init_platform_hw,
- .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0},
+ .orientation = {1, 0, 0, 0, 1, 0, 0, 0, 1},
};
#endif
#if defined (CONFIG_COMPASS_AK8975)
#endif
+#if defined (CONFIG_COMPASS_AK8963)
+static struct sensor_platform_data akm8963_info =
+{
+ .type = SENSOR_TYPE_COMPASS,
+ .irq_enable = 1,
+ .poll_delay_ms = 30,
+ .m_layout =
+ {
+ {
+ {0, 1, 0},
+ {1, 0, 0},
+ {0, 0, -1},
+ },
+
+ {
+ {1, 0, 0},
+ {0, 1, 0},
+ {0, 0, 1},
+ },
+
+ {
+ {0, -1, 0},
+ {-1, 0, 0},
+ {0, 0, -1},
+ },
+
+ {
+ {1, 0, 0},
+ {0, 1, 0},
+ {0, 0, 1},
+ },
+ }
+};
+
+#endif
+
+
#if defined(CONFIG_GYRO_L3G4200D)
#include <linux/l3g4200d.h>
.irq_gpio = {
.io = RK30_PIN0_PA5,
- .enable = GPIO_HIGH,
+ .enable = GPIO_LOW,
.iomux = {
.name = NULL,
},
.platform_data = &akm8975_info,
},
#endif
+#if defined (CONFIG_COMPASS_AK8963)
+ {
+ .type = "ak8963",
+ .addr = 0x0d,
+ .flags = 0,
+ .irq = RK30_PIN3_PD7,
+ .platform_data = &akm8963_info,
+ },
+#endif
#if defined (CONFIG_GYRO_L3G4200D)
{
.type = "l3g4200d_gryo",