/* * Definitions for CS4271 ASoC codec driver * * Copyright (c) 2010 Alexander Sverdlin <subaparts@yandex.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef __CS4271_H #define __CS4271_H struct cs4271_platform_data { int gpio_nreset; /* GPIO driving Reset pin, if any */ bool amutec_eq_bmutec; /* flag to enable AMUTEC=BMUTEC */ /* * The CS4271 requires its LRCLK and MCLK to be stable before its RESET * line is de-asserted. That also means that clocks cannot be changed * without putting the chip back into hardware reset, which also requires * a complete re-initialization of all registers. * * One (undocumented) workaround is to assert and de-assert the PDN bit * in the MODE2 register. This workaround can be enabled with the * following flag. * * Note that this is not needed in case the clocks are stable * throughout the entire runtime of the codec. */ bool enable_soft_reset; }; #endif /* __CS4271_H */ > <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=75422726b0f717d67db3283c2eb5bc14fa2619c5'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/?id=75422726b0f717d67db3283c2eb5bc14fa2619c5'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/?id=75422726b0f717d67db3283c2eb5bc14fa2619c5'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/?id=75422726b0f717d67db3283c2eb5bc14fa2619c5'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/'> <input type='hidden' name='id' value='75422726b0f717d67db3283c2eb5bc14fa2619c5'/><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='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='75422726b0f717d67db3283c2eb5bc14fa2619c5'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=75422726b0f717d67db3283c2eb5bc14fa2619c5'>Diffstat</a></div><table summary='diffstat' class='diffstat'>