summaryrefstree
path: root/kernel/sound/soc/codecs/audience/es705-platform.h
blob: b0090188985779e58a0f4552f3bfe648148f3990 (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
32
33
34
35
/*
 * es705-i2s.h  --  Audience eS705 platform dependent functions
 *
 * Copyright 2011 Audience, Inc.
 *
 * Author: Genisim Tsilker <gtsilker@audience.com>
 *
 *
 * 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_PLATFORM_H
#define _ES705_PLATFORM_H

int es705_stimulate_start(struct device *dev);
int es705_get_stimulate_status(void);
void es705_gpio_reset(struct es705_priv *es705);
int es705_gpio_init(struct es705_priv *es705);
void es705_gpio_free(struct esxxx_platform_data *pdata);
void es705_clk_init(struct es705_priv *es705);
void es705_vs_event(struct es705_priv *es705);
#if !defined(CONFIG_SND_SOC_ESXXX_UART_WAKEUP)
void es705_gpio_wakeup(struct es705_priv *es705);
void es705_gpio_wakeup_deassert(struct es705_priv *es705);
#endif
#if defined(SAMSUNG_ES705_FEATURE)
int es705_init_input_device(struct es705_priv *es705);
void es705_unregister_input_device(struct es705_priv *es705);
void es705_uart_pin_preset(struct es705_priv *es705);
void es705_uart_pin_postset(struct es705_priv *es705);
#endif
struct esxxx_platform_data *es705_populate_dt_pdata(struct device *dev);
#endif