^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * ASoC simple sound card support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright (C) 2012 Renesas Solutions Corp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #ifndef __SIMPLE_CARD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define __SIMPLE_CARD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <sound/soc.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <sound/simple_card_utils.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct asoc_simple_card_info {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) const char *name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) const char *card;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) const char *codec;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) const char *platform;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) unsigned int daifmt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct asoc_simple_dai cpu_dai;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct asoc_simple_dai codec_dai;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* __SIMPLE_CARD_H */