/*
 * ADAU1977/ADAU1978/ADAU1979 driver
 *
 * Copyright 2014 Analog Devices Inc.
 *  Author: Lars-Peter Clausen <lars@metafoo.de>
 *
 * Licensed under the GPL-2.
 */

#ifndef __SOUND_SOC_CODECS_ADAU1977_H__
#define __SOUND_SOC_CODECS_ADAU1977_H__

#include <linux/regmap.h>

struct device;

enum adau1977_type {
	ADAU1977,
	ADAU1978,
	ADAU1979,
};

int adau1977_probe(struct device *dev, struct regmap *regmap,
	enum adau1977_type type, void (*switch_mode)(struct device *dev));

extern const struct regmap_config adau1977_regmap_config;

enum adau1977_clk_id {
	ADAU1977_SYSCLK,
};

enum adau1977_sysclk_src {
	ADAU1977_SYSCLK_SRC_MCLK,
	ADAU1977_SYSCLK_SRC_LRCLK,
};

#endif
'><img src='/cgit.png' alt='cgit logo'/></a></td>
<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='dfef358bd1beb4e7b5c94eca944be9cd23dfc752'/><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=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/clock/r8a7740-clock.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/clock/r8a7740-clock.h?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/clock/r8a7740-clock.h?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/clock/r8a7740-clock.h?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/clock/r8a7740-clock.h'>
<input type='hidden' name='id' value='dfef358bd1beb4e7b5c94eca944be9cd23dfc752'/><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=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/clock?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>clock</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/clock/r8a7740-clock.h?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752'>r8a7740-clock.h</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/include/dt-bindings/clock/r8a7740-clock.h?id=dfef358bd1beb4e7b5c94eca944be9cd23dfc752&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>