1 /* 2 * Mediatek MT6797 audio driver interconnection definition 3 * 4 * Copyright (c) 2018 MediaTek Inc. 5 * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 and 9 * only version 2 as published by the Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 */ 16 17 #ifndef _MT6797_INTERCONNECTION_H_ 18 #define _MT6797_INTERCONNECTION_H_ 19 20 #define I_I2S0_CH1 0 21 #define I_I2S0_CH2 1 22 #define I_ADDA_UL_CH1 3 23 #define I_ADDA_UL_CH2 4 24 #define I_DL1_CH1 5 25 #define I_DL1_CH2 6 26 #define I_DL2_CH1 7 27 #define I_DL2_CH2 8 28 #define I_PCM_1_CAP_CH1 9 29 #define I_GAIN1_OUT_CH1 10 30 #define I_GAIN1_OUT_CH2 11 31 #define I_GAIN2_OUT_CH1 12 32 #define I_GAIN2_OUT_CH2 13 33 #define I_PCM_2_CAP_CH1 14 34 #define I_PCM_2_CAP_CH2 21 35 #define I_PCM_1_CAP_CH2 22 36 #define I_DL3_CH1 23 37 #define I_DL3_CH2 24 38 #define I_I2S2_CH1 25 39 #define I_I2S2_CH2 26 40 41 #endif 42