marimba-tsadc.h 944 B

123456789101112131415161718192021222324252627282930
  1. /* Copyright (c) 2009, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. */
  13. #ifndef _MARIMBA_TSADC_H_
  14. #define _MARIMBA_TSADC_H_
  15. struct marimba_tsadc_client;
  16. #define TSSC_SUSPEND_LEVEL 1
  17. #define TSADC_SUSPEND_LEVEL 2
  18. int marimba_tsadc_start(struct marimba_tsadc_client *client);
  19. struct marimba_tsadc_client *
  20. marimba_tsadc_register(struct platform_device *pdev, unsigned int is_ts);
  21. void marimba_tsadc_unregister(struct marimba_tsadc_client *client);
  22. #endif /* _MARIMBA_TSADC_H_ */