summaryrefstree
path: root/kernel/sound/soc/codecs/audience/es705-uart.h
blob: 5b16599047630ca6e0b6c5c15d36a679cbb8802c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * es705-uart.h  --  Audience eS705 UART interface
 *
 * Copyright 2013 Audience, Inc.
 *
 * Author: Matt Lupfer <mlupfer@cardinalpeak.com>
 *
 * Code Updates:
 *       Genisim Tsilker <gtsilker@audience.com>
 *            - Add optional UART VS FW download
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef _ES705_UART_H
#define _ES705_UART_H

struct es705_priv;

struct es705_uart_device {
	struct tty_struct *tty;
	struct file *file;
};

int es705_uart_bus_init(struct es705_priv *es705);
int es705_uart_fw_download(struct es705_priv *es705, int fw_type);
int es705_uart_es705_wakeup(struct es705_priv *es705);

#endif