1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Calculation of gpio based irq.
8 * Gpio banks ordering : GPSW, GPNC, GPEC, GPSE
9 * Max direct irq (MAX_DIRECT_IRQ) is 114.
10 * Size of gpio banks are
17 /* Audio: Gpio index in SW bank */
18 #define JACK_DETECT_GPIO_INDEX 77
20 /* SCI: Gpio index in N bank */
21 #define BOARD_SCI_GPIO_INDEX 15
25 #define AUDIO_CODEC_HID "10EC5670"
26 #define AUDIO_CODEC_CID "10EC5670"
27 #define AUDIO_CODEC_DDN "RTEK Codec Controller "
28 #define AUDIO_CODEC_I2C_ADDR 0x1C
30 #define BCRD2_PMIC_I2C_BUS 0x01