st_sensors_pdata.h 588 B

123456789101112131415161718192021222324
  1. /*
  2. * STMicroelectronics sensors platform-data driver
  3. *
  4. * Copyright 2013 STMicroelectronics Inc.
  5. *
  6. * Denis Ciocca <denis.ciocca@st.com>
  7. *
  8. * Licensed under the GPL-2.
  9. */
  10. #ifndef ST_SENSORS_PDATA_H
  11. #define ST_SENSORS_PDATA_H
  12. /**
  13. * struct st_sensors_platform_data - Platform data for the ST sensors
  14. * @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2).
  15. * Available only for accelerometer and pressure sensors.
  16. * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet).
  17. */
  18. struct st_sensors_platform_data {
  19. u8 drdy_int_pin;
  20. };
  21. #endif /* ST_SENSORS_PDATA_H */