Merge tag 'memblock-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt...
[linux-block.git] / include / linux / platform_data / asoc-s3c24xx_simtec.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
c3c125e2 2/*
14412acd
BD
3 * Copyright 2008 Simtec Electronics
4 * http://armlinux.simtec.co.uk/
5 * Ben Dooks <ben@simtec.co.uk>
6 *
14412acd
BD
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};