Commit 5c6af635 authored by Mark Brown's avatar Mark Brown

ASoC: wm5110: Add audio CODEC driver

The WM5110 is a highly integrated low power audio subsystem for
smartphones, tablets and other portable audio devices. It combines
an advanced DSP feature set with a flexible, high performance audio
hub CODEC.

This patch adds the audio CODEC driver for the device.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f96985e3
...@@ -75,6 +75,7 @@ config SND_SOC_ALL_CODECS ...@@ -75,6 +75,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_WM2200 if I2C select SND_SOC_WM2200 if I2C
select SND_SOC_WM5100 if I2C select SND_SOC_WM5100 if I2C
select SND_SOC_WM5102 if MFD_WM5102 select SND_SOC_WM5102 if MFD_WM5102
select SND_SOC_WM5110 if MFD_WM5110
select SND_SOC_WM8350 if MFD_WM8350 select SND_SOC_WM8350 if MFD_WM8350
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
...@@ -134,7 +135,9 @@ config SND_SOC_88PM860X ...@@ -134,7 +135,9 @@ config SND_SOC_88PM860X
config SND_SOC_ARIZONA config SND_SOC_ARIZONA
tristate tristate
default y if SND_SOC_WM5102=y default y if SND_SOC_WM5102=y
default y if SND_SOC_WM5110=y
default m if SND_SOC_WM5102=m default m if SND_SOC_WM5102=m
default m if SND_SOC_WM5110=m
config SND_SOC_WM_HUBS config SND_SOC_WM_HUBS
tristate tristate
...@@ -338,6 +341,9 @@ config SND_SOC_WM5100 ...@@ -338,6 +341,9 @@ config SND_SOC_WM5100
config SND_SOC_WM5102 config SND_SOC_WM5102
tristate tristate
config SND_SOC_WM5110
tristate
config SND_SOC_WM8350 config SND_SOC_WM8350
tristate tristate
......
...@@ -66,6 +66,7 @@ snd-soc-wm2000-objs := wm2000.o ...@@ -66,6 +66,7 @@ snd-soc-wm2000-objs := wm2000.o
snd-soc-wm2200-objs := wm2200.o snd-soc-wm2200-objs := wm2200.o
snd-soc-wm5100-objs := wm5100.o wm5100-tables.o snd-soc-wm5100-objs := wm5100.o wm5100-tables.o
snd-soc-wm5102-objs := wm5102.o snd-soc-wm5102-objs := wm5102.o
snd-soc-wm5110-objs := wm5110.o
snd-soc-wm8350-objs := wm8350.o 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
...@@ -181,6 +182,7 @@ obj-$(CONFIG_SND_SOC_WM2000) += snd-soc-wm2000.o ...@@ -181,6 +182,7 @@ obj-$(CONFIG_SND_SOC_WM2000) += snd-soc-wm2000.o
obj-$(CONFIG_SND_SOC_WM2200) += snd-soc-wm2200.o obj-$(CONFIG_SND_SOC_WM2200) += snd-soc-wm2200.o
obj-$(CONFIG_SND_SOC_WM5100) += snd-soc-wm5100.o obj-$(CONFIG_SND_SOC_WM5100) += snd-soc-wm5100.o
obj-$(CONFIG_SND_SOC_WM5102) += snd-soc-wm5102.o obj-$(CONFIG_SND_SOC_WM5102) += snd-soc-wm5102.o
obj-$(CONFIG_SND_SOC_WM5110) += snd-soc-wm5110.o
obj-$(CONFIG_SND_SOC_WM8350) += snd-soc-wm8350.o 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
......
This diff is collapsed.
/*
* wm5110.h -- WM5110 ALSA SoC Audio driver
*
* Copyright 2012 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 _WM5110_H
#define _WM5110_H
#include "arizona.h"
#define WM5110_FLL1 1
#define WM5110_FLL2 2
#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