aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lis3lv02d.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lis3lv02d.h')
-rw-r--r--drivers/hwmon/lis3lv02d.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/lis3lv02d.h b/drivers/hwmon/lis3lv02d.h
index e6a01f44709b..692e2442ce08 100644
--- a/drivers/hwmon/lis3lv02d.h
+++ b/drivers/hwmon/lis3lv02d.h
@@ -196,6 +196,16 @@ enum lis3lv02d_dd_src {
196 DD_SRC_IA = 0x40, 196 DD_SRC_IA = 0x40,
197}; 197};
198 198
199enum lis3lv02d_click_src_8b {
200 CLICK_SINGLE_X = 0x01,
201 CLICK_DOUBLE_X = 0x02,
202 CLICK_SINGLE_Y = 0x04,
203 CLICK_DOUBLE_Y = 0x08,
204 CLICK_SINGLE_Z = 0x10,
205 CLICK_DOUBLE_Z = 0x20,
206 CLICK_IA = 0x40,
207};
208
199struct axis_conversion { 209struct axis_conversion {
200 s8 x; 210 s8 x;
201 s8 y; 211 s8 y;