Commit 71cfc902 authored by Mark Brown's avatar Mark Brown

ASoC: Add WM8728 codec driver

The WM8728 is a high performance stereo DAC designed for applications
such as DVD, home theatre and digital TV.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2bef9010
......@@ -13,6 +13,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_UDA1380 if I2C
select SND_SOC_WM8510 if (I2C || SPI_MASTER)
select SND_SOC_WM8580 if I2C
select SND_SOC_WM8728 if (I2C || SPI_MASTER)
select SND_SOC_WM8731 if (I2C || SPI_MASTER)
select SND_SOC_WM8750 if (I2C || SPI_MASTER)
select SND_SOC_WM8753 if (I2C || SPI_MASTER)
......@@ -93,6 +94,9 @@ config SND_SOC_WM8510
config SND_SOC_WM8580
tristate
config SND_SOC_WM8728
tristate
config SND_SOC_WM8731
tristate
......
......@@ -11,6 +11,7 @@ snd-soc-twl4030-objs := twl4030.o
snd-soc-uda1380-objs := uda1380.o
snd-soc-wm8510-objs := wm8510.o
snd-soc-wm8580-objs := wm8580.o
snd-soc-wm8728-objs := wm8728.o
snd-soc-wm8731-objs := wm8731.o
snd-soc-wm8750-objs := wm8750.o
snd-soc-wm8753-objs := wm8753.o
......@@ -34,6 +35,7 @@ obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o
obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o
obj-$(CONFIG_SND_SOC_WM8510) += snd-soc-wm8510.o
obj-$(CONFIG_SND_SOC_WM8580) += snd-soc-wm8580.o
obj-$(CONFIG_SND_SOC_WM8728) += snd-soc-wm8728.o
obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
obj-$(CONFIG_SND_SOC_WM8750) += snd-soc-wm8750.o
obj-$(CONFIG_SND_SOC_WM8753) += snd-soc-wm8753.o
......
This diff is collapsed.
/*
* wm8728.h -- WM8728 ASoC codec driver
*
* Copyright 2008 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* 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 _WM8728_H
#define _WM8728_H
#define WM8728_DACLVOL 0x00
#define WM8728_DACRVOL 0x01
#define WM8728_DACCTL 0x02
#define WM8728_IFCTL 0x03
struct wm8728_setup_data {
int spi;
int i2c_bus;
unsigned short i2c_address;
};
extern struct snd_soc_dai wm8728_dai;
extern struct snd_soc_codec_device soc_codec_dev_wm8728;
#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