diff options
author | Shunli Wang <shunli.wang@mediatek.com> | 2019-01-22 07:39:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-25 19:05:10 +0100 |
commit | a94aec035a122bf6d1a05b14f02f34c34b99506a (patch) | |
tree | 20f607e6754e53300d9afe794c3716bbb2712476 /sound/soc/mediatek/mt8183/mt8183-interconnection.h | |
parent | ASoC: Intel: make const arrays static, reduces object code size (diff) | |
download | linux-a94aec035a122bf6d1a05b14f02f34c34b99506a.tar.xz linux-a94aec035a122bf6d1a05b14f02f34c34b99506a.zip |
ASoC: mediatek: mt8183: add platform driver
add mt8183 audio platform and affiliated drivers.
Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8183/mt8183-interconnection.h')
-rw-r--r-- | sound/soc/mediatek/mt8183/mt8183-interconnection.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt8183/mt8183-interconnection.h b/sound/soc/mediatek/mt8183/mt8183-interconnection.h new file mode 100644 index 000000000000..6332f5f3e987 --- /dev/null +++ b/sound/soc/mediatek/mt8183/mt8183-interconnection.h @@ -0,0 +1,33 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Mediatek MT8183 audio driver interconnection definition + * + * Copyright (c) 2018 MediaTek Inc. + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com> + */ + +#ifndef _MT8183_INTERCONNECTION_H_ +#define _MT8183_INTERCONNECTION_H_ + +#define I_I2S0_CH1 0 +#define I_I2S0_CH2 1 +#define I_ADDA_UL_CH1 3 +#define I_ADDA_UL_CH2 4 +#define I_DL1_CH1 5 +#define I_DL1_CH2 6 +#define I_DL2_CH1 7 +#define I_DL2_CH2 8 +#define I_PCM_1_CAP_CH1 9 +#define I_GAIN1_OUT_CH1 10 +#define I_GAIN1_OUT_CH2 11 +#define I_GAIN2_OUT_CH1 12 +#define I_GAIN2_OUT_CH2 13 +#define I_PCM_2_CAP_CH1 14 +#define I_PCM_2_CAP_CH2 21 +#define I_PCM_1_CAP_CH2 22 +#define I_DL3_CH1 23 +#define I_DL3_CH2 24 +#define I_I2S2_CH1 25 +#define I_I2S2_CH2 26 + +#endif |