/*
 * linux/sound/rt5660.h -- Platform data for RT5660
 *
 * Copyright 2016 Realtek Semiconductor Corp.
 * Author: Oder Chiou <oder_chiou@realtek.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 __LINUX_SND_RT5660_H
#define __LINUX_SND_RT5660_H

enum rt5660_dmic1_data_pin {
	RT5660_DMIC1_NULL,
	RT5660_DMIC1_DATA_GPIO2,
	RT5660_DMIC1_DATA_IN1P,
};

struct rt5660_platform_data {
	/* IN1 & IN3 can optionally be differential */
	bool in1_diff;
	bool in3_diff;
	bool use_ldo2;
	bool poweroff_codec_in_suspend;

	enum rt5660_dmic1_data_pin dmic1_data_pin;
};

#endif
td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wm0010.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/wm0010.c?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/wm0010.c?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/wm0010.c?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wm0010.c'>
<input type='hidden' name='id' value='4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wm0010.c?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>wm0010.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/wm0010.c?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>