soc/mediatek/mt8196: Initialize SSPM
[coreboot2.git] / src / drivers / i2c / rt5663 / chip.h
blob1c177b363b0a18fe119d3b490b97df1d1f63d59c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /*
4 * Realtek RT5663 audio codec devicetree bindings
5 */
7 #ifndef __DRIVERS_I2C_RT5663_CHIP_H__
8 #define __DRIVERS_I2C_RT5663_CHIP_H__
10 #include <acpi/acpi_device.h>
11 #include <stdint.h>
13 struct drivers_i2c_rt5663_config {
14 /* I2C Bus Frequency in Hertz (default 400kHz) */
15 unsigned int bus_speed;
16 /* Identifier for multiple chips */
17 unsigned int uid;
19 /* Allow GPIO based interrupt or PIRQ */
20 struct acpi_gpio irq_gpio;
21 struct acpi_irq irq;
23 /* Manual offset value to compensate DC offset for L/R channels */
24 uint32_t dc_offset_l_manual;
25 uint32_t dc_offset_r_manual;
26 uint32_t dc_offset_l_manual_mic;
27 uint32_t dc_offset_r_manual_mic;
30 #endif /* __DRIVERS_I2C_RT5663_CHIP_H__ */