stk3x1x.h 617 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. *
  3. * Id: stk3x1x.h
  4. *
  5. * Copyright (C) 2012 Lex Hsieh <lex_hsieh@sitronix.com.tw>
  6. *
  7. * This file is subject to the terms and conditions of the GNU General Public
  8. * License. See the file COPYING in the main directory of this archive for
  9. * more details.
  10. *
  11. */
  12. #ifndef __STK3X1X_H__
  13. #define __STK3X1X_H__
  14. /* platform data */
  15. struct stk3x1x_platform_data {
  16. uint8_t state_reg;
  17. uint8_t psctrl_reg;
  18. uint8_t alsctrl_reg;
  19. uint8_t ledctrl_reg;
  20. uint8_t wait_reg;
  21. uint16_t ps_thd_h;
  22. uint16_t ps_thd_l;
  23. int int_pin;
  24. uint32_t transmittance;
  25. uint32_t int_flags;
  26. bool use_fir;
  27. };
  28. #endif /* __STK3X1X_H__ */