1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Realtek RT5663 audio codec devicetree bindings
7 #ifndef __DRIVERS_I2C_RT5663_CHIP_H__
8 #define __DRIVERS_I2C_RT5663_CHIP_H__
10 #include <acpi/acpi_device.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 */
19 /* Allow GPIO based interrupt or PIRQ */
20 struct acpi_gpio irq_gpio
;
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__ */