1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright 2008 Simtec Electronics 4 * http://armlinux.simtec.co.uk/ 5 * Ben Dooks <ben@simtec.co.uk> 6 * 7 * Simtec Audio support. 8*/ 9 10/** 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 18 */ 19struct s3c24xx_audio_simtec_pdata { 20 unsigned int use_mpllin:1; 21 unsigned int output_cdclk:1; 22 23 unsigned int have_mic:1; 24 unsigned int have_lout:1; 25 26 int amp_gpio; 27 int amp_gain[2]; 28 29 void (*startup)(void); 30}; 31