mfd: Correct WM835x ISINK ramp time defines
[safe/jmp/linux-2.6] / include / linux / lis3lv02d.h
index 113778b..f1ca0dc 100644 (file)
@@ -34,6 +34,30 @@ struct lis3lv02d_platform_data {
 #define LIS3_IRQ_OPEN_DRAIN    (1 << 6)
 #define LIS3_IRQ_ACTIVE_LOW    (1 << 7)
        unsigned char irq_cfg;
+
+#define LIS3_WAKEUP_X_LO       (1 << 0)
+#define LIS3_WAKEUP_X_HI       (1 << 1)
+#define LIS3_WAKEUP_Y_LO       (1 << 2)
+#define LIS3_WAKEUP_Y_HI       (1 << 3)
+#define LIS3_WAKEUP_Z_LO       (1 << 4)
+#define LIS3_WAKEUP_Z_HI       (1 << 5)
+       unsigned char wakeup_flags;
+       unsigned char wakeup_thresh;
+#define LIS3_NO_MAP            0
+#define LIS3_DEV_X             1
+#define LIS3_DEV_Y             2
+#define LIS3_DEV_Z             3
+#define LIS3_INV_DEV_X        -1
+#define LIS3_INV_DEV_Y        -2
+#define LIS3_INV_DEV_Z        -3
+       s8 axis_x;
+       s8 axis_y;
+       s8 axis_z;
+       int (*setup_resources)(void);
+       int (*release_resources)(void);
+       /* Limits for selftest are specified in chip data sheet */
+       s16 st_min_limits[3]; /* min pass limit x, y, z */
+       s16 st_max_limits[3]; /* max pass limit x, y, z */
 };
 
 #endif /* __LIS3LV02D_H_ */