/* * Mediatek MT6797 audio driver interconnection definition * * Copyright (c) 2018 MediaTek Inc. * Author: KaiChieh Chuang * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _MT6797_INTERCONNECTION_H_ #define _MT6797_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