asoc: codecs: Add swr dmic codec

Add initial changes for supporting swr dmic
where each codec can support single mic recording
over soundwire port.

Change-Id: I0319bfb5c850d48b563f46d5dd77f21d4a83f029
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
Karthikeyan Mani
2019-11-25 17:47:35 -08:00
کامیت شده توسط Sudheer Papothi
والد f6b14a755d
کامیت daef08854a
3فایلهای تغییر یافته به همراه742 افزوده شده و 0 حذف شده

17
asoc/codecs/swr-dmic.h Normal file
مشاهده پرونده

@@ -0,0 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _SWR_DMIC_H
#define _SWR_DMIC_H
#include <sound/soc.h>
#include <sound/info.h>
enum {
SWR_DMIC_HIFI_PORT = 0,
SWR_DMIC_LP_PORT,
SWR_DMIC_MAX_PORTS,
};
#endif /* _SWR_DMIC_H */