projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '2020-06-15-misc-bugfixes'
[oweals/u-boot.git]
/
drivers
/
sound
/
max98095.h
diff --git
a/drivers/sound/max98095.h
b/drivers/sound/max98095.h
index ae5eb14dbb4f43447953cba4060cc4e0454a478c..1521f3f02f9f30da6f7e713d552a087fa0f6c879 100644
(file)
--- a/
drivers/sound/max98095.h
+++ b/
drivers/sound/max98095.h
@@
-1,16
+1,21
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* max98095.h -- MAX98095 ALSA SoC Audio driver
*
* Copyright 2011 Maxim Integrated Products
/*
* max98095.h -- MAX98095 ALSA SoC Audio driver
*
* Copyright 2011 Maxim Integrated Products
- *
- * 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.
*/
#ifndef _MAX98095_H
#define _MAX98095_H
*/
#ifndef _MAX98095_H
#define _MAX98095_H
+#include "maxim_codec.h"
+
+/* Available audio interface ports in wm8994 codec */
+enum en_max_audio_interface {
+ AIF1,
+ AIF2,
+};
+
/*
* MAX98095 Registers Definition
*/
/*
* MAX98095 Registers Definition
*/
@@
-305,7
+310,7
@@
*
* @returns -1 for error and 0 Success.
*/
*
* @returns -1 for error and 0 Success.
*/
-int max98095_init(const void *blob,
int sampling_rate, int mclk_freq
,
-
int bits_per_sample);
+int max98095_init(const void *blob,
enum en_max_audio_interface aif_id
,
+
int sampling_rate, int mclk_freq,
int bits_per_sample);
#endif
#endif