Commit bd6d4177 authored by Mike Arthur's avatar Mike Arthur Committed by Mark Brown

ASoC: Add WM8711 CODEC driver

The WM8711 or WM8711L (WM8711/L) is a low power stereo DAC with an
integrated headphone driver. The WM8711/L is designed specifically for
portable MP3 audio and speech players. The WM8711/L is also ideal for
MD, CD machines and DAT players.
Signed-off-by: default avatarMike Arthur <Mike.Arthur@wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 07a2039b
...@@ -29,6 +29,7 @@ config SND_SOC_ALL_CODECS ...@@ -29,6 +29,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_WM8400 if MFD_WM8400 select SND_SOC_WM8400 if MFD_WM8400
select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
select SND_SOC_WM8580 if I2C select SND_SOC_WM8580 if I2C
select SND_SOC_WM8711 if I2C
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
...@@ -120,6 +121,9 @@ config SND_SOC_WM8510 ...@@ -120,6 +121,9 @@ config SND_SOC_WM8510
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
......
...@@ -17,6 +17,7 @@ snd-soc-wm8350-objs := wm8350.o ...@@ -17,6 +17,7 @@ snd-soc-wm8350-objs := wm8350.o
snd-soc-wm8400-objs := wm8400.o snd-soc-wm8400-objs := wm8400.o
snd-soc-wm8510-objs := wm8510.o snd-soc-wm8510-objs := wm8510.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
...@@ -48,6 +49,7 @@ obj-$(CONFIG_SND_SOC_WM8350) += snd-soc-wm8350.o ...@@ -48,6 +49,7 @@ obj-$(CONFIG_SND_SOC_WM8350) += snd-soc-wm8350.o
obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o 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_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
......
This diff is collapsed.
/*
* 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment