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