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
e0274b0a
Commit
e0274b0a
authored
Sep 21, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upstream/wm8711' into for-2.6.33
parents
d62ab358
b5ab887e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
706 additions
and
0 deletions
+706
-0
sound/soc/codecs/Kconfig
sound/soc/codecs/Kconfig
+4
-0
sound/soc/codecs/Makefile
sound/soc/codecs/Makefile
+2
-0
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8711.c
+658
-0
sound/soc/codecs/wm8711.h
sound/soc/codecs/wm8711.h
+42
-0
No files found.
sound/soc/codecs/Kconfig
View file @
e0274b0a
...
@@ -37,6 +37,7 @@ config SND_SOC_ALL_CODECS
...
@@ -37,6 +37,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8523 if I2C
select SND_SOC_WM8523 if I2C
select SND_SOC_WM8580 if I2C
select SND_SOC_WM8580 if I2C
select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
...
@@ -164,6 +165,9 @@ config SND_SOC_WM8523
...
@@ -164,6 +165,9 @@ config SND_SOC_WM8523
config SND_SOC_WM8580
config SND_SOC_WM8580
tristate
tristate
config SND_SOC_WM8711
tristate
config SND_SOC_WM8728
config SND_SOC_WM8728
tristate
tristate
...
...
sound/soc/codecs/Makefile
View file @
e0274b0a
...
@@ -25,6 +25,7 @@ snd-soc-wm8400-objs := wm8400.o
...
@@ -25,6 +25,7 @@ snd-soc-wm8400-objs := wm8400.o
snd-soc-wm8510-objs
:=
wm8510.o
snd-soc-wm8510-objs
:=
wm8510.o
snd-soc-wm8523-objs
:=
wm8523.o
snd-soc-wm8523-objs
:=
wm8523.o
snd-soc-wm8580-objs
:=
wm8580.o
snd-soc-wm8580-objs
:=
wm8580.o
snd-soc-wm8711-objs
:=
wm8711.o
snd-soc-wm8728-objs
:=
wm8728.o
snd-soc-wm8728-objs
:=
wm8728.o
snd-soc-wm8731-objs
:=
wm8731.o
snd-soc-wm8731-objs
:=
wm8731.o
snd-soc-wm8750-objs
:=
wm8750.o
snd-soc-wm8750-objs
:=
wm8750.o
...
@@ -76,6 +77,7 @@ obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
...
@@ -76,6 +77,7 @@ obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
obj-$(CONFIG_SND_SOC_WM8510)
+=
snd-soc-wm8510.o
obj-$(CONFIG_SND_SOC_WM8510)
+=
snd-soc-wm8510.o
obj-$(CONFIG_SND_SOC_WM8523)
+=
snd-soc-wm8523.o
obj-$(CONFIG_SND_SOC_WM8523)
+=
snd-soc-wm8523.o
obj-$(CONFIG_SND_SOC_WM8580)
+=
snd-soc-wm8580.o
obj-$(CONFIG_SND_SOC_WM8580)
+=
snd-soc-wm8580.o
obj-$(CONFIG_SND_SOC_WM8711)
+=
snd-soc-wm8711.o
obj-$(CONFIG_SND_SOC_WM8728)
+=
snd-soc-wm8728.o
obj-$(CONFIG_SND_SOC_WM8728)
+=
snd-soc-wm8728.o
obj-$(CONFIG_SND_SOC_WM8731)
+=
snd-soc-wm8731.o
obj-$(CONFIG_SND_SOC_WM8731)
+=
snd-soc-wm8731.o
obj-$(CONFIG_SND_SOC_WM8750)
+=
snd-soc-wm8750.o
obj-$(CONFIG_SND_SOC_WM8750)
+=
snd-soc-wm8750.o
...
...
sound/soc/codecs/wm8711.c
0 → 100644
View file @
e0274b0a
This diff is collapsed.
Click to expand it.
sound/soc/codecs/wm8711.h
0 → 100644
View file @
e0274b0a
/*
* wm8711.h -- WM8711 Soc Audio driver
*
* Copyright 2006 Wolfson Microelectronics
*
* Author: Mike Arthur <linux@wolfsonmicro.com>
*
* Based on wm8731.h
*
* 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 _WM8711_H
#define _WM8711_H
/* WM8711 register space */
#define WM8711_LOUT1V 0x02
#define WM8711_ROUT1V 0x03
#define WM8711_APANA 0x04
#define WM8711_APDIGI 0x05
#define WM8711_PWR 0x06
#define WM8711_IFACE 0x07
#define WM8711_SRATE 0x08
#define WM8711_ACTIVE 0x09
#define WM8711_RESET 0x0f
#define WM8711_CACHEREGNUM 8
#define WM8711_SYSCLK 0
#define WM8711_DAI 0
struct
wm8711_setup_data
{
unsigned
short
i2c_address
;
};
extern
struct
snd_soc_dai
wm8711_dai
;
extern
struct
snd_soc_codec_device
soc_codec_dev_wm8711
;
#endif
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