blob: 247fedd150d7cd4a3014305e24ec3d202259b80d [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2009, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
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
14#ifndef _MARIMBA_TSADC_H_
15#define _MARIMBA_TSADC_H_
16
17struct marimba_tsadc_client;
18
19#define TSSC_SUSPEND_LEVEL 1
20#define TSADC_SUSPEND_LEVEL 2
21
22int marimba_tsadc_start(struct marimba_tsadc_client *client);
23
24struct marimba_tsadc_client *
25marimba_tsadc_register(struct platform_device *pdev, unsigned int is_ts);
26
27void marimba_tsadc_unregister(struct marimba_tsadc_client *client);
28
29#endif /* _MARIMBA_TSADC_H_ */