1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_I2C_MAX98396_CHIP_H__
4 #define __DRIVERS_I2C_MAX98396_CHIP_H__
7 * Maxim MAX98396 audio codec devicetree bindings
12 struct drivers_i2c_max98396_config
{
13 /* I2C Bus Frequency in Hertz (default 400kHz) */
15 /* Identifier for chips */
17 /* Device Description */
19 /* ACPI Device Name */
21 /* slot number where voltage feedback will be received */
22 uint32_t vmon_slot_no
;
23 /* slot number where current feedback will be received */
24 uint32_t imon_slot_no
;
25 /* slot number of speaker DSP monitor */
26 uint32_t spkfb_slot_no
;
27 /* Use GPIO based reset gpio */
28 struct acpi_gpio reset_gpio
;
31 #endif /* __DRIVERS_I2C_MAX98396_CHIP_H__ */