mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / i2c / max98396 / chip.h
blob7a1c1188cfe4ada6fc4658eba85e4ec83b9a13ec
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_I2C_MAX98396_CHIP_H__
4 #define __DRIVERS_I2C_MAX98396_CHIP_H__
6 /*
7 * Maxim MAX98396 audio codec devicetree bindings
8 */
10 #include <stdint.h>
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;
31 #endif /* __DRIVERS_I2C_MAX98396_CHIP_H__ */