wm8731.c (d00efa648d3c78ba212f08facf0defdff385dc28) wm8731.c (ef38ed888eee33af93a006db6e337d71320dfa2b)
1/*
2 * wm8731.c -- WM8731 ALSA SoC Audio driver
3 *
4 * Copyright 2005 Openedhand Ltd.
5 *
6 * Author: Richard Purdie <richard@openedhand.com>
7 *
8 * Based on wm8753.c by Liam Girdwood

--- 116 unchanged lines hidden (view full) ---

125SOC_DOUBLE_R("Master Playback ZC Switch", WM8731_LOUT1V, WM8731_ROUT1V,
126 7, 1, 0),
127
128SOC_DOUBLE_R_TLV("Capture Volume", WM8731_LINVOL, WM8731_RINVOL, 0, 31, 0,
129 in_tlv),
130SOC_DOUBLE_R("Line Capture Switch", WM8731_LINVOL, WM8731_RINVOL, 7, 1, 1),
131
132SOC_SINGLE("Mic Boost (+20dB)", WM8731_APANA, 0, 1, 0),
1/*
2 * wm8731.c -- WM8731 ALSA SoC Audio driver
3 *
4 * Copyright 2005 Openedhand Ltd.
5 *
6 * Author: Richard Purdie <richard@openedhand.com>
7 *
8 * Based on wm8753.c by Liam Girdwood

--- 116 unchanged lines hidden (view full) ---

125SOC_DOUBLE_R("Master Playback ZC Switch", WM8731_LOUT1V, WM8731_ROUT1V,
126 7, 1, 0),
127
128SOC_DOUBLE_R_TLV("Capture Volume", WM8731_LINVOL, WM8731_RINVOL, 0, 31, 0,
129 in_tlv),
130SOC_DOUBLE_R("Line Capture Switch", WM8731_LINVOL, WM8731_RINVOL, 7, 1, 1),
131
132SOC_SINGLE("Mic Boost (+20dB)", WM8731_APANA, 0, 1, 0),
133SOC_SINGLE("Capture Mic Switch", WM8731_APANA, 1, 1, 1),
133SOC_SINGLE("Mic Capture Switch", WM8731_APANA, 1, 1, 1),
134
135SOC_SINGLE_TLV("Sidetone Playback Volume", WM8731_APANA, 6, 3, 1,
136 sidetone_tlv),
137
138SOC_SINGLE("ADC High Pass Filter Switch", WM8731_APDIGI, 0, 1, 1),
139SOC_SINGLE("Store DC Offset Switch", WM8731_APDIGI, 4, 1, 0),
140
141SOC_ENUM("Playback De-emphasis", wm8731_enum[1]),

--- 686 unchanged lines hidden ---
134
135SOC_SINGLE_TLV("Sidetone Playback Volume", WM8731_APANA, 6, 3, 1,
136 sidetone_tlv),
137
138SOC_SINGLE("ADC High Pass Filter Switch", WM8731_APDIGI, 0, 1, 1),
139SOC_SINGLE("Store DC Offset Switch", WM8731_APDIGI, 4, 1, 0),
140
141SOC_ENUM("Playback De-emphasis", wm8731_enum[1]),

--- 686 unchanged lines hidden ---