1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2008 Simtec Electronics
4 * http://armlinux.simtec.co.uk/
5 * Ben Dooks <ben@simtec.co.uk>
7 * Simtec Audio support.
11 * struct s3c24xx_audio_simtec_pdata - platform data for simtec audio
12 * @use_mpllin: Select codec clock from MPLLin
13 * @output_cdclk: Need to output CDCLK to the codec
14 * @have_mic: Set if we have a MIC socket
15 * @have_lout: Set if we have a LineOut socket
16 * @amp_gpio: GPIO pin to enable the AMP
17 * @amp_gain: Option GPIO to control AMP gain
19 struct s3c24xx_audio_simtec_pdata {
20 unsigned int use_mpllin:1;
21 unsigned int output_cdclk:1;
23 unsigned int have_mic:1;
24 unsigned int have_lout:1;
29 void (*startup)(void);