mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Robert Jarzmik](/assets/img/avatar_default.png)
The WM9705, WM9712 and WM9713 are highly integrated codecs, with an audio codec, DAC and ADC, GPIO unit and a touchscreen interface. Historically the support was spread across drivers/input/touchscreen and sound/soc/codecs. The sharing was done through ac97 bus sharing. This model will not withstand the new AC97 bus model, where codecs are discovered on runtime. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
25 lines
576 B
C
25 lines
576 B
C
/*
|
|
* wm97xx client interface
|
|
*
|
|
* Copyright (C) 2017 Robert Jarzmik
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef __LINUX_MFD_WM97XX_H
|
|
#define __LINUX_MFD_WM97XX_H
|
|
|
|
struct regmap;
|
|
struct wm97xx_batt_pdata;
|
|
struct snd_ac97;
|
|
|
|
struct wm97xx_platform_data {
|
|
struct snd_ac97 *ac97;
|
|
struct regmap *regmap;
|
|
struct wm97xx_batt_pdata *batt_pdata;
|
|
};
|
|
|
|
#endif
|