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