mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a5c6951c49
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>
26 lines
576 B
C
26 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
|