acpi: Add IORT helper functions
[coreboot2.git] / src / drivers / i2c / max98927 / chip.h
blob9311487473bdc62ec219eee60b7d608993aa90a1
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_I2C_MAX98927_CHIP_H__
4 #define __DRIVERS_I2C_MAX98927_CHIP_H__
6 /*
7 * Maxim MAX98927 audio codec devicetree bindings
8 */
9 struct drivers_i2c_max98927_config {
10 /* I2C Bus Frequency in Hertz (default 400kHz) */
11 unsigned int bus_speed;
12 /* Set '1' if I2S channel size is not 32bit. */
13 bool interleave_mode;
14 /* Identifier for chips */
15 unsigned int uid;
16 /* Device Description */
17 const char *desc;
18 /* ACPI Device Name */
19 const char *name;
20 /* slot number where voltage feedback will be received */
21 unsigned int vmon_slot_no;
22 /* slot number where current feedback will be received */
23 unsigned int imon_slot_no;
26 #endif /* __DRIVERS_I2C_MAX98927_CHIP_H__ */