Merge branch '2020-06-15-misc-bugfixes'
[oweals/u-boot.git] / drivers / sound / max98095.h
index ae5eb14dbb4f43447953cba4060cc4e0454a478c..1521f3f02f9f30da6f7e713d552a087fa0f6c879 100644 (file)
@@ -1,16 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * 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
 
+#include "maxim_codec.h"
+
+/*  Available audio interface ports in wm8994 codec */
+enum en_max_audio_interface {
+       AIF1,
+       AIF2,
+};
+
 /*
  * MAX98095 Registers Definition
  */
  *
  * @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