/* * wm8960.h -- WM8960 Soc Audio driver * * 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 _WM8960_H #define _WM8960_H /* WM8960 register space */ #define WM8960_CACHEREGNUM 56 #define WM8960_LINVOL 0x0 #define WM8960_RINVOL 0x1 #define WM8960_LOUT1 0x2 #define WM8960_ROUT1 0x3 #define WM8960_CLOCK1 0x4 #define WM8960_DACCTL1 0x5 #define WM8960_DACCTL2 0x6 #define WM8960_IFACE1 0x7 #define WM8960_CLOCK2 0x8 #define WM8960_IFACE2 0x9 #define WM8960_LDAC 0xa #define WM8960_RDAC 0xb #define WM8960_RESET 0xf #define WM8960_3D 0x10 #define WM8960_ALC1 0x11 #define WM8960_ALC2 0x12 #define WM8960_ALC3 0x13 #define WM8960_NOISEG 0x14 #define WM8960_LADC 0x15 #define WM8960_RADC 0x16 #define WM8960_ADDCTL1 0x17 #define WM8960_ADDCTL2 0x18 #define WM8960_POWER1 0x19 #define WM8960_POWER2 0x1a #define WM8960_ADDCTL3 0x1b #define WM8960_APOP1 0x1c #define WM8960_APOP2 0x1d #define WM8960_LINPATH 0x20 #define WM8960_RINPATH 0x21 #define WM8960_LOUTMIX 0x22 #define WM8960_ROUTMIX 0x25 #define WM8960_MONOMIX1 0x26 #define WM8960_MONOMIX2 0x27 #define WM8960_LOUT2 0x28 #define WM8960_ROUT2 0x29 #define WM8960_MONO 0x2a #define WM8960_INBMIX1 0x2b #define WM8960_INBMIX2 0x2c #define WM8960_BYPASS1 0x2d #define WM8960_BYPASS2 0x2e #define WM8960_POWER3 0x2f #define WM8960_ADDCTL4 0x30 #define WM8960_CLASSD1 0x31 #define WM8960_CLASSD3 0x33 #define WM8960_PLL1 0x34 #define WM8960_PLL2 0x35 #define WM8960_PLL3 0x36 #define WM8960_PLL4 0x37 /* * WM8960 Clock dividers */ #define WM8960_SYSCLKDIV 0 #define WM8960_DACDIV 1 #define WM8960_OPCLKDIV 2 #define WM8960_DCLKDIV 3 #define WM8960_TOCLKSEL 4 #define WM8960_SYSCLK_DIV_1 (0 << 1) #define WM8960_SYSCLK_DIV_2 (2 << 1) #define WM8960_SYSCLK_MCLK (0 << 0) #define WM8960_SYSCLK_PLL (1 << 0) #define WM8960_SYSCLK_AUTO (2 << 0) #define WM8960_DAC_DIV_1 (0 << 3) #define WM8960_DAC_DIV_1_5 (1 << 3) #define WM8960_DAC_DIV_2 (2 << 3) #define WM8960_DAC_DIV_3 (3 << 3) #define WM8960_DAC_DIV_4 (4 << 3) #define WM8960_DAC_DIV_5_5 (5 << 3) #define WM8960_DAC_DIV_6 (6 << 3) #define WM8960_DCLK_DIV_1_5 (0 << 6) #define WM8960_DCLK_DIV_2 (1 << 6) #define WM8960_DCLK_DIV_3 (2 << 6) #define WM8960_DCLK_DIV_4 (3 << 6) #define WM8960_DCLK_DIV_6 (4 << 6) #define WM8960_DCLK_DIV_8 (5 << 6) #define WM8960_DCLK_DIV_12 (6 << 6) #define WM8960_DCLK_DIV_16 (7 << 6) #define WM8960_TOCLK_F19 (0 << 1) #define WM8960_TOCLK_F21 (1 << 1) #define WM8960_OPCLK_DIV_1 (0 << 0) #define WM8960_OPCLK_DIV_2 (1 << 0) #define WM8960_OPCLK_DIV_3 (2 << 0) #define WM8960_OPCLK_DIV_4 (3 << 0) #define WM8960_OPCLK_DIV_5_5 (4 << 0) #define WM8960_OPCLK_DIV_6 (5 << 0) #endif -next.git/commit/sound?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/pcm3168a-spi.c?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>pcm3168a-spi.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='9b02c54bc951fca884ba5719f42a27e8240965bf'/><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><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Markus Mayer <mmayer@broadcom.com></td><td class='right'>2016-12-19 12:10:27 -0800</td></tr> <tr><th>committer</th><td>Rafael J. Wysocki <rafael.j.wysocki@intel.com></td><td class='right'>2017-01-27 11:43:48 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/pcm3168a-spi.c?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>9b02c54bc951fca884ba5719f42a27e8240965bf</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/soc/codecs/pcm3168a-spi.c?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>68292e54c6d3482d6b55fc31b3ab9519307b255a</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/pcm3168a-spi.c?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>sound/soc/codecs/pcm3168a-spi.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/pcm3168a-spi.c?id=7a308bb3016f57e5be11a677d15b821536419d36'>7a308bb3016f57e5be11a677d15b821536419d36</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/pcm3168a-spi.c?id=9b02c54bc951fca884ba5719f42a27e8240965bf&id2=7a308bb3016f57e5be11a677d15b821536419d36'>diff</a>)</td></tr></table> <div class='commit-subject'>cpufreq: brcmstb-avs-cpufreq: extend sysfs entry brcm_avs_pmap</div><div class='commit-msg'>We extend the brcm_avs_pmap sysfs entry (which issues the GET_PMAP command to AVS) to include all fields from struct pmap. This means adding mode (AVS, DVS, DVFS) and state (the P-state) to the output. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=9b02c54bc951fca884ba5719f42a27e8240965bf'>Diffstat</a> (limited to 'sound/soc/codecs/pcm3168a-spi.c')</div><table summary='diffstat' class='diffstat'>