1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __DRIVERS_I2C_MAX98396_CHIP_H__ 4 #define __DRIVERS_I2C_MAX98396_CHIP_H__ 5 6 /* 7 * Maxim MAX98396 audio codec devicetree bindings 8 */ 9 10 #include <stdint.h> 11 12 struct drivers_i2c_max98396_config { 13 /* I2C Bus Frequency in Hertz (default 400kHz) */ 14 uint32_t bus_speed; 15 /* Identifier for chips */ 16 uint32_t uid; 17 /* Device Description */ 18 const char *desc; 19 /* ACPI Device Name */ 20 const char *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; 29 }; 30 31 #endif /* __DRIVERS_I2C_MAX98396_CHIP_H__ */ 32