mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
2874c5fd28
Based on 1 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 as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
707 B
C
30 lines
707 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* DA9055 ALSA Soc codec driver
|
|
*
|
|
* Copyright (c) 2012 Dialog Semiconductor
|
|
*
|
|
* Tested on (Samsung SMDK6410 board + DA9055 EVB) using I2S and I2C
|
|
* Written by David Chen <david.chen@diasemi.com> and
|
|
* Ashish Chavan <ashish.chavan@kpitcummins.com>
|
|
*/
|
|
|
|
#ifndef __SOUND_DA9055_H__
|
|
#define __SOUND_DA9055_H__
|
|
|
|
enum da9055_micbias_voltage {
|
|
DA9055_MICBIAS_1_6V = 0,
|
|
DA9055_MICBIAS_1_8V = 1,
|
|
DA9055_MICBIAS_2_1V = 2,
|
|
DA9055_MICBIAS_2_2V = 3,
|
|
};
|
|
|
|
struct da9055_platform_data {
|
|
/* Selects which of the two MicBias pins acts as the bias source */
|
|
bool micbias_source;
|
|
/* Selects the micbias voltage */
|
|
enum da9055_micbias_voltage micbias;
|
|
};
|
|
|
|
#endif
|