1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef __DRIVERS_I2C_MAX98390_CHIP_H__ 4 #define __DRIVERS_I2C_MAX98390_CHIP_H__ 5 6 /* 7 * MAXIM MAX98390 audio codec devicetree bindings 8 */ 9 10 struct drivers_i2c_max98390_config { 11 const char *name; /* ACPI Device Name */ 12 const char *desc; /* Device Description */ 13 unsigned int uid; /* ACPI _UID */ 14 15 /* The VPD key of calibrated speaker resistance. */ 16 const char *r0_calib_key; 17 /* The VPD key of temperature during speaker calibration. */ 18 const char *temperature_calib_key; 19 const char *dsm_param_file_name; 20 /* slot number where voltage feedback will be received */ 21 uint32_t vmon_slot_no; 22 /* slot number where current feedback will be received */ 23 uint32_t imon_slot_no; 24 }; 25 26 #endif /* __DRIVERS_I2C_MAX98390_CHIP_H__ */ 27