Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
54643897
Commit
54643897
authored
Jun 17, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm8994' into asoc-next
parents
f57019aa
2da1c4bf
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
161 additions
and
43 deletions
+161
-43
include/linux/mfd/wm8994/pdata.h
include/linux/mfd/wm8994/pdata.h
+5
-0
include/linux/mfd/wm8994/registers.h
include/linux/mfd/wm8994/registers.h
+8
-0
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.c
+145
-43
sound/soc/codecs/wm8994.h
sound/soc/codecs/wm8994.h
+3
-0
No files found.
include/linux/mfd/wm8994/pdata.h
View file @
54643897
...
...
@@ -182,6 +182,11 @@ struct wm8994_pdata {
*/
int
micdet_delay
;
/* Delay between microphone detect completing and reporting on
* insert (specified in ms)
*/
int
mic_id_delay
;
/* IRQ for microphone detection if brought out directly as a
* signal.
*/
...
...
include/linux/mfd/wm8994/registers.h
View file @
54643897
...
...
@@ -2668,6 +2668,10 @@
/*
* R772 (0x304) - AIF1ADC LRCLK
*/
#define WM8958_AIF1_LRCLK_INV 0x1000
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_MASK 0x1000
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_SHIFT 12
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_WIDTH 1
/* AIF1_LRCLK_INV */
#define WM8994_AIF1ADC_LRCLK_DIR 0x0800
/* AIF1ADC_LRCLK_DIR */
#define WM8994_AIF1ADC_LRCLK_DIR_MASK 0x0800
/* AIF1ADC_LRCLK_DIR */
#define WM8994_AIF1ADC_LRCLK_DIR_SHIFT 11
/* AIF1ADC_LRCLK_DIR */
...
...
@@ -2679,6 +2683,10 @@
/*
* R773 (0x305) - AIF1DAC LRCLK
*/
#define WM8958_AIF1_LRCLK_INV 0x1000
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_MASK 0x1000
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_SHIFT 12
/* AIF1_LRCLK_INV */
#define WM8958_AIF1_LRCLK_INV_WIDTH 1
/* AIF1_LRCLK_INV */
#define WM8994_AIF1DAC_LRCLK_DIR 0x0800
/* AIF1DAC_LRCLK_DIR */
#define WM8994_AIF1DAC_LRCLK_DIR_MASK 0x0800
/* AIF1DAC_LRCLK_DIR */
#define WM8994_AIF1DAC_LRCLK_DIR_SHIFT 11
/* AIF1DAC_LRCLK_DIR */
...
...
sound/soc/codecs/wm8994.c
View file @
54643897
This diff is collapsed.
Click to expand it.
sound/soc/codecs/wm8994.h
View file @
54643897
...
...
@@ -134,6 +134,9 @@ struct wm8994_priv {
struct
mutex
accdet_lock
;
struct
wm8994_micdet
micdet
[
2
];
struct
delayed_work
mic_work
;
struct
delayed_work
open_circuit_work
;
struct
delayed_work
mic_complete_work
;
u16
mic_status
;
bool
mic_detecting
;
bool
jack_mic
;
int
btn_mask
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment