on 977 add mpu config and update mpu code
[firefly-linux-kernel-4.4.55.git] / include / linux / mpu.h
index 00d9e6c624054302f44f0fb3d37499a87a056a57..1e4ecd56b66ac69fa60df71a9b2cba5551700d4e 100755 (executable)
@@ -153,6 +153,7 @@ enum ext_slave_id {
 
        COMPASS_ID_AK8975,
        COMPASS_ID_AK8972,
+       COMPASS_ID_AK8963,
        COMPASS_ID_AMI30X,
        COMPASS_ID_AMI306,
        COMPASS_ID_YAS529,
@@ -161,6 +162,7 @@ enum ext_slave_id {
        COMPASS_ID_LSM303DLH,
        COMPASS_ID_LSM303DLM,
        COMPASS_ID_MMC314X,
+       COMPASS_ID_MMC328X,
        COMPASS_ID_HSCDTD002B,
        COMPASS_ID_HSCDTD004A,
 
@@ -300,8 +302,8 @@ struct ext_slave_descr {
  * column should have exactly 1 non-zero value.
  */
 struct mpu_platform_data {
-       __u8 int_config;
-       __u8 level_shifter;
+       __u32 int_config;
+       __u32 level_shifter;
        __s8 orientation[GYRO_NUM_AXES * GYRO_NUM_AXES];
 };