mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
746 B
C
30 lines
746 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright 2008 Simtec Electronics
|
|
* http://armlinux.simtec.co.uk/
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* Simtec Audio support.
|
|
*/
|
|
|
|
/**
|
|
* struct s3c24xx_audio_simtec_pdata - platform data for simtec audio
|
|
* @use_mpllin: Select codec clock from MPLLin
|
|
* @output_cdclk: Need to output CDCLK to the codec
|
|
* @have_mic: Set if we have a MIC socket
|
|
* @have_lout: Set if we have a LineOut socket
|
|
* @amp_gpio: GPIO pin to enable the AMP
|
|
* @amp_gain: Option GPIO to control AMP gain
|
|
*/
|
|
struct s3c24xx_audio_simtec_pdata {
|
|
unsigned int use_mpllin:1;
|
|
unsigned int output_cdclk:1;
|
|
|
|
unsigned int have_mic:1;
|
|
unsigned int have_lout:1;
|
|
|
|
int amp_gpio;
|
|
int amp_gain[2];
|
|
|
|
void (*startup)(void);
|
|
};
|