mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 01:24:30 +07:00
6ff62eedce
For some CPU/CODEC DAI devices the slot information maybe needed. This patch adds the slot information parsing for simple-card driver. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
37 lines
764 B
C
37 lines
764 B
C
/*
|
|
* ASoC simple sound card support
|
|
*
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
*
|
|
* 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 __SIMPLE_CARD_H
|
|
#define __SIMPLE_CARD_H
|
|
|
|
#include <sound/soc.h>
|
|
|
|
struct asoc_simple_dai {
|
|
const char *name;
|
|
unsigned int fmt;
|
|
unsigned int sysclk;
|
|
int slots;
|
|
int slot_width;
|
|
};
|
|
|
|
struct asoc_simple_card_info {
|
|
const char *name;
|
|
const char *card;
|
|
const char *codec;
|
|
const char *platform;
|
|
|
|
unsigned int daifmt;
|
|
struct asoc_simple_dai cpu_dai;
|
|
struct asoc_simple_dai codec_dai;
|
|
};
|
|
|
|
#endif /* __SIMPLE_CARD_H */
|