cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sof_realtek_common.h (1400B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright(c) 2020 Intel Corporation.
      4 */
      5
      6/*
      7 * This file defines data structures used in Machine Driver for Intel
      8 * platforms with Realtek Codecs.
      9 */
     10#ifndef __SOF_REALTEK_COMMON_H
     11#define __SOF_REALTEK_COMMON_H
     12
     13#include <sound/soc.h>
     14
     15#define RT1011_CODEC_DAI	"rt1011-aif"
     16#define RT1011_DEV0_NAME	"i2c-10EC1011:00"
     17#define RT1011_DEV1_NAME	"i2c-10EC1011:01"
     18#define RT1011_DEV2_NAME	"i2c-10EC1011:02"
     19#define RT1011_DEV3_NAME	"i2c-10EC1011:03"
     20
     21void sof_rt1011_dai_link(struct snd_soc_dai_link *link);
     22void sof_rt1011_codec_conf(struct snd_soc_card *card);
     23
     24#define RT1015P_CODEC_DAI	"HiFi"
     25#define RT1015P_DEV0_NAME	"RTL1015:00"
     26#define RT1015P_DEV1_NAME	"RTL1015:01"
     27
     28void sof_rt1015p_dai_link(struct snd_soc_dai_link *link);
     29void sof_rt1015p_codec_conf(struct snd_soc_card *card);
     30
     31#define RT1015_CODEC_DAI	"rt1015-aif"
     32#define RT1015_DEV0_NAME	"i2c-10EC1015:00"
     33#define RT1015_DEV1_NAME	"i2c-10EC1015:01"
     34
     35void sof_rt1015_dai_link(struct snd_soc_dai_link *link, unsigned int fs);
     36void sof_rt1015_codec_conf(struct snd_soc_card *card);
     37
     38#define RT1308_CODEC_DAI	"rt1308-aif"
     39#define RT1308_DEV0_NAME	"i2c-10EC1308:00"
     40void sof_rt1308_dai_link(struct snd_soc_dai_link *link);
     41
     42#define RT1019_CODEC_DAI	"HiFi"
     43#define RT1019_DEV0_NAME	"RTL1019:00"
     44
     45void sof_rt1019_dai_link(struct snd_soc_dai_link *link);
     46
     47#endif /* __SOF_REALTEK_COMMON_H */